1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- Set CPAN::Meta::YAML and JSON:PP as conditional dependencies as they are bundled in Perl 5.14

- Bump PORTREVISION for dependency change

PR:		ports/160778
Submitted by:	sunpoet
This commit is contained in:
Lars Thegler 2011-10-03 18:37:39 +00:00
parent 93c0e727cf
commit 313d0d1c7d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282885

View File

@ -7,6 +7,7 @@
PORTNAME= Parse-CPAN-Meta
PORTVERSION= 1.44.01
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DAGOLDEN
@ -16,12 +17,17 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= lth@FreeBSD.org
COMMENT= Parse META.yml and other similar CPAN metadata files
BUILD_DEPENDS= p5-CPAN-Meta-YAML>=0.002:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \
p5-JSON-PP>=2.27103:${PORTSDIR}/converters/p5-JSON-PP
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Parse::CPAN::Meta.3
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400
BUILD_DEPENDS+= p5-CPAN-Meta-YAML>=0.002:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \
p5-JSON-PP>=2.27103:${PORTSDIR}/converters/p5-JSON-PP
RUN_DEPENDS+= p5-CPAN-Meta-YAML>=0.002:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \
p5-JSON-PP>=2.27103:${PORTSDIR}/converters/p5-JSON-PP
.endif
.include <bsd.port.post.mk>