aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMichael Landin <mich@FreeBSD.org>2004-11-03 13:14:08 +0000
committerMichael Landin <mich@FreeBSD.org>2004-11-03 13:14:08 +0000
commit6c1db77069db6384b86f72c1e47824820f9885b1 (patch)
treefd4fb06e0a7a57a2a30293391aeaf2e524e6f9a7 /net
parentae1393f27224b1546e33f276c224836204132f6e (diff)
downloadports-6c1db77069db6384b86f72c1e47824820f9885b1.tar.gz
ports-6c1db77069db6384b86f72c1e47824820f9885b1.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/apinger/Makefile10
-rw-r--r--net/apinger/pkg-plist8
2 files changed, 13 insertions, 5 deletions
diff --git a/net/apinger/Makefile b/net/apinger/Makefile
index 70f7b0b8b7c8..d62e65003e22 100644
--- a/net/apinger/Makefile
+++ b/net/apinger/Makefile
@@ -17,6 +17,14 @@ COMMENT= An IP device monitoring tool
GNU_CONFIGURE= yes
+OPTIONS= IPV6 "With support for IPv6" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITH_IPV6)
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
post-extract:
@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${FILESDIR}/apinger.sh \
> ${WRKSRC}/apinger.sh
@@ -40,4 +48,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}/AUTHORS
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/apinger/pkg-plist b/net/apinger/pkg-plist
index 57e08e438bd1..8cb44e3a39c4 100644
--- a/net/apinger/pkg-plist
+++ b/net/apinger/pkg-plist
@@ -1,7 +1,7 @@
sbin/apinger
etc/apinger.conf.sample
etc/rc.d/apinger.sh.sample
-%%PORTDOCS%%share/doc/apinger/README
-%%PORTDOCS%%share/doc/apinger/NEWS
-%%PORTDOCS%%share/doc/apinger/AUTHORS
-%%PORTDOCS%%@dirrm share/doc/apinger
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%@dirrm %%DOCSDIR%%