aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Module-Build-Tiny/Makefile
blob: 3c68b79068ca181b88a963190c0dad999f7e6136 (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
32
33
34
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Module-Build-Tiny
PORTVERSION=    0.025
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Tiny replacement for Module::Build

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-ExtUtils-Config>=0.003:${PORTSDIR}/devel/p5-ExtUtils-Config \
        p5-ExtUtils-Helpers>=0.020:${PORTSDIR}/devel/p5-ExtUtils-Helpers \
        p5-ExtUtils-InstallPaths>=0.002:${PORTSDIR}/devel/p5-ExtUtils-InstallPaths
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PERL_MODBUILD=  yes

MAN3=       Module::Build::Tiny.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501400
BUILD_DEPENDS+= p5-CPAN-Meta>=0:${PORTSDIR}/devel/p5-CPAN-Meta \
        p5-JSON-PP>=2:${PORTSDIR}/converters/p5-JSON-PP
RUN_DEPENDS+=   p5-CPAN-Meta>=0:${PORTSDIR}/devel/p5-CPAN-Meta \
        p5-JSON-PP>=2:${PORTSDIR}/converters/p5-JSON-PP
.endif

.include <bsd.port.post.mk>