diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2010-06-18 00:34:31 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2010-06-18 00:34:31 +0000 |
commit | f44e6bbbd3604e00089729cca97aba289f6b0ecf (patch) | |
tree | cee5a135d1cb2cabb78b0567302a0e74b251b039 /devel/p5-Params-Validate | |
parent | f859ea7759cc93d1e7b440d20938fb0999268a70 (diff) |
Notes
Diffstat (limited to 'devel/p5-Params-Validate')
-rw-r--r-- | devel/p5-Params-Validate/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/devel/p5-Params-Validate/Makefile b/devel/p5-Params-Validate/Makefile index 14dbfef823ee..8e2725c45f19 100644 --- a/devel/p5-Params-Validate/Makefile +++ b/devel/p5-Params-Validate/Makefile @@ -7,7 +7,7 @@ PORTNAME= Params-Validate PORTVERSION= 0.95 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -15,13 +15,16 @@ PKGNAMEPREFIX= p5- MAINTAINER= dsh@vlink.ru COMMENT= Validate method/function parameters -BUILD_DEPENDS= p5-Attribute-Handlers>=0.79:${PORTSDIR}/devel/p5-Attribute-Handlers \ - p5-ExtUtils-CBuilder>=0.2703:${PORTSDIR}/devel/p5-ExtUtils-CBuilder -RUN_DEPENDS= p5-Attribute-Handlers>=0.79:${PORTSDIR}/devel/p5-Attribute-Handlers - PERL_MODBUILD= yes MAN3= Attribute::Params::Validate.3 Params::ValidateXS.3 \ Params::ValidatePP.3 Params::Validate.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-Attribute-Handlers>=0.79:${PORTSDIR}/devel/p5-Attribute-Handlers +BUILD_DEPENDS+= p5-Attribute-Handlers>=0.79:${PORTSDIR}/devel/p5-Attribute-Handlers +.endif + +.include <bsd.port.post.mk> |