Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2018 19:41:30 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461521 - head/multimedia/gtk-recordmydesktop
Message-ID:  <201802111941.w1BJfUoR009706@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Sun Feb 11 19:41:30 2018
New Revision: 461521
URL: https://svnweb.freebsd.org/changeset/ports/461521

Log:
  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
  MFH:		2018Q1

Modified:
  head/multimedia/gtk-recordmydesktop/Makefile

Modified: head/multimedia/gtk-recordmydesktop/Makefile
==============================================================================
--- head/multimedia/gtk-recordmydesktop/Makefile	Sun Feb 11 19:40:11 2018	(r461520)
+++ head/multimedia/gtk-recordmydesktop/Makefile	Sun Feb 11 19:41:30 2018	(r461521)
@@ -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?201802111941.w1BJfUoR009706>