Import devel/p5-MooseX-Getopt version 0.47
[dports.git] / devel / p5-MooseX-Getopt / Makefile
1 # New ports collection makefile for:    devel/p5-MooseX-Getopt
2 # Date created:                         28 Jul 2008
3 # Whom:                                 Lars Balker Rasmussen <lbr@FreeBSD.org>
4 #
5 # $FreeBSD: ports/devel/p5-MooseX-Getopt/Makefile,v 1.34 2012/11/17 05:56:23 svnexp Exp $
6 #
7
8 PORTNAME=       MooseX-Getopt
9 PORTVERSION=    0.47
10 CATEGORIES=     devel perl5
11 MASTER_SITES=   CPAN
12 MASTER_SITE_SUBDIR=     CPAN:ETHER
13 PKGNAMEPREFIX=  p5-
14
15 MAINTAINER=     perl@FreeBSD.org
16 COMMENT=        A Moose role for processing command line options
17
18 LICENSE=        ART10 GPLv1
19 LICENSE_COMB=   dual
20
21 BUILD_DEPENDS=  p5-Getopt-Long-Descriptive>=0.081:${PORTSDIR}/devel/p5-Getopt-Long-Descriptive \
22                 p5-Moose>=0.56:${PORTSDIR}/devel/p5-Moose \
23                 p5-MooseX-Role-Parameterized>=0:${PORTSDIR}/devel/p5-MooseX-Role-Parameterized
24 RUN_DEPENDS:=   ${BUILD_DEPENDS}
25 TEST_DEPENDS=   p5-MooseX-SimpleConfig>=0.07:${PORTSDIR}/devel/p5-MooseX-SimpleConfig \
26                 p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class \
27                 p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
28                 p5-Test-Fatal>=0.003:${PORTSDIR}/devel/p5-Test-Fatal \
29                 p5-Test-Requires>=0.05:${PORTSDIR}/devel/p5-Test-Requires \
30                 p5-Test-Trap>=0:${PORTSDIR}/devel/p5-Test-Trap \
31                 p5-Test-Warn>=0.21:${PORTSDIR}/devel/p5-Test-Warn \
32                 p5-YAML-LibYAML>=0:${PORTSDIR}/textproc/p5-YAML-LibYAML
33
34 PERL_CONFIGURE= yes
35
36 MAN3=   MooseX::Getopt.3 \
37         MooseX::Getopt::Basic.3 \
38         MooseX::Getopt::Dashes.3 \
39         MooseX::Getopt::GLD.3 \
40         MooseX::Getopt::Meta::Attribute.3 \
41         MooseX::Getopt::Meta::Attribute::NoGetopt.3 \
42         MooseX::Getopt::Meta::Attribute::Trait.3 \
43         MooseX::Getopt::Meta::Attribute::Trait::NoGetopt.3 \
44         MooseX::Getopt::OptionTypeMap.3 \
45         MooseX::Getopt::ProcessedArgv.3 \
46         MooseX::Getopt::Strict.3
47
48 .include <bsd.port.pre.mk>
49
50 .if ${PERL_LEVEL} < 501001
51 TEST_DEPENDS+=  p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
52 .endif
53
54 .include <bsd.port.post.mk>