aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-CPAN-Meta/Makefile
blob: 38e16f064534026fbe04b386f06c4057b2105d3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: jupengfei <jupengfei@gmail.com>
# $FreeBSD$

PORTNAME=   CPAN-Meta
PORTVERSION=    2.142060
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    The distribution metadata for a CPAN dist

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

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 \
        p5-Parse-CPAN-Meta>=1.44.03:${PORTSDIR}/devel/p5-Parse-CPAN-Meta
RUN_DEPENDS:=   ${BUILD_DEPENDS}

USE_PERL5=  configure
USES=       perl5

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501600
BUILD_DEPENDS+= p5-JSON-PP>=2.27200:${PORTSDIR}/converters/p5-JSON-PP
RUN_DEPENDS+=   p5-JSON-PP>=2.27200:${PORTSDIR}/converters/p5-JSON-PP
.endif

.include <bsd.port.post.mk>