aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-03-01 19:35:40 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-03-01 19:35:40 +0800
commit55a3066cf49844fee7ef00c3261b1e4918e01828 (patch)
treebba7d55c3864f763eba8fdc4bb8013623dd2c7ab
parent6c10a3ccc78bf6f230b49dd0593ef39f5bb5a39f (diff)
downloadfreebsd-ports-gnome-55a3066cf49844fee7ef00c3261b1e4918e01828.tar.gz
freebsd-ports-gnome-55a3066cf49844fee7ef00c3261b1e4918e01828.tar.zst
freebsd-ports-gnome-55a3066cf49844fee7ef00c3261b1e4918e01828.zip
- Update to 0.40
- Add TEST_DEPENDS - Move post-install: downwards - Do not silence installation message - Cosmetic change Changes: http://search.cpan.org/dist/Module-Build/Changes
-rw-r--r--devel/p5-Module-Build/Makefile32
-rw-r--r--devel/p5-Module-Build/distinfo4
2 files changed, 20 insertions, 16 deletions
diff --git a/devel/p5-Module-Build/Makefile b/devel/p5-Module-Build/Makefile
index f7dfbaf3f05b..850b4a37b5a9 100644
--- a/devel/p5-Module-Build/Makefile
+++ b/devel/p5-Module-Build/Makefile
@@ -6,29 +6,22 @@
#
PORTNAME= Module-Build
-PORTVERSION= 0.3800
-PORTREVISION= 1
+PORTVERSION= 0.4000
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CPAN:DAGOLDEN
PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/00$//}
MAINTAINER= perl@FreeBSD.org
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
+
PORTSCOUT= skipv:0.31012
PERL_MODBUILD= yes
-.if !defined(NOPORTDOCS)
-PORTDOCS= Changes INSTALL README
-
-post-install:
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
- @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
-
MAN3= inc::latest.3 \
Module::Build.3 \
Module::Build::Bundling.3 \
@@ -57,6 +50,7 @@ MAN3= inc::latest.3 \
Module::Build::Platform::os2.3 \
Module::Build::Version.3 \
Module::Build::YAML.3
+PORTDOCS= Changes INSTALL README
.include <bsd.port.pre.mk>
@@ -80,13 +74,16 @@ RUN_DEPENDS+= p5-ExtUtils-CBuilder>=0.27:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
.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 \
p5-Module-Metadata>=1.000002:${PORTSDIR}/devel/p5-Module-Metadata \
p5-Parse-CPAN-Meta>=1.44.01:${PORTSDIR}/devel/p5-Parse-CPAN-Meta \
- p5-Perl-OSType>=1.000:${PORTSDIR}/devel/p5-Perl-OSType \
+ p5-Perl-OSType>=1:${PORTSDIR}/devel/p5-Perl-OSType \
p5-version>=0.87:${PORTSDIR}/devel/p5-version
RUN_DEPENDS+= p5-CPAN-Meta>=2.110420:${PORTSDIR}/devel/p5-CPAN-Meta \
+ p5-CPAN-Meta-YAML>=0.003:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \
p5-Module-Metadata>=1.000002:${PORTSDIR}/devel/p5-Module-Metadata \
- p5-Perl-OSType>=1.000:${PORTSDIR}/devel/p5-Perl-OSType \
+ p5-Parse-CPAN-Meta>=1.44.01:${PORTSDIR}/devel/p5-Parse-CPAN-Meta \
+ p5-Perl-OSType>=1:${PORTSDIR}/devel/p5-Perl-OSType \
p5-version>=0.87:${PORTSDIR}/devel/p5-version
.endif
@@ -97,4 +94,11 @@ post-patch:
@${REINPLACE_CMD} -e '/^bin\/config_data/d' ${WRKSRC}/MANIFEST
.endif
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}/
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+
.include <bsd.port.post.mk>
diff --git a/devel/p5-Module-Build/distinfo b/devel/p5-Module-Build/distinfo
index 9c9b8576774e..ccbaf8a1ee2f 100644
--- a/devel/p5-Module-Build/distinfo
+++ b/devel/p5-Module-Build/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Module-Build-0.3800.tar.gz) = 9bb82170deb541445a3b7e4203662668ea17b5e13f9269d4b0c021a28bed60be
-SIZE (Module-Build-0.3800.tar.gz) = 305459
+SHA256 (Module-Build-0.40.tar.gz) = 230025eafb75ae8aa513db228af150f223d6d73bda4989b7ffcc80cebff984c0
+SIZE (Module-Build-0.40.tar.gz) = 306800