From 1a83153ad5cd31a794f9777d4a0885c3062c5767 Mon Sep 17 00:00:00 2001 From: taca Date: Tue, 13 Sep 2011 15:21:01 +0000 Subject: Importing ruby-json-utils version 1.6.0 package. This pacakge has separated from ruby-json-pure and it contains utilities for handling JSON data. --- textproc/ruby-json-utils/DESCR | 6 ++++++ textproc/ruby-json-utils/Makefile | 25 +++++++++++++++++++++++++ textproc/ruby-json-utils/PLIST | 29 +++++++++++++++++++++++++++++ textproc/ruby-json-utils/distinfo | 5 +++++ 4 files changed, 65 insertions(+) create mode 100644 textproc/ruby-json-utils/DESCR create mode 100644 textproc/ruby-json-utils/Makefile create mode 100644 textproc/ruby-json-utils/PLIST create mode 100644 textproc/ruby-json-utils/distinfo (limited to 'textproc') diff --git a/textproc/ruby-json-utils/DESCR b/textproc/ruby-json-utils/DESCR new file mode 100644 index 00000000000..c81d356ab58 --- /dev/null +++ b/textproc/ruby-json-utils/DESCR @@ -0,0 +1,6 @@ +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. + +And this pacakge contains utilities for handling JSON data. diff --git a/textproc/ruby-json-utils/Makefile b/textproc/ruby-json-utils/Makefile new file mode 100644 index 00000000000..5b58118bc3f --- /dev/null +++ b/textproc/ruby-json-utils/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/09/13 15:21:01 taca Exp $ + +DISTNAME= json-utils-1.6.0 +CATEGORIES= textproc + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://flori.github.com/json +COMMENT= Utilities for handling JSON data +LICENSE= ruby-license + +REPLACE_RUBY= bin/edit_json.rb bin/prettify_json.rb + +DEPENDS+= ${RUBY_PKGPREFIX}-spruz>=0.2.8<0.3:../../devel/ruby-spruz +DEPENDS+= ${RUBY_PKGPREFIX}-json>=1.6<2:../../textproc/ruby-json +DEPENDS+= ${RUBY_PKGPREFIX}-gnome2>=1.0<2:../../meta-pkgs/ruby-gnome2 + +CONFLICTS+= ruby[1-9][0-9]-json-utils>=0 + +post-extract: + cd ${WRKSRC}; ${FIND} . -xdev -type f -print | ${XARGS} ${CHMOD} g-w + +OVERRIDE_GEMSPEC= gtk2: + +.include "../../lang/ruby/gem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-json-utils/PLIST b/textproc/ruby-json-utils/PLIST new file mode 100644 index 00000000000..df146d88371 --- /dev/null +++ b/textproc/ruby-json-utils/PLIST @@ -0,0 +1,29 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/09/13 15:21:01 taca Exp $ +bin/edit_json.rb +bin/prettify_json.rb +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/.gitignore +${GEM_LIBDIR}/COPYING +${GEM_LIBDIR}/GPL +${GEM_LIBDIR}/Gemfile +${GEM_LIBDIR}/LICENSE +${GEM_LIBDIR}/README.rdoc +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/VERSION +${GEM_LIBDIR}/bin/edit_json.rb +${GEM_LIBDIR}/bin/prettify_json.rb +${GEM_LIBDIR}/data/example.json +${GEM_LIBDIR}/json-utils.gemspec +${GEM_LIBDIR}/lib/json/Array.xpm +${GEM_LIBDIR}/lib/json/FalseClass.xpm +${GEM_LIBDIR}/lib/json/Hash.xpm +${GEM_LIBDIR}/lib/json/Key.xpm +${GEM_LIBDIR}/lib/json/NilClass.xpm +${GEM_LIBDIR}/lib/json/Numeric.xpm +${GEM_LIBDIR}/lib/json/String.xpm +${GEM_LIBDIR}/lib/json/TrueClass.xpm +${GEM_LIBDIR}/lib/json/editor.rb +${GEM_LIBDIR}/lib/json/json.xpm +${GEM_LIBDIR}/lib/json/utils.rb +${GEM_LIBDIR}/lib/json/utils/version.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/textproc/ruby-json-utils/distinfo b/textproc/ruby-json-utils/distinfo new file mode 100644 index 00000000000..c4937500b00 --- /dev/null +++ b/textproc/ruby-json-utils/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/09/13 15:21:01 taca Exp $ + +SHA1 (json-utils-1.6.0.gem) = f7c9a39508c1fd9808e3752ca28ade2f196604c2 +RMD160 (json-utils-1.6.0.gem) = cf5c5a55a579927b92a4d9296cabe226090d859d +Size (json-utils-1.6.0.gem) = 36864 bytes -- cgit v1.2.3