svn commit: r332265 - head/dns/p5-Net-DNS-Resolver-Programmable
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Oct 31 16:09:05 UTC 2013
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 at 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>
More information about the svn-ports-all
mailing list