aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Moo/Makefile
blob: 0ec708cf6bc557dacd23902cd8ffa0c0d643a307 (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
35
36
# Created by: Wen Heping <wen@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Moo
PORTVERSION=    1.004002
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:HAARG
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Minimalist Object Orientation (with Moose compatibility)

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-Class-Method-Modifiers>=1.10:${PORTSDIR}/devel/p5-Class-Method-Modifiers \
        p5-Devel-GlobalDestruction>=0.11:${PORTSDIR}/devel/p5-Devel-GlobalDestruction \
        p5-Dist-CheckConflicts>=0.02:${PORTSDIR}/devel/p5-Dist-CheckConflicts \
        p5-Module-Runtime>=0.012:${PORTSDIR}/devel/p5-Module-Runtime \
        p5-Role-Tiny>=1.003.002:${PORTSDIR}/devel/p5-Role-Tiny \
        p5-strictures>=1.004003:${PORTSDIR}/devel/p5-strictures \
        p5-Import-Into>=1.002000:${PORTSDIR}/devel/p5-Import-Into
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   p5-Test-Fatal>=0.003:${PORTSDIR}/devel/p5-Test-Fatal

USES=       perl5
USE_PERL5=  configure

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501400
TEST_DEPENDS+=  p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
.endif

.include <bsd.port.post.mk>