summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2008-06-22 12:37:37 +0000
committerkim <kim@pkgsrc.org>2008-06-22 12:37:37 +0000
commitfa6d3da28270d924733b3faf1a4f475d2dbc4fa1 (patch)
tree5b526eedd49c40830dccaa9459678fc8963f9b4f
parent1ec280a5eed325c82b12e65f22cb39b9255b7578 (diff)
downloadpkgsrc-fa6d3da28270d924733b3faf1a4f475d2dbc4fa1.tar.gz
Add JSON::XS::VersionOneAndTwo - Support versions 1 and 2 of JSON::XS
-rw-r--r--converters/p5-JSON-XS-VersionOneAndTwo/DESCR4
-rw-r--r--converters/p5-JSON-XS-VersionOneAndTwo/Makefile18
-rw-r--r--converters/p5-JSON-XS-VersionOneAndTwo/distinfo5
3 files changed, 27 insertions, 0 deletions
diff --git a/converters/p5-JSON-XS-VersionOneAndTwo/DESCR b/converters/p5-JSON-XS-VersionOneAndTwo/DESCR
new file mode 100644
index 00000000000..16f751cc1fa
--- /dev/null
+++ b/converters/p5-JSON-XS-VersionOneAndTwo/DESCR
@@ -0,0 +1,4 @@
+JSON::XS changed its API at version 2.01. If you have to maintain
+code which may be run on systems with either version one or two
+then this is a bit of a pain. This module takes the pain away
+without sacrificing performance.
diff --git a/converters/p5-JSON-XS-VersionOneAndTwo/Makefile b/converters/p5-JSON-XS-VersionOneAndTwo/Makefile
new file mode 100644
index 00000000000..9e4a03c58a4
--- /dev/null
+++ b/converters/p5-JSON-XS-VersionOneAndTwo/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/06/22 12:37:37 kim Exp $
+#
+
+DISTNAME= JSON-XS-VersionOneAndTwo-0.31
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/L/LB/LBROCARD/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/JSON-XS-VersionOneAndTwo/
+COMMENT= Support versions 1 and 2 of JSON::XS
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/JSON/XS/VersionOneAndTwo/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/p5-JSON-XS-VersionOneAndTwo/distinfo b/converters/p5-JSON-XS-VersionOneAndTwo/distinfo
new file mode 100644
index 00000000000..1e00a1fa52b
--- /dev/null
+++ b/converters/p5-JSON-XS-VersionOneAndTwo/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/06/22 12:37:37 kim Exp $
+
+SHA1 (JSON-XS-VersionOneAndTwo-0.31.tar.gz) = 4762552cf5b4b8a22fd2d872e0f5b4c6541f1876
+RMD160 (JSON-XS-VersionOneAndTwo-0.31.tar.gz) = 2cfc36dceae3c1156c8bc303a979165608f288e4
+Size (JSON-XS-VersionOneAndTwo-0.31.tar.gz) = 2149 bytes