aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/gprename/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-12-17 17:19:48 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-12-17 17:19:48 +0000
commit7c47779cb9cc1f12908949c26b831e944047ed17 (patch)
treecc6e929ebf67eee2cc8ce1692ea0663387b3a559 /x11-fm/gprename/Makefile
parentb4c4d6656e7b913544a3cbd1bea7f40f7cad2e74 (diff)
downloadports-7c47779cb9cc1f12908949c26b831e944047ed17.tar.gz
ports-7c47779cb9cc1f12908949c26b831e944047ed17.zip
Notes
Diffstat (limited to 'x11-fm/gprename/Makefile')
-rw-r--r--x11-fm/gprename/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/x11-fm/gprename/Makefile b/x11-fm/gprename/Makefile
index 5ee707c08e9b..4bd1930aa08b 100644
--- a/x11-fm/gprename/Makefile
+++ b/x11-fm/gprename/Makefile
@@ -21,7 +21,8 @@ RUN_DEPENDS= p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
WRKSRC= ${WRKDIR}/${PORTNAME}/trunk
USE_PERL5= run
-USES= gettext perl5 tar:bzip2
+USES= gettext perl5 tar:bzip2 shebangfix
+SHEBANG_FILES= bin/gprename
NO_BUILD= yes
post-extract:
@@ -29,8 +30,6 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e \
- '/^#!/s|/.*|${PERL}|' ${WRKSRC}/bin/gprename
- @${REINPLACE_CMD} -e \
's|/usr/local|${PREFIX}| ; \
s|(DESTDIR)|(DESTDIR)${PREFIX}| ; \
s|$$(CURDIR)|$$(.CURDIR)| ; \