aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-03-30 02:57:13 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-03-30 02:57:13 +0800
commit126dd3e59fbccf0ee278d90caf8d9c8e99f42e84 (patch)
treece827f2adf1829445e066cc62366038fe496e8d3 /devel
parentb80235604d017ad749684965f17b1cbb6c1e49a6 (diff)
downloadfreebsd-ports-gnome-126dd3e59fbccf0ee278d90caf8d9c8e99f42e84.tar.gz
freebsd-ports-gnome-126dd3e59fbccf0ee278d90caf8d9c8e99f42e84.tar.zst
freebsd-ports-gnome-126dd3e59fbccf0ee278d90caf8d9c8e99f42e84.zip
- Update to 0.4004
- Convert to new options framework - Cleanup Makefile Changes: http://search.cpan.org/dist/Module-Build/Changes
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Module-Build/Makefile32
-rw-r--r--devel/p5-Module-Build/distinfo4
2 files changed, 7 insertions, 29 deletions
diff --git a/devel/p5-Module-Build/Makefile b/devel/p5-Module-Build/Makefile
index 10140195e9db..8ca1ed93e267 100644
--- a/devel/p5-Module-Build/Makefile
+++ b/devel/p5-Module-Build/Makefile
@@ -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:${PORTSDIR}/devel/p5-CPAN-Meta \
.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}."
diff --git a/devel/p5-Module-Build/distinfo b/devel/p5-Module-Build/distinfo
index 1fb299557a0b..bdae093a3a4b 100644
--- a/devel/p5-Module-Build/distinfo
+++ b/devel/p5-Module-Build/distinfo
@@ -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