aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-03-19 01:33:36 +0800
committerrafan <rafan@FreeBSD.org>2007-03-19 01:33:36 +0800
commite5792edc4966e600470e6ea363cfe6581ae0fadd (patch)
treea9fe02b33d69e30e6fe55f11c9774fb753c0832e /converters
parent7345d9929e676bed4e32d8ac3b0f35b37da5d121 (diff)
downloadfreebsd-ports-graphics-e5792edc4966e600470e6ea363cfe6581ae0fadd.tar.gz
freebsd-ports-graphics-e5792edc4966e600470e6ea363cfe6581ae0fadd.tar.zst
freebsd-ports-graphics-e5792edc4966e600470e6ea363cfe6581ae0fadd.zip
Add p5-JSON-DWIW 0.02, JSON converter that Does What I Want.
PR: ports/110468 Submitted by: chinsan
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile1
-rw-r--r--converters/p5-JSON-DWIW/Makefile22
-rw-r--r--converters/p5-JSON-DWIW/distinfo3
-rw-r--r--converters/p5-JSON-DWIW/pkg-descr11
-rw-r--r--converters/p5-JSON-DWIW/pkg-plist7
5 files changed, 44 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index e7739c755fa..7204b56ef26 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -57,6 +57,7 @@
SUBDIR += p5-Encode-JIS2K
SUBDIR += p5-Encode-compat
SUBDIR += p5-JSON
+ SUBDIR += p5-JSON-DWIW
SUBDIR += p5-MIME-Base32
SUBDIR += p5-MIME-Base64
SUBDIR += p5-Number-Nary
diff --git a/converters/p5-JSON-DWIW/Makefile b/converters/p5-JSON-DWIW/Makefile
new file mode 100644
index 00000000000..43d6f605d3e
--- /dev/null
+++ b/converters/p5-JSON-DWIW/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: p5-JSON-DWIW
+# Date created: 2007/02/14
+# Whom: chinsan
+#
+# $FreeBSD$
+#
+
+PORTNAME= JSON-DWIW
+PORTVERSION= 0.02
+CATEGORIES= converters perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/D/DO/DOWENS
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= chinsan@FreeBSD.org
+COMMENT= JSON converter that Does What I Want
+
+MAN3= JSON::DWIW.3
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/converters/p5-JSON-DWIW/distinfo b/converters/p5-JSON-DWIW/distinfo
new file mode 100644
index 00000000000..23dee5fe2e7
--- /dev/null
+++ b/converters/p5-JSON-DWIW/distinfo
@@ -0,0 +1,3 @@
+MD5 (JSON-DWIW-0.02.tar.gz) = a2bb5b997b232d4942ad9aeff60e795c
+SHA256 (JSON-DWIW-0.02.tar.gz) = 731214ba0a2ed9d19417a9a950ef43b4619f72b32f2d523f2d181f312e563f61
+SIZE (JSON-DWIW-0.02.tar.gz) = 10576
diff --git a/converters/p5-JSON-DWIW/pkg-descr b/converters/p5-JSON-DWIW/pkg-descr
new file mode 100644
index 00000000000..6056f41fa26
--- /dev/null
+++ b/converters/p5-JSON-DWIW/pkg-descr
@@ -0,0 +1,11 @@
+Other JSON modules require setting several parameters before calling the
+conversion methods to do what I want. This module does things by default
+that I think should be done when working with JSON in Perl. This module also
+encodes and decodes faster than JSON.pm and JSON::Syck in my benchmarks.
+
+This means that any piece of data in Perl will get converted to something in
+JSON instead of throwing an exception. It also means that output will be
+strict JSON, while accepted input will be flexible, without having to set
+any options.
+
+WWW: http://search.cpan.org/dist/JSON-DWIW/
diff --git a/converters/p5-JSON-DWIW/pkg-plist b/converters/p5-JSON-DWIW/pkg-plist
new file mode 100644
index 00000000000..6db6031943a
--- /dev/null
+++ b/converters/p5-JSON-DWIW/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON/DWIW/DWIW.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON/DWIW/DWIW.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON/DWIW/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/JSON/DWIW.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON/DWIW
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/JSON/