1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Update to 2.110930

- Make some dependencies conditional according to PERL_LEVEL

Changes:	http://search.cpan.org/dist/CPAN-Meta/Changes
PR:		ports/157248
Submitted by:	sunpoet (myself)
Approved by:	Pengfei Ju <jupengfei@gmail.com> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-05-22 16:40:22 +00:00
parent ae067f822d
commit 5390d20f2d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=274457
3 changed files with 23 additions and 13 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= CPAN-Meta
PORTVERSION= 2.110580
PORTVERSION= 2.110930
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DAGOLDEN
@ -17,11 +17,10 @@ COMMENT= The distribution metadata for a CPAN dist
BUILD_DEPENDS= p5-CPAN-Meta-YAML>=0.002:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \
p5-JSON-PP>=2.27103:${PORTSDIR}/converters/p5-JSON-PP \
p5-Parse-CPAN-Meta>=1.44:${PORTSDIR}/devel/p5-Parse-CPAN-Meta \
p5-Test-Simple>=0:${PORTSDIR}/devel/p5-Test-Simple \
p5-Version-Requirements>=0.101020:${PORTSDIR}/devel/p5-Version-Requirements \
p5-version>=0.82:${PORTSDIR}/devel/p5-version
RUN_DEPENDS= ${BUILD_DEPENDS}
p5-Parse-CPAN-Meta>=1.44:${PORTSDIR}/devel/p5-Parse-CPAN-Meta
RUN_DEPENDS= p5-CPAN-Meta-YAML>=0.002:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \
p5-JSON-PP>=2.27103:${PORTSDIR}/converters/p5-JSON-PP \
p5-Parse-CPAN-Meta>=1.44:${PORTSDIR}/devel/p5-Parse-CPAN-Meta
PERL_CONFIGURE= YES
@ -33,4 +32,16 @@ MAN3= CPAN::Meta.3 \
CPAN::Meta::Spec.3 \
CPAN::Meta::Validator.3
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501200
BUILD_DEPENDS+= p5-version>=0.82:${PORTSDIR}/devel/p5-version
RUN_DEPENDS+= p5-version>=0.82:${PORTSDIR}/devel/p5-version
.endif
.if ${PERL_LEVEL} < 501400
BUILD_DEPENDS+= p5-Version-Requirements>=0.101020:${PORTSDIR}/devel/p5-Version-Requirements
RUN_DEPENDS+= p5-Version-Requirements>=0.101020:${PORTSDIR}/devel/p5-Version-Requirements
.endif
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
SHA256 (CPAN-Meta-2.110580.tar.gz) = 6aade5ec501267c23aa77705796f18143609685c4b9100541102dce3f5a71eb3
SIZE (CPAN-Meta-2.110580.tar.gz) = 69979
SHA256 (CPAN-Meta-2.110930.tar.gz) = 5e4ea30d6a665778acb89a97ff420727b90f34f39f4965e86ef617ba3af64616
SIZE (CPAN-Meta-2.110930.tar.gz) = 70585

View File

@ -6,8 +6,7 @@
%%SITE_PERL%%/CPAN/Meta/Spec.pm
%%SITE_PERL%%/CPAN/Meta/Validator.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN/Meta/.packlist
@dirrm %%SITE_PERL%%/CPAN/Meta
@dirrmtry %%SITE_PERL%%/CPAN
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN/Meta
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN/Meta
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN
@dirrmtry %%SITE_PERL%%/CPAN/Meta
@dirrmtry %%SITE_PERL%%/CPAN