From d05ca5c3cea20fd34087379df13de9ede861d272 Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 4 Apr 2008 15:21:50 +0000 Subject: Initial import of ruby18-json-pure-1.1.2 as textproc/ruby-json-pure. This is a implementation of the JSON specification according to RFC 4627. You can think of it as a low fat alternative to XML, if you want to store data to disk or transmit it over a network rather than use a verbose markup language. The JSON generator escapes all non-ASCII an control characters with \uXXXX escape sequences and supports UTF-16 surrogate pairs in order to be able to generate the whole range of Unicode code points. This means that generated JSON text is encoded as UTF-8 (because ASCII is a subset of UTF-8) and at the same time avoids decoding problems for receiving endpoints that don't expect UTF-8 encoded texts. This package is a pure Ruby variant that relies on the iconv and the stringscan extensions, which are both part of the Ruby standard library. --- textproc/ruby-json-pure/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 textproc/ruby-json-pure/Makefile (limited to 'textproc/ruby-json-pure/Makefile') diff --git a/textproc/ruby-json-pure/Makefile b/textproc/ruby-json-pure/Makefile new file mode 100644 index 00000000000..56daac3ed2c --- /dev/null +++ b/textproc/ruby-json-pure/Makefile @@ -0,0 +1,12 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:21:50 jlam Exp $ + +DISTNAME= json_pure-1.1.2 +PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/_/-/g} +CATEGORIES= textproc + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://json.rubyforge.org/ +COMMENT= Pure Ruby implementation of JSON + +.include "../../misc/rubygems/rubygem.mk" +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3