diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-10-31 16:09:04 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-10-31 16:09:04 +0000 |
commit | d8f642e40f154405abbfc717d6c37b72f362f801 (patch) | |
tree | d8853c686e8233e7e553925ae63a54bee3e738b8 /dns/p5-Net-DNS-Resolver-Programmable | |
parent | 389d4483904b3dea4ce2cf4db0a9e521999eabaa (diff) | |
download | ports-d8f642e40f154405abbfc717d6c37b72f362f801.tar.gz ports-d8f642e40f154405abbfc717d6c37b72f362f801.zip |
Notes
Diffstat (limited to 'dns/p5-Net-DNS-Resolver-Programmable')
-rw-r--r-- | dns/p5-Net-DNS-Resolver-Programmable/Makefile | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/dns/p5-Net-DNS-Resolver-Programmable/Makefile b/dns/p5-Net-DNS-Resolver-Programmable/Makefile index 599290094150..0f86cfa201b8 100644 --- a/dns/p5-Net-DNS-Resolver-Programmable/Makefile +++ b/dns/p5-Net-DNS-Resolver-Programmable/Makefile @@ -3,6 +3,7 @@ PORTNAME= Net-DNS-Resolver-Programmable PORTVERSION= 0.003 +PORTREVISION= 1 CATEGORIES= dns net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -11,27 +12,23 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION} MAINTAINER= gmc@sonologic.nl COMMENT= Programmable DNS resolver for off-line testing -RUN_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \ - p5-version>=0:${PORTSDIR}/devel/p5-version -BUILD_DEPENDS:= ${RUN_DEPENDS} +BUILD_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS +RUN_DEPENDS:= ${BUILD_DEPENDS} +NO_STAGE= yes USES= perl5 USE_PERL5= modbuild MAN3= Net::DNS::Resolver::Programmable.3 - -NO_STAGE= yes -.include <bsd.port.pre.mk> - PORTDOCS= CHANGES README TODO DOCSDIR= ${PREFIX}/share/doc/p5-Net-DNS-Resolver-Programmable +.include <bsd.port.options.mk> + post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for doc in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} -.endfor +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |