aboutsummaryrefslogtreecommitdiff
path: root/print/tgif2tex
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-27 07:52:53 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-27 07:52:53 +0000
commitcd390572570ce6c662bd379ffb5e58bd660a4f1e (patch)
treece9c82e9cf4d04d3e08c413d5eb11ca3cbf7c2b1 /print/tgif2tex
parenta7cfe935cfda81307dfce4427da9d7c71241ad11 (diff)
downloadports-cd390572570ce6c662bd379ffb5e58bd660a4f1e.tar.gz
ports-cd390572570ce6c662bd379ffb5e58bd660a4f1e.zip
- Use shebangfix
Notes
Notes: svn path=/head/; revision=346244
Diffstat (limited to 'print/tgif2tex')
-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