aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-04-21 22:13:05 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-04-21 22:13:05 +0800
commitc6be0fc415b69e02f7110bab80c4dc6ef733c719 (patch)
tree97d7cc086edfd4721ea29190c990c0fba7e464f2 /games
parent0e200ff880f6c3d0b71e4484382ec9062545fa30 (diff)
downloadfreebsd-ports-gnome-c6be0fc415b69e02f7110bab80c4dc6ef733c719.tar.gz
freebsd-ports-gnome-c6be0fc415b69e02f7110bab80c4dc6ef733c719.tar.zst
freebsd-ports-gnome-c6be0fc415b69e02f7110bab80c4dc6ef733c719.zip
- Fix shebangs
Diffstat (limited to 'games')
-rw-r--r--games/gretools/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/games/gretools/Makefile b/games/gretools/Makefile
index debaeae4d058..e76b4f48a51e 100644
--- a/games/gretools/Makefile
+++ b/games/gretools/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gretools
PORTVERSION= 1.2.4
-PORTREVISION= 13
+PORTREVISION= 14
CATEGORIES= games gnome
MASTER_SITES= http://randomwalker.info/gretools/${PORTVERSION:R}/
@@ -14,14 +14,13 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake pathfix pkgconfig python shebangfix
-SHEBANG_FILES= ${WRKSRC}/gretools.py
+SHEBANG_FILES= gretools.in gretools.py
USE_GNOME= gnomeprefix pygnome2
GNU_CONFIGURE= yes
INSTALLS_OMF= yes
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/bin/python -t|/usr/bin/env python|g ; \
- s|@prefix@|${LOCALBASE}|g ; s|@share@|share|g' \
+ @${REINPLACE_CMD} 's|@prefix@|${LOCALBASE}|g ; s|@share@|share|g' \
${WRKSRC}/gretools.in
@${REINPLACE_CMD} -e 's|gtk\.TRUE|True|g ; \
s|gtk\.FALSE|False|g ; \