diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-09-11 09:28:37 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-09-11 09:28:37 +0800 |
commit | edcd0bb52ccb5575daeccc279ea6063d790456d0 (patch) | |
tree | 96b3fb921e29629dda6612cac8e8401a857d6963 /dns/tinystats | |
parent | 590d70b6a5cc979a024ecc46acb60be66942fc88 (diff) | |
download | freebsd-ports-gnome-edcd0bb52ccb5575daeccc279ea6063d790456d0.tar.gz freebsd-ports-gnome-edcd0bb52ccb5575daeccc279ea6063d790456d0.tar.zst freebsd-ports-gnome-edcd0bb52ccb5575daeccc279ea6063d790456d0.zip |
Add optional IPv6 support.
PR: ports/85941
Submitted by: maintainer
Diffstat (limited to 'dns/tinystats')
-rw-r--r-- | dns/tinystats/Makefile | 12 |
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> |