diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2012-03-13 16:15:36 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2012-03-13 16:15:36 +0000 |
commit | b59621d3ae883bef429a8fae6073bfa293a55222 (patch) | |
tree | b415c7b2903cf47ada68c5557c3c6ac33a25fc41 /devel/p5-Params-Validate | |
parent | e93c09b8f3675471a176b72ae1e6f085f7a607ad (diff) | |
download | ports-b59621d3ae883bef429a8fae6073bfa293a55222.tar.gz ports-b59621d3ae883bef429a8fae6073bfa293a55222.zip |
Notes
Diffstat (limited to 'devel/p5-Params-Validate')
-rw-r--r-- | devel/p5-Params-Validate/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/devel/p5-Params-Validate/Makefile b/devel/p5-Params-Validate/Makefile index df0e66db3bf5..e012b39c3891 100644 --- a/devel/p5-Params-Validate/Makefile +++ b/devel/p5-Params-Validate/Makefile @@ -28,4 +28,15 @@ PERL_MODBUILD= yes MAN3= Attribute::Params::Validate.3 \ Params::Validate.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +BUILD_DEPENDS+= p5-Attribute-Handlers>=0.79:${PORTSDIR}/devel/p5-Attribute-Handlers +RUN_DEPENDS+= p5-Attribute-Handlers>=0.79:${PORTSDIR}/devel/p5-Attribute-Handlers +.endif + +.if ${PERL_LEVEL} < 501000 +TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> |