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

Last change on this file was 106533, checked in by kimuraw@…, 4 years ago

ruby/rb-*: fix #39248, revbump rb-* ports

revbump rb-* ports contains bin/ commands.

  • rb-archive-tar-minitar: 0.5.1_1 -> 0.5.2
  • rb-bioruby: -> rev1, correct shebang
  • rb-bones: -> rev1
  • rb-capistrano: -> rev1
  • rb-cheat: -> rev1
  • rb-diff-lcs: -> rev1
  • rb-gem_plugin: -> rev1
  • rb-gettext: 2.3.0 -> 2.3.9
  • rb-haml: rev1
  • rb-haml-edge: rev1
  • rb-hoe: rev1
  • rb-json: rev1
  • rb-json_pure: rev1 -> rev2
  • rb-kramdown: rev1
  • rb-launchy: rev1
  • rb-lockfile: rev1
  • rb-mongrel: rev1
  • rb-mongrel_cluster: rev1
  • rb-nanoc: rev1
  • rb-nanoc3: rev1
  • rb-nokogiri: rev1
  • rb-parsetree: rev1
  • rb-piston: rev1
  • rb-rack: rev1
  • rb-rails: rev1
  • rb-rake: rev1 -> rev2
  • rb-rcov: rev1
  • rb-rest-client: rev1
  • rb-rspec: rev1
  • rb-ruby-debug: rev1
  • rb-rubyforge: rev1
  • rb-sprockets: rev1
  • rb-stomp: rev1
  • rb-treetop: rev1
  • rb-zentest: rev1
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 106533 2013-05-30 06:35:47Z ryandesign@macports.org $
2
3PortSystem                  1.0
4PortGroup                   ruby 1.0
5
6ruby.setup          json_pure 1.4.6 gem {} rubygems
7revision                        2
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
23ruby.link_binaries      no
24post-destroot {
25    foreach dir [list ${ruby.gemdir}/bin ${ruby.bindir}] {
26                foreach cmd {edit_json prettify_json} {
27                        move "${destroot}/${dir}/${cmd}.rb" \
28                             "${destroot}/${dir}/${cmd}_pure.rb"
29                }
30        }
31}
Note: See TracBrowser for help on using the repository browser.