aboutsummaryrefslogtreecommitdiff
path: root/dns/tinystats/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 10:34:46 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 10:34:46 +0000
commitf3381fa548d3edd4687bf4cf975577eeb10d68b7 (patch)
treea607b9b0948608d5c47edc8a47b7a82c47b30717 /dns/tinystats/Makefile
parent67375d16b1d5928bed929dcddfd6dcf003678869 (diff)
downloadports-f3381fa548d3edd4687bf4cf975577eeb10d68b7.tar.gz
ports-f3381fa548d3edd4687bf4cf975577eeb10d68b7.zip
Notes
Diffstat (limited to 'dns/tinystats/Makefile')
-rw-r--r--dns/tinystats/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/dns/tinystats/Makefile b/dns/tinystats/Makefile
index b85ec1289e99..e9387168aeea 100644
--- a/dns/tinystats/Makefile
+++ b/dns/tinystats/Makefile
@@ -16,7 +16,7 @@ COMMENT= DJB's tinydns statistics generator
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET=
-OPTIONS= IPV6 "Enable IPv6 support" off
+OPTIONS_DEFINE= IPV6 DOCS
PLIST_FILES= bin/tinystats \
%%EXAMPLESDIR%%/tinydns.log.run.sample \
@@ -27,9 +27,9 @@ PLIST_FILES= bin/tinystats \
PLIST_DIRS= %%EXAMPLESDIR%%
PORTDOCS= README LICENSE THANKS
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_IPV6)
+.if ${PORT_OPTIONS:MIPV6}
MAKE_ARGS+= -DWITH_IPV6
.endif
@@ -38,9 +38,9 @@ do-install:
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/tinydns.sh.sample ${WRKSRC}/tinydns.log.run.sample \
${WRKSRC}/update_slave.sh.sample ${WRKSRC}/start_slave.sh.sample ${WRKSRC}/Makefile.sample ${EXAMPLESDIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/LICENSE ${WRKSRC}/THANKS ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>