Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2018 20:14:02 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r461649 - branches/2018Q1/multimedia/gtk-recordmydesktop
Message-ID:  <201802122014.w1CKE2Jp054024@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Mon Feb 12 20:14:02 2018
New Revision: 461649
URL: https://svnweb.freebsd.org/changeset/ports/461649

Log:
  MFH: r461521
  
  multimedia/gtk-recordmydesktop: fix runtime
  
  - fix runtime by correcting shebang line
  - set LICENSE_FILE
  - set NO_ARCH since this package does not contain platform dependent files
  - seitch to USES=localbase and correct requred python version
  - bump PORTREVISION to reflect package changes
  
  PR:		220800
  Reported by:	timp87@gmail.com
  Approved by:	portmgr (riggs)

Modified:
  branches/2018Q1/multimedia/gtk-recordmydesktop/Makefile
Directory Properties:
  branches/2018Q1/   (props changed)

Modified: branches/2018Q1/multimedia/gtk-recordmydesktop/Makefile
==============================================================================
--- branches/2018Q1/multimedia/gtk-recordmydesktop/Makefile	Mon Feb 12 20:11:25 2018	(r461648)
+++ branches/2018Q1/multimedia/gtk-recordmydesktop/Makefile	Mon Feb 12 20:14:02 2018	(r461649)
@@ -2,7 +2,7 @@
 
 PORTNAME=	gtk-recordmydesktop
 PORTVERSION=	0.3.8
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	multimedia deskutils
 MASTER_SITES=	SF/recordmydesktop/gtk-recordMyDesktop/${PORTVERSION}
 
@@ -10,18 +10,16 @@ MAINTAINER=	rm@FreeBSD.org
 COMMENT=	GTK+ frontend to recordMyDesktop
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-RUN_DEPENDS=	${LOCALBASE}/bin/recordmydesktop:multimedia/recordmydesktop
+RUN_DEPENDS=	recordmydesktop:multimedia/recordmydesktop
 
+NO_ARCH=	yes
 GNU_CONFIGURE=	yes
-USES=		desktop-file-utils gettext gmake pkgconfig python:2
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+USES=		desktop-file-utils gettext gmake localbase pkgconfig \
+		python:2.7 shebangfix
+SHEBANG_FILES=	src/gtk-recordMyDesktop.in
 USE_GNOME=	gtk20 pygtk2
 INSTALL_ICONS=	yes
-
-post-build:
-	@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
-		${WRKSRC}/src/gtk-recordMyDesktop
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802122014.w1CKE2Jp054024>