diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-06-10 03:52:56 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-06-10 03:52:56 +0800 |
commit | 86998c00dc3a1ca37998bf9e6f24fe0a7b43655a (patch) | |
tree | 0b918fdb941d90db301018f79efb91cdc6a33c0d | |
parent | ac65e3cb68cececf5a4dc708a86d0407eb28a338 (diff) | |
download | freebsd-ports-gnome-86998c00dc3a1ca37998bf9e6f24fe0a7b43655a.tar.gz freebsd-ports-gnome-86998c00dc3a1ca37998bf9e6f24fe0a7b43655a.tar.zst freebsd-ports-gnome-86998c00dc3a1ca37998bf9e6f24fe0a7b43655a.zip |
- Fix shebangs
- Add NO_ARCH
- Simplify docs/examples installation
MFH: 2015Q2 (blanket)
-rw-r--r-- | databases/gnatsweb4/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/databases/gnatsweb4/Makefile b/databases/gnatsweb4/Makefile index b37883d6156b..4eebc99e1c1c 100644 --- a/databases/gnatsweb4/Makefile +++ b/databases/gnatsweb4/Makefile @@ -3,7 +3,7 @@ PORTNAME= gnatsweb PORTVERSION= 4.00 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= databases devel www MASTER_SITES= GNU @@ -17,9 +17,11 @@ RUN_DEPENDS= p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64 USE_APACHE_RUN= 22+ -USES= perl5 +USES= perl5 shebangfix +SHEBANG_FILES= gnatsweb.pl USE_PERL5= run NO_BUILD= yes +NO_ARCH= yes CGI_DIR?= ${WWWDIR}/cgi-bin @@ -40,12 +42,11 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/gnatsweb.pl ${STAGEDIR}${CGI_DIR} ${LN} -s ${ETCDIR}/gnatsweb-site.pl ${STAGEDIR}${CGI_DIR} ${INSTALL_DATA} ${WRKSRC}/gnatsweb.html ${STAGEDIR}${CGI_DIR} - for doc in ${PORTDOCS}; do \ - ${INSTALL_DATA} ${WRKSRC}/$${doc} ${STAGEDIR}${DOCSDIR}; \ - done - for example in ${PORTEXAMPLES}; do \ - ${INSTALL_DATA} ${WRKSRC}/$${example} \ - ${STAGEDIR}${EXAMPLESDIR}; \ - done +.for doc in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} +.endfor +.for example in ${PORTEXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/${example} ${STAGEDIR}${EXAMPLESDIR} +.endfor .include <bsd.port.mk> |