source: trunk/dports/ruby/rb-json_pure/Portfile @ 70470

Last change on this file since 70470 was 70470, checked in by kimuraw@…, 10 years ago

ruby/rb-json_pure: add a new port, rb-json_pure 1.4.6

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 70470 2010-08-10 14:39:02Z kimuraw@macports.org $
2
3PortSystem                  1.0
4PortGroup                   ruby 1.0
5
6ruby.setup          json_pure 1.4.6 gem {} rubygems
7description         This is a JSON implementation in pure Ruby.
8long_description    \
9    This is a implementation of the JSON specification according to RFC 4627. \
10    You can think of it as a low fat alternative to XML, if you want to store \
11    data to disk or transmit it over a network rather than use a verbose \
12    markup language.
13license             Ruby
14maintainers         kimuraw openmaintainer
15homepage            http://flori.github.com/json/
16platforms                       darwin
17checksums           md5     efc352b7e48263cba1d4e7d96c7721b1 \
18                    sha1    9fe74cdffaba077e1209f9222e8b7ddd282966df \
19                    rmd160  2ce9c5c4315c330a0f9dac5592e4c8d6c134efc6
20
21# avoid conflict against a command from port:rb-json
22post-destroot {
23    foreach dir {bin lib/ruby/gems/1.8/bin} {
24                foreach cmd {edit_json prettify_json} {
25                        move "${destroot}${prefix}/${dir}/${cmd}.rb" \
26                             "${destroot}${prefix}/${dir}/${cmd}_pure.rb"
27                }
28        }
29}
Note: See TracBrowser for help on using the repository browser.