Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 09:47:26 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342992 - head/dns/p5-Net-DNS-Resolver-Programmable
Message-ID:  <201402060947.s169lQLL049852@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402060947.s169lQLL049852>