aboutsummaryrefslogtreecommitdiff
path: root/dns/tinystats
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-09-11 01:28:37 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-09-11 01:28:37 +0000
commitf881131c7dce9930e26aaabe1a060ad5eccd9c8e (patch)
tree55d5103747680e68cb8cafb3ab5080f513758b74 /dns/tinystats
parent459298b39db3cf42eb7113dc91ae1ba67b0c2619 (diff)
downloadports-f881131c7dce9930e26aaabe1a060ad5eccd9c8e.tar.gz
ports-f881131c7dce9930e26aaabe1a060ad5eccd9c8e.zip
Notes
Diffstat (limited to 'dns/tinystats')
-rw-r--r--dns/tinystats/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/dns/tinystats/Makefile b/dns/tinystats/Makefile
index e69c358bb8b0..8c875f4820b5 100644
--- a/dns/tinystats/Makefile
+++ b/dns/tinystats/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tinystats
PORTVERSION= 1.1
-CATEGORIES= dns
+CATEGORIES= dns ipv6
MASTER_SITES= http://www.morettoni.net/bsd/
MAINTAINER= filippo.natali@gmail.com
@@ -16,6 +16,8 @@ COMMENT= DJB's tinydns statistics generator
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET=
+OPTIONS= IPV6 "Enable IPv6 support" off
+
PLIST_FILES= bin/tinystats \
%%EXAMPLESDIR%%/tinydns.log.run.sample \
%%EXAMPLESDIR%%/tinydns.sh.sample \
@@ -25,6 +27,12 @@ PLIST_FILES= bin/tinystats \
PLIST_DIRS= %%EXAMPLESDIR%%
PORTDOCS= README LICENSE THANKS
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_IPV6)
+MAKE_ARGS+= -DWITH_IPV6
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tinystats ${PREFIX}/bin
${MKDIR} ${EXAMPLESDIR}
@@ -35,4 +43,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/LICENSE ${WRKSRC}/THANKS ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>