diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-08-28 13:39:56 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-08-28 13:39:56 +0000 |
commit | e638299edcfecb35838ad7fad0b71c4fa5ed7639 (patch) | |
tree | 30df43bd9eff2c4d3d713edce11d9d1da280e753 /net-mgmt/routers2-extensions | |
parent | - Fix shebangs (diff) |
- Switch to options helpers
- While here, add some NO_ARCHes and couple missing PORT_OPTIONS=DOCS
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=395483
Diffstat (limited to 'net-mgmt/routers2-extensions')
-rw-r--r-- | net-mgmt/routers2-extensions/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net-mgmt/routers2-extensions/Makefile b/net-mgmt/routers2-extensions/Makefile index 506b92d2ff83..fa12e5070744 100644 --- a/net-mgmt/routers2-extensions/Makefile +++ b/net-mgmt/routers2-extensions/Makefile @@ -21,12 +21,11 @@ WRKSRC= ${WRKDIR}/routers2-v${PORTVERSION}/extensions USES= perl5 NO_BUILD= YES +NO_ARCH= yes PORTDOCS= README *.txt extension.cgi.pl OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-patch: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/*.cgi @@ -34,10 +33,10 @@ do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/www/routers2/extensions ${INSTALL_SCRIPT} ${WRKSRC}/*.cgi \ ${STAGEDIR}${PREFIX}/www/routers2/extensions -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}; ${INSTALL_DATA} README *.txt extension.cgi.pl \ ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk> |