diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2009-08-28 15:37:11 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2009-08-28 15:37:11 +0000 |
commit | b331d1c1d31da5f42f0cb88d042e8894b192e6c4 (patch) | |
tree | 883201d9e7e34db62e270f85d417c706da44c2de /devel/p5-MooseX-Getopt | |
parent | 00231416144c84629a55c64c66a77d86859d64e2 (diff) | |
download | ports-b331d1c1d31da5f42f0cb88d042e8894b192e6c4.tar.gz ports-b331d1c1d31da5f42f0cb88d042e8894b192e6c4.zip |
Notes
Diffstat (limited to 'devel/p5-MooseX-Getopt')
-rw-r--r-- | devel/p5-MooseX-Getopt/Makefile | 16 | ||||
-rw-r--r-- | devel/p5-MooseX-Getopt/distinfo | 6 |
2 files changed, 14 insertions, 8 deletions
diff --git a/devel/p5-MooseX-Getopt/Makefile b/devel/p5-MooseX-Getopt/Makefile index d9adcc1a5d05..4a72a504f60c 100644 --- a/devel/p5-MooseX-Getopt/Makefile +++ b/devel/p5-MooseX-Getopt/Makefile @@ -6,7 +6,7 @@ # PORTNAME= MooseX-Getopt -PORTVERSION= 0.20 +PORTVERSION= 0.21 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,10 +14,10 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= A Moose role for processing command line options -RUN_DEPENDS= p5-Moose>=0.56:${PORTSDIR}/devel/p5-Moose \ - p5-Getopt-Long>=2.37:${PORTSDIR}/devel/p5-Getopt-Long \ - p5-Getopt-Long-Descriptive>=0:${PORTSDIR}/devel/p5-Getopt-Long-Descriptive +RUN_DEPENDS= p5-Getopt-Long-Descriptive>=0:${PORTSDIR}/devel/p5-Getopt-Long-Descriptive \ + p5-Moose>=0.56:${PORTSDIR}/devel/p5-Moose BUILD_DEPENDS= ${RUN_DEPENDS} +BUILD_DEPENDS+= p5-Test-Exception>=0.21:${PORTSDIR}/devel/p5-Test-Exception PERL_CONFIGURE= 5.8.0+ @@ -33,4 +33,10 @@ MAN3= MooseX::Getopt.3 \ post-extract: @${PERL} -i -ne 'print unless m,build_requires,' ${WRKSRC}/Makefile.PL -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-Getopt-Long>=2.37:${PORTSDIR}/devel/p5-Getopt-Long +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-MooseX-Getopt/distinfo b/devel/p5-MooseX-Getopt/distinfo index b354af54c907..5390ab2345f7 100644 --- a/devel/p5-MooseX-Getopt/distinfo +++ b/devel/p5-MooseX-Getopt/distinfo @@ -1,3 +1,3 @@ -MD5 (MooseX-Getopt-0.20.tar.gz) = ff4321b78f1d26cef3a18af4c5f18057 -SHA256 (MooseX-Getopt-0.20.tar.gz) = 9daffb6486747262585319ab5ecd5e3627b71954760246a86ec04d4547b62f8a -SIZE (MooseX-Getopt-0.20.tar.gz) = 26918 +MD5 (MooseX-Getopt-0.21.tar.gz) = 7d84613b06e1bdde78bef9ffbd74cc15 +SHA256 (MooseX-Getopt-0.21.tar.gz) = 085a5b203d36fea11c545022130f706c39dad8c058b630786071e2783bebfb64 +SIZE (MooseX-Getopt-0.21.tar.gz) = 26880 |