From cd390572570ce6c662bd379ffb5e58bd660a4f1e Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 27 Feb 2014 07:52:53 +0000 Subject: [PATCH] - Use shebangfix --- print/tgif2tex/Makefile | 9 ++++----- 1 file 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