aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-MooseX-Traits/Makefile
blob: 10e566270b4842c5d9b8bf50c7652c7191f2b784 (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
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=   MooseX-Traits
PORTVERSION=    0.12
PORTREVISION=   1
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Moose eXtension to automatically apply roles at object creation time

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-Class-Load>=0:${PORTSDIR}/devel/p5-Class-Load \
        p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
        p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter \
        p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   p5-MooseX-Role-Parameterized>=0:${PORTSDIR}/devel/p5-MooseX-Role-Parameterized \
        p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \
        p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires

USES=       perl5
USE_PERL5=  modbuildtiny

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>