Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2013 18:57:13 +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: r315562 - head/devel/p5-Module-Build
Message-ID:  <201303291857.r2TIvDxi097846@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Mar 29 18:57:13 2013
New Revision: 315562
URL: http://svnweb.freebsd.org/changeset/ports/315562

Log:
  - Update to 0.4004
  - Convert to new options framework
  - Cleanup Makefile
  
  Changes:	http://search.cpan.org/dist/Module-Build/Changes

Modified:
  head/devel/p5-Module-Build/Makefile
  head/devel/p5-Module-Build/distinfo   (contents, props changed)

Modified: head/devel/p5-Module-Build/Makefile
==============================================================================
--- head/devel/p5-Module-Build/Makefile	Fri Mar 29 18:50:06 2013	(r315561)
+++ head/devel/p5-Module-Build/Makefile	Fri Mar 29 18:57:13 2013	(r315562)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	Module::Build
-# Date created:				29 June 2003
-# Whom:                			Dmitry Sivachenko <demon@FreeBSD.org>
-#
+# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	Module-Build
-PORTVERSION=	0.4003
+PORTVERSION=	0.4004
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -17,6 +13,8 @@ COMMENT=	Build and install Perl modules
 TEST_DEPENDS=	p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \
 		p5-PAR-Dist>=0.17:${PORTSDIR}/devel/p5-PAR-Dist
 
+OPTIONS_DEFINE=	DOCS
+
 PORTSCOUT=	skipv:0.31012
 
 PERL_MODBUILD=	yes
@@ -53,24 +51,6 @@ PORTDOCS=	Changes INSTALL README
 
 .include <bsd.port.pre.mk>
 
-#.if ${PERL_LEVEL} < 501000
-#RUN_DEPENDS+=	p5-Test-Harness>=3.16:${PORTSDIR}/devel/p5-Test-Harness
-#MAN1=		config_data.1
-#PLIST_FILES=	bin/config_data
-#.endif
-
-#.if ${PERL_LEVEL} < 501001
-#BUILD_DEPENDS+=	p5-ExtUtils-Install>=1.54:${PORTSDIR}/devel/p5-ExtUtils-Install
-#RUN_DEPENDS+=	p5-ExtUtils-Install>=1.54:${PORTSDIR}/devel/p5-ExtUtils-Install
-#.endif
-
-#.if ${PERL_LEVEL} < 501200
-#BUILD_DEPENDS+=	p5-ExtUtils-CBuilder>=0.27:${PORTSDIR}/devel/p5-ExtUtils-CBuilder \
-#		p5-ExtUtils-ParseXS>=2.21:${PORTSDIR}/devel/p5-ExtUtils-ParseXS
-#RUN_DEPENDS+=	p5-ExtUtils-CBuilder>=0.27:${PORTSDIR}/devel/p5-ExtUtils-CBuilder \
-#		p5-ExtUtils-ParseXS>=2.21:${PORTSDIR}/devel/p5-ExtUtils-ParseXS
-#.endif
-
 .if ${PERL_LEVEL} < 501400
 BUILD_DEPENDS+=	p5-CPAN-Meta>=2.110420:${PORTSDIR}/devel/p5-CPAN-Meta \
 		p5-CPAN-Meta-YAML>=0.003:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \
@@ -87,14 +67,12 @@ RUN_DEPENDS+=	p5-CPAN-Meta>=2.110420:${P
 .endif
 
 post-patch:
-#.if ${PERL_LEVEL} >= 501000
 	@${RM} -f ${WRKSRC}/bin/config_data
 	@${REINPLACE_CMD} -e '/script_files/d' ${WRKSRC}/Build.PL
 	@${REINPLACE_CMD} -e '/^bin\/config_data/d' ${WRKSRC}/MANIFEST
-#.endif
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}/
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/
 	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."

Modified: head/devel/p5-Module-Build/distinfo
==============================================================================
--- head/devel/p5-Module-Build/distinfo	Fri Mar 29 18:50:06 2013	(r315561)
+++ head/devel/p5-Module-Build/distinfo	Fri Mar 29 18:57:13 2013	(r315562)
@@ -1,2 +1,2 @@
-SHA256 (Module-Build-0.4003.tar.gz) = 42831046366bba16bf0dbac2225cf2612c04009b30002381b4ce49eb9e11fdc7
-SIZE (Module-Build-0.4003.tar.gz) = 307352
+SHA256 (Module-Build-0.4004.tar.gz) = 5779e61442334e532c517b72ac0e51f3a8841893c4e259a2a096346e7c854c43
+SIZE (Module-Build-0.4004.tar.gz) = 307445



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303291857.r2TIvDxi097846>