diff options
author | dougb <dougb@FreeBSD.org> | 2006-08-28 14:03:13 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2006-08-28 14:03:13 +0800 |
commit | 9011a9fd67104b95834d33e4db2646106dd97d9d (patch) | |
tree | c0787827c32c040288125c55135886260639e407 /dns/bind84 | |
parent | 5d209b076163de862e5d3b832f9e60a1459feeca (diff) | |
download | freebsd-ports-gnome-9011a9fd67104b95834d33e4db2646106dd97d9d.tar.gz freebsd-ports-gnome-9011a9fd67104b95834d33e4db2646106dd97d9d.tar.zst freebsd-ports-gnome-9011a9fd67104b95834d33e4db2646106dd97d9d.zip |
Add OPTIONS to the rest of my ports that need them.
Add CONFLICTS to the bind* ports.
Diffstat (limited to 'dns/bind84')
-rw-r--r-- | dns/bind84/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/dns/bind84/Makefile b/dns/bind84/Makefile index 5cb8f13be8e6..70441c86ee42 100644 --- a/dns/bind84/Makefile +++ b/dns/bind84/Makefile @@ -24,8 +24,15 @@ EXTRACT_ONLY= bind-src.tar.gz bind-doc.tar.gz MAINTAINER= DougB@FreeBSD.org COMMENT= The Berkeley Internet Name Domain, an implementation of DNS -.if defined(PORT_REPLACES_BASE_BIND8_INCLUDES) -PORT_REPLACES_BASE_BIND8= yes +CONFLICTS= bind-8.* bind9* host-* zh-bind-8.* + +OPTIONS= REPLACE_BASE "Replace base BIND with this version" off \ + REPLACE_BASE_INCLUDES "Replace includes as well as binaries" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_REPLACE_BASE_INCLUDES) +WITH_REPLACE_BASE= yes INCLUDE_PATH= include PLIST_SUB+= INCLUDE_PATH=${INCLUDE_PATH} .else @@ -33,7 +40,7 @@ INCLUDE_PATH= include/bind PLIST_SUB+= INCLUDE_PATH=${INCLUDE_PATH} .endif -.if defined(PORT_REPLACES_BASE_BIND8) +.if defined(WITH_REPLACE_BASE) PKGNAMESUFFIX= -base PREFIX= /usr BIND_DESTETC= /etc/namedb @@ -86,7 +93,7 @@ post-patch: @${MV} ${WRKSRC}/lib/irs/getaddrinfo.c.sed \ ${WRKSRC}/lib/irs/getaddrinfo.c -.if defined(PORT_REPLACES_BASE_BIND8) +.if defined(WITH_REPLACE_BASE) .for dir in nslookup nsupdate @${SED} -e "s#{DESTBIN}#{DESTSBIN}#g" \ ${WRKSRC}/bin/${dir}/Makefile > ${WRKSRC}/bin/${dir}/Makefile.sed @@ -119,4 +126,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |