freebsd-ports/devel/p5-CPAN-Meta/Makefile

35 lines
933 B
Makefile
Raw Normal View History

# Created by: jupengfei <jupengfei@gmail.com>
# $FreeBSD$
PORTNAME= CPAN-Meta
PORTVERSION= 2.150005
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Distribution metadata for a CPAN dist
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
NO_ARCH= yes
2013-08-21 16:08:06 +02:00
USE_PERL5= configure
USES= perl5
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501800
BUILD_DEPENDS+= p5-CPAN-Meta-Requirements>=2.121:${PORTSDIR}/devel/p5-CPAN-Meta-Requirements \
p5-CPAN-Meta-YAML>=0.008:${PORTSDIR}/devel/p5-CPAN-Meta-YAML
RUN_DEPENDS+= p5-CPAN-Meta-Requirements>=2.121:${PORTSDIR}/devel/p5-CPAN-Meta-Requirements \
p5-CPAN-Meta-YAML>=0.008:${PORTSDIR}/devel/p5-CPAN-Meta-YAML
.endif
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Parse-CPAN-Meta>=1.44.14:${PORTSDIR}/devel/p5-Parse-CPAN-Meta
RUN_DEPENDS+= p5-Parse-CPAN-Meta>=1.44.14:${PORTSDIR}/devel/p5-Parse-CPAN-Meta
.endif
.include <bsd.port.post.mk>