summaryrefslogtreecommitdiff
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
commit0d8ca0aea69e5a79fa2996585f248d5d00ed664a (patch)
treecc65d8dc538556bfd82957bd08bf838cff9f3a0a
parent812895e9d3d9c541d01e4bba5d7912f5534b1f14 (diff)
downloadpkgsrc-0d8ca0aea69e5a79fa2996585f248d5d00ed664a.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.
-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