Date: Thu, 7 Nov 2013 15:06:57 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333109 - head/converters/p5-JSON-Any Message-ID: <201311071506.rA7F6v8B027424@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Nov 7 15:06:56 2013 New Revision: 333109 URL: http://svnweb.freebsd.org/changeset/ports/333109 Log: - Update 1.31 - Remove hardcoded p5-JSON dependency - Add TEST_DEPENDS - Add CPANEL, JSON_XS, JSON_PP, JSON and JSON_DWIW options for JSON backend Changes: http://search.cpan.org/dist/JSON-Any/CHANGES Modified: head/converters/p5-JSON-Any/Makefile head/converters/p5-JSON-Any/distinfo (contents, props changed) Modified: head/converters/p5-JSON-Any/Makefile ============================================================================== --- head/converters/p5-JSON-Any/Makefile Thu Nov 7 15:06:50 2013 (r333108) +++ head/converters/p5-JSON-Any/Makefile Thu Nov 7 15:06:56 2013 (r333109) @@ -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 vari 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> Modified: head/converters/p5-JSON-Any/distinfo ============================================================================== --- head/converters/p5-JSON-Any/distinfo Thu Nov 7 15:06:50 2013 (r333108) +++ head/converters/p5-JSON-Any/distinfo Thu Nov 7 15:06:56 2013 (r333109) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311071506.rA7F6v8B027424>