Support staging.
This commit is contained in:
parent
c681ee709c
commit
ac70eb008f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342992
2 changed files with 7 additions and 5 deletions
|
@ -15,7 +15,6 @@ COMMENT= Programmable DNS resolver for off-line testing
|
||||||
BUILD_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
|
BUILD_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
|
||||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= modbuild
|
USE_PERL5= modbuild
|
||||||
|
|
||||||
|
@ -23,12 +22,14 @@ MAN3= Net::DNS::Resolver::Programmable.3
|
||||||
PORTDOCS= CHANGES README TODO
|
PORTDOCS= CHANGES README TODO
|
||||||
DOCSDIR= ${PREFIX}/share/doc/p5-Net-DNS-Resolver-Programmable
|
DOCSDIR= ${PREFIX}/share/doc/p5-Net-DNS-Resolver-Programmable
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${MKDIR} ${DOCSDIR}/
|
.for f in ${PORTDOCS}
|
||||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||||
.endif
|
.endfor
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
%%SITE_PERL%%/Net/DNS/Resolver/Programmable.pm
|
%%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/Resolver
|
||||||
@dirrm %%SITE_PERL%%/Net/DNS
|
@dirrm %%SITE_PERL%%/Net/DNS
|
||||||
@dirrmtry %%SITE_PERL%%/Net
|
@dirrmtry %%SITE_PERL%%/Net
|
||||||
|
|
Loading…
Reference in a new issue