aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-20 23:44:13 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-20 23:44:13 +0800
commit8dcd0a02f6383af39f9126f1e06faab82e554701 (patch)
tree75bc4e77dd00b5d823a7b9f49eb77ae1d61fcc88
parent6607e75158fc25874113cd96b0897e65d58947c7 (diff)
downloadfreebsd-ports-gnome-8dcd0a02f6383af39f9126f1e06faab82e554701.tar.gz
freebsd-ports-gnome-8dcd0a02f6383af39f9126f1e06faab82e554701.tar.zst
freebsd-ports-gnome-8dcd0a02f6383af39f9126f1e06faab82e554701.zip
- Support staging
- Use shebangfix
-rw-r--r--textproc/textogif/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/textproc/textogif/Makefile b/textproc/textogif/Makefile
index 6c0c15b87d57..b795db93e463 100644
--- a/textproc/textogif/Makefile
+++ b/textproc/textogif/Makefile
@@ -16,12 +16,13 @@ RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
NO_BUILD= yes
USE_TEX= latex dvipsk
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= run
+NO_WRKSUBDIR= yes
+
+SHEBANG_FILES= textogif
-NO_STAGE= yes
do-install:
- @cd ${WRKDIR};\
- ${INSTALL_SCRIPT} ${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>