summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-04-21 14:13:05 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2017-04-21 14:13:05 +0000
commitc6be0fc415b69e02f7110bab80c4dc6ef733c719 (patch)
tree97d7cc086edfd4721ea29190c990c0fba7e464f2
parent0e200ff880f6c3d0b71e4484382ec9062545fa30 (diff)
downloadFreeBSD-ports-c6be0fc415b69e02f7110bab80c4dc6ef733c719.zip
FreeBSD-ports-c6be0fc415b69e02f7110bab80c4dc6ef733c719.tar.gz
- Fix shebangs
-rw-r--r--games/gretools/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/games/gretools/Makefile b/games/gretools/Makefile
index debaeae..e76b4f4 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 ; \
OpenPOWER on IntegriCloud