Date: Thu, 31 Oct 2013 16:09:04 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332265 - head/dns/p5-Net-DNS-Resolver-Programmable Message-ID: <201310311609.r9VG94JK057389@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Oct 31 16:09:04 2013 New Revision: 332265 URL: http://svnweb.freebsd.org/changeset/ports/332265 Log: - Fix *_DEPENDS: version is already in all supported Perl releases - Convert to new options framework - Use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk - Bump PORTREVISION for dependency change PR: ports/182967 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 17 days) Modified: head/dns/p5-Net-DNS-Resolver-Programmable/Makefile Modified: head/dns/p5-Net-DNS-Resolver-Programmable/Makefile ============================================================================== --- head/dns/p5-Net-DNS-Resolver-Programmable/Makefile Thu Oct 31 15:52:38 2013 (r332264) +++ head/dns/p5-Net-DNS-Resolver-Programmable/Makefile Thu Oct 31 16:09:04 2013 (r332265) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310311609.r9VG94JK057389>