# $Id: Portfile 103920 2013-03-10 02:23:44Z kimuraw@macports.org $ 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 ruby.link_binaries no post-destroot { foreach dir [list ${ruby.gemdir}/bin ${ruby.bindir}] { foreach cmd {edit_json prettify_json} { move "${destroot}/${dir}/${cmd}.rb" \ "${destroot}/${dir}/${cmd}_pure.rb" } } }