Date: Fri, 28 Aug 2015 13:37:20 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395482 - head/net-mgmt/routers2-extras Message-ID: <201508281337.t7SDbKLY089347@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Aug 28 13:37:19 2015 New Revision: 395482 URL: https://svnweb.freebsd.org/changeset/ports/395482 Log: - Fix shebangs - Add NO_ARCH - Switch to options helpers Approved by: portmgr blanket Modified: head/net-mgmt/routers2-extras/Makefile Modified: head/net-mgmt/routers2-extras/Makefile ============================================================================== --- head/net-mgmt/routers2-extras/Makefile Fri Aug 28 13:35:52 2015 (r395481) +++ head/net-mgmt/routers2-extras/Makefile Fri Aug 28 13:37:19 2015 (r395482) @@ -3,7 +3,7 @@ PORTNAME= routers2-extras PORTVERSION= 2.19 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt MASTER_SITES= http://www.steveshipway.org/software/rrd/ \ ftp://ftp.oav.oav.net/routers2/ @@ -17,15 +17,22 @@ RUN_DEPENDS= ${LOCALBASE}/www/routers2/r WRKSRC= ${WRKDIR}/routers2-v${PORTVERSION}/extras -USES= perl5 -NO_BUILD= YES +USES= perl5 shebangfix +SHEBANG_FILES= check_foundry check_vmware.pl \ + checkagent gather.pl graphprune.pl \ + mrtg-apache mrtg-nrpe.pl mrtg-pnsclient.pl \ + mrtg-portsinuse.pl rrd-archive-clean.pl \ + rrd-archive.pl rrdextend.pl \ + winalert.pl +NO_BUILD= yes +NO_ARCH= yes PORTDOCS= README *.txt OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-patch: + ${REINPLACE_CMD} -e '1s|#!perl|#!${perl_CMD}|' \ + ${WRKSRC}/targetnames/targetnames.pl ${REINPLACE_CMD} -e 's|%%PERL%%|${PERL}|' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/buildwan.pl \ @@ -46,9 +53,9 @@ do-install: ${STAGEDIR}${PREFIX}/www/routers2/extras cd ${WRKSRC}; ${INSTALL_DATA} mrtg-templates/* \ ${STAGEDIR}${PREFIX}/www/routers2/extras/templates -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}; ${INSTALL_DATA} README *.txt ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508281337.t7SDbKLY089347>