diff options
author | mich <mich@FreeBSD.org> | 2004-11-03 13:14:08 +0000 |
---|---|---|
committer | mich <mich@FreeBSD.org> | 2004-11-03 13:14:08 +0000 |
commit | ece9417a8d7fb243f855ed2232a90e340e9a09aa (patch) | |
tree | edbdfe8521f9f04f1d8f020ce2a87db4a311e20c /net/apinger/Makefile | |
parent | 3716b5f95e330b1adb1112a8d08631561e0e548b (diff) | |
download | FreeBSD-ports-ece9417a8d7fb243f855ed2232a90e340e9a09aa.zip FreeBSD-ports-ece9417a8d7fb243f855ed2232a90e340e9a09aa.tar.gz |
o add OPTIONS to disable/enable IPv6 support
o add %%DOCSDIR%% macro to please portlint
Diffstat (limited to 'net/apinger/Makefile')
-rw-r--r-- | net/apinger/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/net/apinger/Makefile b/net/apinger/Makefile index 70f7b0b..d62e650 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> |