From 67be4aa503c5752d047ce30632c5fc1d15d90229 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 9 Nov 2013 23:13:34 +0000 Subject: [PATCH] - Add p5-JSON-Tiny 0.36 JSON::Tiny is a standalone adaptation of Mojo::JSON, from the Mojolicious framework. It has been adapted as a single-source-file module of under 350 lines of code and core-only dependencies. Key features include relaxed JSON handling, transparent Unicode support, speed, small memory footprint, and a minimal code base ideal for bundling or inlining. Mojo::JSON was chosen as a model because it is robust, minimal, and well tested. Mojo::JSON's tests were also adapted to a design free of non-core dependencies. WWW: http://search.cpan.org/dist/JSON-Tiny/ --- converters/Makefile | 1 + converters/p5-JSON-Tiny/Makefile | 20 ++++++++++++++++++++ converters/p5-JSON-Tiny/distinfo | 2 ++ converters/p5-JSON-Tiny/pkg-descr | 11 +++++++++++ converters/p5-JSON-Tiny/pkg-plist | 7 +++++++ 5 files changed, 41 insertions(+) create mode 100644 converters/p5-JSON-Tiny/Makefile create mode 100644 converters/p5-JSON-Tiny/distinfo create mode 100644 converters/p5-JSON-Tiny/pkg-descr create mode 100644 converters/p5-JSON-Tiny/pkg-plist diff --git a/converters/Makefile b/converters/Makefile index 519c1ea6bf41..98734b9c798a 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -90,6 +90,7 @@ SUBDIR += p5-JSON-DWIW SUBDIR += p5-JSON-MaybeXS SUBDIR += p5-JSON-PP + SUBDIR += p5-JSON-Tiny SUBDIR += p5-JSON-XS SUBDIR += p5-JSON-XS-VersionOneAndTwo SUBDIR += p5-JSON1 diff --git a/converters/p5-JSON-Tiny/Makefile b/converters/p5-JSON-Tiny/Makefile new file mode 100644 index 000000000000..71f4b9c3904b --- /dev/null +++ b/converters/p5-JSON-Tiny/Makefile @@ -0,0 +1,20 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= JSON-Tiny +PORTVERSION= 0.36 +CATEGORIES= converters perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Minimalistic JSON + +LICENSE= ART20 + +TEST_DEPENDS= p5-Test-Pod>=1.26:${PORTSDIR}/devel/p5-Test-Pod + +USE_PERL5= configure +USES= perl5 + +.include diff --git a/converters/p5-JSON-Tiny/distinfo b/converters/p5-JSON-Tiny/distinfo new file mode 100644 index 000000000000..8f51bb614335 --- /dev/null +++ b/converters/p5-JSON-Tiny/distinfo @@ -0,0 +1,2 @@ +SHA256 (JSON-Tiny-0.36.tar.gz) = 8683f02c53183dacef547e0d595f6c26de48931fd64e34b5bbb0586e1b7879d4 +SIZE (JSON-Tiny-0.36.tar.gz) = 20126 diff --git a/converters/p5-JSON-Tiny/pkg-descr b/converters/p5-JSON-Tiny/pkg-descr new file mode 100644 index 000000000000..d21b669e3577 --- /dev/null +++ b/converters/p5-JSON-Tiny/pkg-descr @@ -0,0 +1,11 @@ +JSON::Tiny is a standalone adaptation of Mojo::JSON, from the Mojolicious +framework. It has been adapted as a single-source-file module of under 350 lines +of code and core-only dependencies. + +Key features include relaxed JSON handling, transparent Unicode support, speed, +small memory footprint, and a minimal code base ideal for bundling or inlining. + +Mojo::JSON was chosen as a model because it is robust, minimal, and well tested. +Mojo::JSON's tests were also adapted to a design free of non-core dependencies. + +WWW: http://search.cpan.org/dist/JSON-Tiny/ diff --git a/converters/p5-JSON-Tiny/pkg-plist b/converters/p5-JSON-Tiny/pkg-plist new file mode 100644 index 000000000000..b0e648552fa7 --- /dev/null +++ b/converters/p5-JSON-Tiny/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/JSON/Tiny.pm +%%SITE_PERL%%/JSON/Tiny.pod +%%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON/Tiny/.packlist +%%PERL5_MAN3%%/JSON::Tiny.3.gz +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON/Tiny +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON +@dirrmtry %%SITE_PERL%%/JSON