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

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

ruby/: simplify Portfile with ${ruby.gemdir}, content not changed

${ruby.prog_suffix} and ${ruby.version} from PortGroup-ruby are obsoleted.
replace these values with ${ruby.gemdir} and ${ruby.lib}.

ports modified:

  • rb-bee
  • rb-easyjour
  • rb-mustache
  • rb-rttool
  • rb19-bcat
  • rb19-cheat
  • rb19-hirb
  • rb19-mustache
  • rb19-rdiscount
  • rb19-unicorn
  • rb19-wirble
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 911 bytes
Line 
1# $Id: Portfile 103932 2013-03-10 10:48:31Z ryandesign@macports.org $
2
3PortSystem              1.0
4PortGroup               ruby 1.0
5
6ruby.setup              rttool 1.0.3 setup.rb {rttool.en.html rttool.ja.html ChangeLog examples}
7maintainers             kimuraw
8description             Simple table generator
9long_description \
10                RT is a simple and human-readable table format. \
11                RTtool is a converter from RT into various formats. \
12                RT can be incorporated into RD.
13categories-append       textproc
14license                 Ruby
15supported_archs noarch
16checksums               md5 e2eecf5ea3ff0c51b74c22327733765d \
17                                rmd160 a2c3023519e712883a1b1f59db11103a632b87cf \
18                                sha1 9ecc98f156a42fe84696ce17fc5735c4dd3ee5d0
19
20platforms               darwin
21homepage        http://www.rubyist.net/~rubikitch/computer/rttool/
22master_sites    http://www.rubyist.net/~rubikitch/archive/
23
24configure.args-append --site-ruby="${ruby.lib}"
25post-build {
26        reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${worksrcpath}/bin/rt/rt2
27        reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${worksrcpath}/bin/rt/rdrt2
28}
29
Note: See TracBrowser for help on using the repository browser.