aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-27 15:52:53 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-27 15:52:53 +0800
commit2d0ba6d94cd0a347e7ba3bdbd3f679ed99825687 (patch)
treece9c82e9cf4d04d3e08c413d5eb11ca3cbf7c2b1 /print
parent32e409f7058d68ff591724c4a108b7948a6ec06b (diff)
downloadfreebsd-ports-gnome-2d0ba6d94cd0a347e7ba3bdbd3f679ed99825687.tar.gz
freebsd-ports-gnome-2d0ba6d94cd0a347e7ba3bdbd3f679ed99825687.tar.zst
freebsd-ports-gnome-2d0ba6d94cd0a347e7ba3bdbd3f679ed99825687.zip
- Use shebangfix
Diffstat (limited to 'print')
-rw-r--r--print/tgif2tex/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/print/tgif2tex/Makefile b/print/tgif2tex/Makefile
index 43063277745d..7c559e282c89 100644
--- a/print/tgif2tex/Makefile
+++ b/print/tgif2tex/Makefile
@@ -25,15 +25,14 @@ PORTDOCS= how-to-use.dvi how-to-use.ps how-to-use.tex \
OPTIONS_DEFINE= DOCS
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= run
NO_BUILD= yes
+SHEBANG_FILES= tgif2tex
+
post-patch:
- ${REINPLACE_CMD} \
- -e "s,%%LOCALBASE%%,${LOCALBASE}," \
- -e "s,^#!/usr/bin/perl,#!${PERL}," \
- ${WRKSRC}/tgif2tex
+ ${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/tgif2tex
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tgif2tex ${STAGEDIR}${PREFIX}/bin