summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-04 15:22:14 +0000
committerjlam <jlam@pkgsrc.org>2008-04-04 15:22:14 +0000
commitdb439f23ca91cb5890467277d03eab08bc3e75a2 (patch)
treecc65d8dc538556bfd82957bd08bf838cff9f3a0a /textproc
parent4db1880478815d9bfd5efdf781ee188208d67991 (diff)
downloadpkgsrc-db439f23ca91cb5890467277d03eab08bc3e75a2.tar.gz
Initial import of ruby18-rison-1.2.1 as textproc/ruby-rison.
Ruby-rison is a pure Ruby parser for Rison, a data serialization format optimized for compactness in URIs. Rison is a slight variation of JSON that looks vastly superior after URI encoding. Rison still expresses exactly the same set of data structures as JSON, so data can be translated back and forth without loss or guesswork.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-rison/DESCR5
-rw-r--r--textproc/ruby-rison/Makefile14
-rw-r--r--textproc/ruby-rison/PLIST19
-rw-r--r--textproc/ruby-rison/distinfo5
4 files changed, 43 insertions, 0 deletions
diff --git a/textproc/ruby-rison/DESCR b/textproc/ruby-rison/DESCR
new file mode 100644
index 00000000000..a24088b0362
--- /dev/null
+++ b/textproc/ruby-rison/DESCR
@@ -0,0 +1,5 @@
+Ruby-rison is a pure Ruby parser for Rison, a data serialization format
+optimized for compactness in URIs. Rison is a slight variation of JSON
+that looks vastly superior after URI encoding. Rison still expresses
+exactly the same set of data structures as JSON, so data can be translated
+back and forth without loss or guesswork.
diff --git a/textproc/ruby-rison/Makefile b/textproc/ruby-rison/Makefile
new file mode 100644
index 00000000000..8c1b5757939
--- /dev/null
+++ b/textproc/ruby-rison/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:22:14 jlam Exp $
+
+DISTNAME= rison-1.2.1
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://rison.rubyforge.org/
+COMMENT= Pure Ruby parser for Rison
+
+DEPENDS+= ${RUBY_PKGPREFIX}-dhaka>=2.2.1:../../devel/ruby-dhaka
+
+.include "../../misc/rubygems/rubygem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-rison/PLIST b/textproc/ruby-rison/PLIST
new file mode 100644
index 00000000000..2279e28ebb3
--- /dev/null
+++ b/textproc/ruby-rison/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/04 15:22:14 jlam Exp $
+${GEM_HOME}/cache/rison-${PKGVERSION}.gem
+${GEM_LIBDIR}/COPYING.txt
+${GEM_LIBDIR}/README.html
+${GEM_LIBDIR}/Rakefile.rb
+${GEM_LIBDIR}/lib/rison.rb
+${GEM_LIBDIR}/lib/rison/dump.rb
+${GEM_LIBDIR}/lib/rison/evaluator.rb
+${GEM_LIBDIR}/lib/rison/grammar.rb
+${GEM_LIBDIR}/lib/rison/lexer.rb
+${GEM_LIBDIR}/lib/rison/parser.rb
+${GEM_LIBDIR}/test/test_dump.rb
+${GEM_LIBDIR}/test/test_parser.rb
+${GEM_HOME}/specifications/rison-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/test
+@dirrm ${GEM_LIBDIR}/lib/rison
+@dirrm ${GEM_LIBDIR}/lib
+@dirrm ${GEM_LIBDIR}
+@exec ${MKDIR} %D/${GEM_DOCDIR}
diff --git a/textproc/ruby-rison/distinfo b/textproc/ruby-rison/distinfo
new file mode 100644
index 00000000000..6e24c881874
--- /dev/null
+++ b/textproc/ruby-rison/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:22:14 jlam Exp $
+
+SHA1 (rison-1.2.1.gem) = c9e383303e82724caf8fc8ea0899647657a4168d
+RMD160 (rison-1.2.1.gem) = 33bfdcbe0ef9e379371438fbe35de40aed4f24ac
+Size (rison-1.2.1.gem) = 9728 bytes