aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-19 11:04:13 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-19 11:04:13 +0000
commitf899c758a653ca8ff2f8a63aafcb2519a0b524ed (patch)
treebe6eebf3e77ddf9fcf383081091d8b8b336dd71c /dns
parent74d26774f830684ae21247061aa4bd7dabbe6527 (diff)
downloadports-f899c758a653ca8ff2f8a63aafcb2519a0b524ed.tar.gz
ports-f899c758a653ca8ff2f8a63aafcb2519a0b524ed.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/dnsflood/Makefile2
-rw-r--r--dns/mDNSResponder_nss/Makefile1
-rw-r--r--dns/udns/Makefile12
3 files changed, 3 insertions, 12 deletions
diff --git a/dns/dnsflood/Makefile b/dns/dnsflood/Makefile
index e527cbb99d99..eb17c0bcd1aa 100644
--- a/dns/dnsflood/Makefile
+++ b/dns/dnsflood/Makefile
@@ -27,7 +27,7 @@ pre-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dns_flood_detector ${STAGEDIR}${PREFIX}/sbin
-post-install:
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
diff --git a/dns/mDNSResponder_nss/Makefile b/dns/mDNSResponder_nss/Makefile
index cf9c4c04f687..69e17ccd8bfa 100644
--- a/dns/mDNSResponder_nss/Makefile
+++ b/dns/mDNSResponder_nss/Makefile
@@ -48,7 +48,6 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/mDNSPosix/nss_mdns.conf.5 \
${STAGEDIR}${MANPREFIX}/man/man5
-post-install:
${INSTALL_DATA} ${WRKSRC}/mDNSPosix/nss_mdns.conf \
${STAGEDIR}${PREFIX}/etc/nss_mdns.conf.sample
diff --git a/dns/udns/Makefile b/dns/udns/Makefile
index b824341501c6..9eb40a2b53c9 100644
--- a/dns/udns/Makefile
+++ b/dns/udns/Makefile
@@ -23,13 +23,7 @@ PORTDOCS= *
SHLIB_MAJOR= 0
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MIPV6}
-CONFIGURE_ARGS+= --enable-ipv6
-.else
-CONFIGURE_ARGS+= --disable-ipv6
-.endif
+IPV6_CONFIGURE_ENABLE= ipv6
post-build:
@cd ${WRKSRC} && ${STRIP_CMD} dnsget_s ex-rdns_s rblcheck_s
@@ -50,12 +44,10 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/${FILE} ${STAGEDIR}${MANPREFIX}/man/man3/${FILE}
.endfor
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in NEWS NOTES TODO
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}/${FILE}
.endfor
-.endif
.include <bsd.port.mk>