aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Net-DNS/Makefile
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2002-11-11 09:54:18 +0000
committerDoug Barton <dougb@FreeBSD.org>2002-11-11 09:54:18 +0000
commit36473c39059cfa2b473f91e7f52a52c80490994e (patch)
tree60090139075b3a16dcf79b3358c41f8c50c704f4 /net/p5-Net-DNS/Makefile
parent881ad8199e4c779e9b151e6e7d9572b4996e6a80 (diff)
downloadports-36473c39059cfa2b473f91e7f52a52c80490994e.tar.gz
ports-36473c39059cfa2b473f91e7f52a52c80490994e.zip
Notes
Diffstat (limited to 'net/p5-Net-DNS/Makefile')
-rw-r--r--net/p5-Net-DNS/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/net/p5-Net-DNS/Makefile b/net/p5-Net-DNS/Makefile
index 79afa6038d14..39e7cbe00269 100644
--- a/net/p5-Net-DNS/Makefile
+++ b/net/p5-Net-DNS/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Net-DNS
-PORTVERSION= 0.29
+PORTVERSION= 0.30
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
@@ -14,6 +14,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= DougB@FreeBSD.org
+# Warnings during build are harmless, the port does not need these to build
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
@@ -34,13 +35,21 @@ MAN3= Net::DNS.3 Net::DNS::Header.3 Net::DNS::Packet.3 \
Net::DNS::RR::NIMLOC.3 Net::DNS::RR::NSAP.3 \
Net::DNS::RR::NULL.3 Net::DNS::RR::PX.3 Net::DNS::Update.3 \
Net::DNS::Nameserver.3 Net::DNS::RR::CERT.3 \
+ Net::DNS::FAQ.3 Net::DNS::RR::TKEY.3 \
Net::DNS::RR::OPT.3 Net::DNS::RR::TSIG.3 Net::DNS::RR::DNAME.3
+post-patch:
+ ${CP} ${WRKSRC}/lib/Net/DNS/FAQ.pod ${WRKSRC}/lib/Net/DNS/FAQ.pod.Dist
+ ${SED} -e '1d' ${WRKSRC}/lib/Net/DNS/FAQ.pod.Dist > \
+ ${WRKSRC}/lib/Net/DNS/FAQ.pod
+ ${RM} ${WRKSRC}/lib/Net/DNS/FAQ.pod.Dist
+
+DOCSDIR= ${PREFIX}/share/doc/p5-Net-DNS
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/p5-Net-DNS
+ @${MKDIR} ${DOCSDIR}
.for file in Changes README TODO
- ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/p5-Net-DNS
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif