aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipgrab
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-28 21:39:56 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-28 21:39:56 +0800
commit80986f3bba5207fadfa3c154807c2bd35fc4fe43 (patch)
tree30df43bd9eff2c4d3d713edce11d9d1da280e753 /net/ipgrab
parent107a7c671373ca4fc49013600186b99151a35dd1 (diff)
downloadfreebsd-ports-gnome-80986f3bba5207fadfa3c154807c2bd35fc4fe43.tar.gz
freebsd-ports-gnome-80986f3bba5207fadfa3c154807c2bd35fc4fe43.tar.zst
freebsd-ports-gnome-80986f3bba5207fadfa3c154807c2bd35fc4fe43.zip
- Switch to options helpers
- While here, add some NO_ARCHes and couple missing PORT_OPTIONS=DOCS Approved by: portmgr blanket
Diffstat (limited to 'net/ipgrab')
-rw-r--r--net/ipgrab/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/ipgrab/Makefile b/net/ipgrab/Makefile
index 4d214199ffea..3a46120bd0d3 100644
--- a/net/ipgrab/Makefile
+++ b/net/ipgrab/Makefile
@@ -24,15 +24,13 @@ PORTDOCS= README AUTHORS COPYING ChangeLog DEVELOPER-HOWTO \
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
${INSTALL_MAN} ${WRKSRC}/doc/ipgrab.8 ${STAGEDIR}${MANPREFIX}/man/man8/
${INSTALL_DATA} ${WRKSRC}/doc/ipgrab.info ${STAGEDIR}${PREFIX}/info/
${INSTALL_PROGRAM} ${WRKSRC}/src/ipgrab ${STAGEDIR}${PREFIX}/bin/
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
-.endif
.include <bsd.port.mk>