aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Params-Validate
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2003-05-15 09:26:22 +0000
committerAnton Berezin <tobez@FreeBSD.org>2003-05-15 09:26:22 +0000
commit6386f058f98f7a8d855522c7406fc3865a7f1017 (patch)
treeaf536034ec39396ca00a3be1fd81980e85738b4a /devel/p5-Params-Validate
parent37d646765a555a1d439645b6af9d49368aaeebdc (diff)
downloadports-6386f058f98f7a8d855522c7406fc3865a7f1017.tar.gz
ports-6386f058f98f7a8d855522c7406fc3865a7f1017.zip
Notes
Diffstat (limited to 'devel/p5-Params-Validate')
-rw-r--r--devel/p5-Params-Validate/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/devel/p5-Params-Validate/Makefile b/devel/p5-Params-Validate/Makefile
index a252a99dd703..d931cd1986a5 100644
--- a/devel/p5-Params-Validate/Makefile
+++ b/devel/p5-Params-Validate/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Params-Validate
PORTVERSION= 0.54
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Devel/DROLSKY
@@ -23,14 +24,7 @@ MAN3= Attribute::Params::Validate.3 Params::ValidateXS.3 \
.include <bsd.port.pre.mk>
-##
-## this port depends on devel/p5-Attribute-Handlers
-## which requires PERL 5.6.x or later
-##
-.if ${PERL_LEVEL} < 500600
-IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
-.endif
-.if ${PERL_LEVEL} < 500800
+.if ${PERL_LEVEL} >= 500600 && ${PERL_LEVEL} < 500800
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Attribute/Handlers.pm:${PORTSDIR}/devel/p5-Attribute-Handlers
RUN_DEPENDS= ${BUILD_DEPENDS}
.endif