From owner-svn-ports-head@FreeBSD.ORG Thu Oct 31 16:09:05 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 429FDC5C; Thu, 31 Oct 2013 16:09:05 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 174F32B1A; Thu, 31 Oct 2013 16:09:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9VG943f057390; Thu, 31 Oct 2013 16:09:04 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9VG94JK057389; Thu, 31 Oct 2013 16:09:04 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201310311609.r9VG94JK057389@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Thu, 31 Oct 2013 16:09:04 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 16:09:05 -0000 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 - PORTDOCS= CHANGES README TODO DOCSDIR= ${PREFIX}/share/doc/p5-Net-DNS-Resolver-Programmable +.include + 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 +.include