svn commit: r342992 - head/dns/p5-Net-DNS-Resolver-Programmable
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Feb 6 09:47:26 UTC 2014
Author: ehaupt
Date: Thu Feb 6 09:47:25 2014
New Revision: 342992
URL: http://svnweb.freebsd.org/changeset/ports/342992
QAT: https://qat.redports.org/buildarchive/r342992/
Log:
Support staging.
Modified:
head/dns/p5-Net-DNS-Resolver-Programmable/Makefile
head/dns/p5-Net-DNS-Resolver-Programmable/pkg-plist
Modified: head/dns/p5-Net-DNS-Resolver-Programmable/Makefile
==============================================================================
--- head/dns/p5-Net-DNS-Resolver-Programmable/Makefile Thu Feb 6 09:41:54 2014 (r342991)
+++ head/dns/p5-Net-DNS-Resolver-Programmable/Makefile Thu Feb 6 09:47:25 2014 (r342992)
@@ -15,7 +15,6 @@ COMMENT= Programmable DNS resolver for o
BUILD_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
RUN_DEPENDS:= ${BUILD_DEPENDS}
-NO_STAGE= yes
USES= perl5
USE_PERL5= modbuild
@@ -23,12 +22,14 @@ MAN3= Net::DNS::Resolver::Programmable.
PORTDOCS= CHANGES README TODO
DOCSDIR= ${PREFIX}/share/doc/p5-Net-DNS-Resolver-Programmable
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}/
- cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
.include <bsd.port.mk>
Modified: head/dns/p5-Net-DNS-Resolver-Programmable/pkg-plist
==============================================================================
--- head/dns/p5-Net-DNS-Resolver-Programmable/pkg-plist Thu Feb 6 09:41:54 2014 (r342991)
+++ head/dns/p5-Net-DNS-Resolver-Programmable/pkg-plist Thu Feb 6 09:47:25 2014 (r342992)
@@ -1,4 +1,5 @@
%%SITE_PERL%%/Net/DNS/Resolver/Programmable.pm
+%%PERL5_MAN3%%/Net::DNS::Resolver::Programmable.3.gz
@dirrm %%SITE_PERL%%/Net/DNS/Resolver
@dirrm %%SITE_PERL%%/Net/DNS
@dirrmtry %%SITE_PERL%%/Net
More information about the svn-ports-all
mailing list