diff options
author | mich <mich@FreeBSD.org> | 2004-11-03 21:14:08 +0800 |
---|---|---|
committer | mich <mich@FreeBSD.org> | 2004-11-03 21:14:08 +0800 |
commit | ece9417a8d7fb243f855ed2232a90e340e9a09aa (patch) | |
tree | edbdfe8521f9f04f1d8f020ce2a87db4a311e20c /net | |
parent | 3716b5f95e330b1adb1112a8d08631561e0e548b (diff) | |
download | freebsd-ports-gnome-ece9417a8d7fb243f855ed2232a90e340e9a09aa.tar.gz freebsd-ports-gnome-ece9417a8d7fb243f855ed2232a90e340e9a09aa.tar.zst freebsd-ports-gnome-ece9417a8d7fb243f855ed2232a90e340e9a09aa.zip |
o add OPTIONS to disable/enable IPv6 support
o add %%DOCSDIR%% macro to please portlint
Diffstat (limited to 'net')
-rw-r--r-- | net/apinger/Makefile | 10 | ||||
-rw-r--r-- | net/apinger/pkg-plist | 8 |
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%% |