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

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

ruby/: fix missing revision bump at r103920

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