aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-MooseX-SimpleConfig/Makefile
blob: 3c0a30c038ff08929e16130d0e2c3f27dfc3ad23 (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
# Created by: Lars Thegler <lth@FreeBSD.org>
# $FreeBSD$

PORTNAME=   MooseX-SimpleConfig
PORTVERSION=    0.09
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= lth@FreeBSD.org
COMMENT=    A Moose role for setting attributes from a simple configfile

RUN_DEPENDS=    p5-Moose>=0.35:${PORTSDIR}/devel/p5-Moose \
        p5-MooseX-ConfigFromFile>=0.02:${PORTSDIR}/devel/p5-MooseX-ConfigFromFile \
        p5-Config-Any>=0.13:${PORTSDIR}/devel/p5-Config-Any
BUILD_DEPENDS:= ${RUN_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       MooseX::SimpleConfig.3

post-patch:
    @${REINPLACE_CMD} -e '/auto_install/d' -e '/Test::More/d' \
        ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>