[70470] trunk/dports/ruby

kimuraw at macports.org kimuraw at macports.org
Tue Aug 10 07:39:02 PDT 2010


Revision: 70470
          http://trac.macports.org/changeset/70470
Author:   kimuraw at macports.org
Date:     2010-08-10 07:39:02 -0700 (Tue, 10 Aug 2010)
Log Message:
-----------
ruby/rb-json_pure: add a new port, rb-json_pure 1.4.6

Added Paths:
-----------
    trunk/dports/ruby/rb-json_pure/
    trunk/dports/ruby/rb-json_pure/Portfile

Added: trunk/dports/ruby/rb-json_pure/Portfile
===================================================================
--- trunk/dports/ruby/rb-json_pure/Portfile	                        (rev 0)
+++ trunk/dports/ruby/rb-json_pure/Portfile	2010-08-10 14:39:02 UTC (rev 70470)
@@ -0,0 +1,29 @@
+# $Id$
+
+PortSystem		    1.0
+PortGroup		    ruby 1.0
+
+ruby.setup          json_pure 1.4.6 gem {} rubygems
+description         This is a JSON implementation in pure Ruby.
+long_description    \
+    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.
+license             Ruby
+maintainers         kimuraw openmaintainer
+homepage            http://flori.github.com/json/
+platforms			darwin
+checksums           md5     efc352b7e48263cba1d4e7d96c7721b1 \
+                    sha1    9fe74cdffaba077e1209f9222e8b7ddd282966df \
+                    rmd160  2ce9c5c4315c330a0f9dac5592e4c8d6c134efc6
+
+# avoid conflict against a command from port:rb-json
+post-destroot {
+    foreach dir {bin lib/ruby/gems/1.8/bin} {
+		foreach cmd {edit_json prettify_json} {
+			move "${destroot}${prefix}/${dir}/${cmd}.rb" \
+			     "${destroot}${prefix}/${dir}/${cmd}_pure.rb"
+		}
+	}
+}


Property changes on: trunk/dports/ruby/rb-json_pure/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100810/2db05959/attachment-0001.html>


More information about the macports-changes mailing list