aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-03-18 17:33:36 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-03-18 17:33:36 +0000
commite6d1bd97eaa717364d19496c18e5ffa56b7808d1 (patch)
tree2b863cf1333b71097659b49f0f3fc02765d30306 /converters
parent3b4110d8ff5f2c6f83391556a947ede08c80929d (diff)
downloadports-e6d1bd97eaa717364d19496c18e5ffa56b7808d1.tar.gz
ports-e6d1bd97eaa717364d19496c18e5ffa56b7808d1.zip
Add p5-JSON-DWIW 0.02, JSON converter that Does What I Want.
PR: ports/110468 Submitted by: chinsan
Notes
Notes: svn path=/head/; revision=187667
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 e7739c755fad..7204b56ef266 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 000000000000..43d6f605d3ee
--- /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 000000000000..23dee5fe2e78
--- /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 000000000000..6056f41fa261
--- /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 000000000000..6db6031943a0
--- /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/