aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2012-03-12 05:25:55 +0800
committerdougb <dougb@FreeBSD.org>2012-03-12 05:25:55 +0800
commit64ae1efe9741a2f102a47acbae8f22647bbd3603 (patch)
treef5521425970f9f7d0b23a7b42890206e450bd801 /dns
parentded17375052299d7a98b4488c9584acfb3dd6555 (diff)
downloadfreebsd-ports-gnome-64ae1efe9741a2f102a47acbae8f22647bbd3603.tar.gz
freebsd-ports-gnome-64ae1efe9741a2f102a47acbae8f22647bbd3603.tar.zst
freebsd-ports-gnome-64ae1efe9741a2f102a47acbae8f22647bbd3603.zip
Fix OPTIONS broken by the perl < 5.12 sweep [1]
While I'm here, reduce the number of docs variables. PR: ports/165930 [1] Submitted by: Alexey Markov <redrat@mail.ru> [1] Feature safe: yes
Diffstat (limited to 'dns')
-rw-r--r--dns/p5-Net-DNS/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/dns/p5-Net-DNS/Makefile b/dns/p5-Net-DNS/Makefile
index a2275b4c9ffb..d84988a56e8c 100644
--- a/dns/p5-Net-DNS/Makefile
+++ b/dns/p5-Net-DNS/Makefile
@@ -53,7 +53,9 @@ MAN3= Net::DNS.3 Net::DNS::Header.3 Net::DNS::Packet.3 \
Net::DNS::RR::KX.3 Net::DNS::RR::HIP.3 \
Net::DNS::Resolver::Cygwin.3 Net::DNS::RR::SPF.3
-PORTDOCS= *
+PORTDOCS= Changes README TODO
+
+.include <bsd.port.pre.mk>
.if !defined(WITHOUT_IPV6)
RUN_DEPENDS+= ${SITE_PERL}/IO/Socket/INET6.pm:${PORTSDIR}/net/p5-IO-Socket-INET6
@@ -64,12 +66,11 @@ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Net/LibIDN.pm:${PORTSDIR}/dns/p5-Net-Lib
.endif
DOCSDIR= ${PREFIX}/share/doc/p5-Net-DNS
-DOCS= Changes README TODO
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+ @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>