diff options
author | mm <mm@FreeBSD.org> | 2012-12-31 18:49:52 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2012-12-31 18:49:52 +0800 |
commit | 8fb4a7f3ab56137426c2609ba1fb961341e34fc0 (patch) | |
tree | 90a777fd8234cb4f3af8a4c1f0fdfbab5c7571d4 /dns | |
parent | c1d1f5c85c8313305f35b99a9351f0df7236fe23 (diff) | |
download | freebsd-ports-gnome-8fb4a7f3ab56137426c2609ba1fb961341e34fc0.tar.gz freebsd-ports-gnome-8fb4a7f3ab56137426c2609ba1fb961341e34fc0.tar.zst freebsd-ports-gnome-8fb4a7f3ab56137426c2609ba1fb961341e34fc0.zip |
Update some of my ports to new options framework
Submitted by: Baptiste Daroussin <bapt@FreeBSD.org>
Diffstat (limited to 'dns')
-rw-r--r-- | dns/udns/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/dns/udns/Makefile b/dns/udns/Makefile index 72956834f111..c5006d5b176f 100644 --- a/dns/udns/Makefile +++ b/dns/udns/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: udns -# Date created: Sat May 24, 2008 -# Whom: Martin Matuska <mm@FreeBSD.org> -# +# Created by: Martin Matuska <mm@FreeBSD.org> # $FreeBSD$ -# PORTNAME= udns PORTVERSION= 0.2 @@ -17,7 +13,7 @@ HAS_CONFIGURE= yes MAKE_JOBS_SAFE= yes USE_LDCONFIG= yes -OPTIONS= IPV6 "Enable IPv6 support" on +OPTIONS_DEFINE= IPV6 DOCS LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LGPL @@ -31,9 +27,9 @@ SHLIB_MAJOR= 0 MAN1= dnsget.1 rblcheck.1 MAN3= udns.3 -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_IPV6) +.if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+= --enable-ipv6 .else CONFIGURE_ARGS+= --disable-ipv6 @@ -59,11 +55,11 @@ do-install: .endfor post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for FILE in NEWS NOTES TODO ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/${FILE} .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |