aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2018-02-12 03:41:30 +0800
committerrm <rm@FreeBSD.org>2018-02-12 03:41:30 +0800
commitc3adce3bde5975441473534e2ece61a7c2530b77 (patch)
tree76c16d35ddb122661051d3849b341630236c5cd7 /multimedia
parent7b04ce8d30bb20ab3713cf73e440964b1d2d9b87 (diff)
downloadfreebsd-ports-gnome-c3adce3bde5975441473534e2ece61a7c2530b77.tar.gz
freebsd-ports-gnome-c3adce3bde5975441473534e2ece61a7c2530b77.tar.zst
freebsd-ports-gnome-c3adce3bde5975441473534e2ece61a7c2530b77.zip
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
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gtk-recordmydesktop/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/multimedia/gtk-recordmydesktop/Makefile b/multimedia/gtk-recordmydesktop/Makefile
index 637eda574c1a..5875d0d293ed 100644
--- a/multimedia/gtk-recordmydesktop/Makefile
+++ b/multimedia/gtk-recordmydesktop/Makefile
@@ -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>