diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-11-07 15:06:56 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-11-07 15:06:56 +0000 |
commit | fd1bb382206c5443a7b55a9d5da92617e9f1097a (patch) | |
tree | bf614e6af181b38e74a7619f0fe9602d4de88e62 /converters/p5-JSON-Any | |
parent | fadbb6f4e0933f64d520d8642e12edcbe179a38a (diff) | |
download | ports-fd1bb382206c5443a7b55a9d5da92617e9f1097a.tar.gz ports-fd1bb382206c5443a7b55a9d5da92617e9f1097a.zip |
Notes
Diffstat (limited to 'converters/p5-JSON-Any')
-rw-r--r-- | converters/p5-JSON-Any/Makefile | 38 | ||||
-rw-r--r-- | converters/p5-JSON-Any/distinfo | 4 |
2 files changed, 36 insertions, 6 deletions
diff --git a/converters/p5-JSON-Any/Makefile b/converters/p5-JSON-Any/Makefile index 7c47e9b2d087..1e901915c9a8 100644 --- a/converters/p5-JSON-Any/Makefile +++ b/converters/p5-JSON-Any/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= JSON-Any -PORTVERSION= 1.30 +PORTVERSION= 1.31 CATEGORIES= converters perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -13,10 +13,40 @@ COMMENT= Perl Wrapper Class for the various JSON classes LICENSE= ART10 GPLv1 LICENSE_COMB= dual -BUILD_DEPENDS= p5-JSON>=2.02:${PORTSDIR}/converters/p5-JSON -RUN_DEPENDS= p5-JSON>=2.02:${PORTSDIR}/converters/p5-JSON +TEST_DEPENDS= p5-Cpanel-JSON-XS>=0:${PORTSDIR}/converters/p5-Cpanel-JSON-XS \ + p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \ + p5-JSON-DWIW>=0:${PORTSDIR}/converters/p5-JSON-DWIW \ + p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS \ + p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires \ + p5-Test-Without-Module>=0.17:${PORTSDIR}/devel/p5-Test-Without-Module + +# Author preference: Cpanel::JSON::XS > JSON::XS > JSON::PP > JSON > JSON::DWIW +OPTIONS_DEFINE= CPANEL JSON_XS JSON_PP JSON JSON_DWIW +OPTIONS_DEFAULT=CPANEL +CPANEL_DESC= Use Cpanel::JSON::XS +JSON_DESC= Use JSON +JSON_DWIW_DESC= Use JSON::DWIW +JSON_PP_DESC= Use JSON::PP +JSON_XS_DESC= Use JSON::XS USES= perl5 USE_PERL5= configure -.include <bsd.port.mk> +CPANEL_BUILD_DEPENDS= p5-Cpanel-JSON-XS>=0:${PORTSDIR}/converters/p5-Cpanel-JSON-XS +CPANEL_RUN_DEPENDS= p5-Cpanel-JSON-XS>=0:${PORTSDIR}/converters/p5-Cpanel-JSON-XS +JSON_BUILD_DEPENDS= p5-JSON>=0:${PORTSDIR}/converters/p5-JSON +JSON_RUN_DEPENDS= p5-JSON>=0:${PORTSDIR}/converters/p5-JSON +JSON_DWIW_BUILD_DEPENDS=p5-JSON-DWIW>=0:${PORTSDIR}/converters/p5-JSON-DWIW +JSON_DWIW_RUN_DEPENDS= p5-JSON-DWIW>=0:${PORTSDIR}/converters/p5-JSON-DWIW +JSON_PP_BUILD_DEPENDS= p5-JSON-PP>=0:${PORTSDIR}/converters/p5-JSON-PP +JSON_PP_RUN_DEPENDS= p5-JSON-PP>=0:${PORTSDIR}/converters/p5-JSON-PP +JSON_XS_BUILD_DEPENDS= p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS +JSON_XS_RUN_DEPENDS= p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501400 +TEST_DEPENDS+= p5-JSON-PP>=0:${PORTSDIR}/converters/p5-JSON-PP +.endif + +.include <bsd.port.post.mk> diff --git a/converters/p5-JSON-Any/distinfo b/converters/p5-JSON-Any/distinfo index 5afc765c0df8..564fcef0d6d4 100644 --- a/converters/p5-JSON-Any/distinfo +++ b/converters/p5-JSON-Any/distinfo @@ -1,2 +1,2 @@ -SHA256 (JSON-Any-1.30.tar.gz) = 40fcace8ef117cd98f1369237465b2f28331a8ae83558751705e63678b6f6a60 -SIZE (JSON-Any-1.30.tar.gz) = 19612 +SHA256 (JSON-Any-1.31.tar.gz) = 8e7fce281b04ad93b20007d77e78244ec748ac731338f6b7b477a554370dbff3 +SIZE (JSON-Any-1.31.tar.gz) = 26546 |