import p5-JSON-MaybeXS 1.003005
OK benoit@ use Cpanel::JSON::XS or JSON::XS or JSON::PP This module first checks to see if either Cpanel::JSON::XS or JSON::XS is already loaded, in which case it uses that module. Otherwise it tries to load Cpanel::JSON::XS, then JSON::XS, then JSON::PP in order, and either uses the first module it finds or throws an error.
This commit is contained in:
parent
e1350ba983
commit
fd36514911
17
converters/p5-JSON-MaybeXS/Makefile
Normal file
17
converters/p5-JSON-MaybeXS/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2015/08/24 14:38:01 bluhm Exp $
|
||||
|
||||
COMMENT = use Cpanel::JSON::XS or JSON::XS or JSON::PP
|
||||
|
||||
DISTNAME = JSON-MaybeXS-1.003005
|
||||
|
||||
CATEGORIES = converters
|
||||
|
||||
MAINTAINER = Alexander Bluhm <bluhm@openbsd.org>
|
||||
|
||||
# perl_5
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MODULES = cpan
|
||||
TEST_DEPENDS = devel/p5-Test-Without-Module>=0.17
|
||||
|
||||
.include <bsd.port.mk>
|
2
converters/p5-JSON-MaybeXS/distinfo
Normal file
2
converters/p5-JSON-MaybeXS/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (JSON-MaybeXS-1.003005.tar.gz) = vbRpS1ZPEEWdSbllhpPOuLkbZtsPxenxnPFfPORsyAo=
|
||||
SIZE (JSON-MaybeXS-1.003005.tar.gz) = 10373
|
5
converters/p5-JSON-MaybeXS/pkg/DESCR
Normal file
5
converters/p5-JSON-MaybeXS/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
This module first checks to see if either Cpanel::JSON::XS or
|
||||
JSON::XS is already loaded, in which case it uses that module.
|
||||
Otherwise it tries to load Cpanel::JSON::XS, then JSON::XS, then
|
||||
JSON::PP in order, and either uses the first module it finds or
|
||||
throws an error.
|
4
converters/p5-JSON-MaybeXS/pkg/PLIST
Normal file
4
converters/p5-JSON-MaybeXS/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/08/24 14:38:01 bluhm Exp $
|
||||
${P5SITE}/JSON/
|
||||
${P5SITE}/JSON/MaybeXS.pm
|
||||
@man man/man3p/JSON::MaybeXS.3p
|
Loading…
Reference in New Issue
Block a user