summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorabs <abs>2014-02-05 21:43:11 +0000
committerabs <abs>2014-02-05 21:43:11 +0000
commit23f7bc62147eb28a3f47ee60133098c9d27549a1 (patch)
tree7742d5b130829801fb10f0822027416b27417b15 /converters
parentac96565cc16d35cf7955b015b80f798cf01e04db (diff)
downloadpkgsrc-23f7bc62147eb28a3f47ee60133098c9d27549a1.tar.gz
Added converters/p5-JSON-MaybeXS version 1.001000
This module tries to load Cpanel::JSON::XS, and if that fails instead tries to load JSON::PP. If neither is available, an exception will be thrown.
Diffstat (limited to 'converters')
-rw-r--r--converters/p5-JSON-MaybeXS/DESCR3
-rw-r--r--converters/p5-JSON-MaybeXS/Makefile18
-rw-r--r--converters/p5-JSON-MaybeXS/distinfo5
3 files changed, 26 insertions, 0 deletions
diff --git a/converters/p5-JSON-MaybeXS/DESCR b/converters/p5-JSON-MaybeXS/DESCR
new file mode 100644
index 00000000000..26508495628
--- /dev/null
+++ b/converters/p5-JSON-MaybeXS/DESCR
@@ -0,0 +1,3 @@
+This module tries to load Cpanel::JSON::XS, and if that fails
+instead tries to load JSON::PP. If neither is available, an exception
+will be thrown.
diff --git a/converters/p5-JSON-MaybeXS/Makefile b/converters/p5-JSON-MaybeXS/Makefile
new file mode 100644
index 00000000000..27be30f959d
--- /dev/null
+++ b/converters/p5-JSON-MaybeXS/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2014/02/05 21:43:11 abs Exp $
+
+DISTNAME= JSON-MaybeXS-1.001000
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5 converters
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=JSON/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/JSON-MaybeXS/
+COMMENT= Use Cpanel::JSON::XS with a fallback to JSON::PP
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-JSON-PP>=2.27202:../../converters/p5-JSON-PP
+
+PERL5_PACKLIST= auto/JSON/MaybeXS/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/p5-JSON-MaybeXS/distinfo b/converters/p5-JSON-MaybeXS/distinfo
new file mode 100644
index 00000000000..7d4e7a2baa0
--- /dev/null
+++ b/converters/p5-JSON-MaybeXS/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2014/02/05 21:43:11 abs Exp $
+
+SHA1 (JSON-MaybeXS-1.001000.tar.gz) = a944f5dfa9630df01984548cc90024d96141d347
+RMD160 (JSON-MaybeXS-1.001000.tar.gz) = 8cad3f4536edf490fa89b330563ce44e2edab64e
+Size (JSON-MaybeXS-1.001000.tar.gz) = 4906 bytes