Changeset 103932 for trunk/dports/ruby


Ignore:
Timestamp:
Mar 10, 2013, 10:48:31 AM (7 years ago)
Author:
kimuraw@…
Message:

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
Location:
trunk/dports/ruby
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/ruby/rb-bee/Portfile

    r58113 r103932  
    2626post-destroot {
    2727    reinplace "s/s\.add.*_dependency.*archive-tar-minitar.*/#$&/; s/s\.add.*_dependency.*rubyzip.*/#$&/" \
    28               ${destroot}${prefix}/lib/ruby/gems/${ruby.version}/specifications/${ruby.module}-${version}.gemspec
     28              ${destroot}${ruby.gemdir}/specifications/${ruby.module}-${version}.gemspec
    2929}
  • trunk/dports/ruby/rb-easyjour/Portfile

    r70961 r103932  
    2121# patch-lib-easyjour.rb.diff: fix error of Easyjour.serve() with rb-dnssd 1.3.x
    2222post-destroot {
    23         system "cd ${destroot}${prefix}/lib/ruby${ruby.prog_suffix}/gems/${ruby.version}/gems/${ruby.module}-${version} && /usr/bin/patch -p0 < ${filespath}/patch-lib-easyjour.rb.diff"
     23        system "cd ${destroot}${ruby.gemdir}/gems/${ruby.module}-${version} && /usr/bin/patch -p0 < ${filespath}/patch-lib-easyjour.rb.diff"
    2424}
    2525checksums               md5 8964adaa435c11d4ddd770530145899d \
  • trunk/dports/ruby/rb-mustache/Portfile

    r99643 r103932  
    2020
    2121post-destroot {
    22     set gemdir ${destroot}${prefix}/lib/ruby/gems/${ruby.version}/gems/${worksrcdir}
     22    set gemdir ${destroot}${ruby.gemdir}/gems/${worksrcdir}
    2323    set mandir ${destroot}${prefix}/share/man/
    2424    set docdir ${destroot}${prefix}/share/doc/${ruby.module}
  • trunk/dports/ruby/rb-rttool/Portfile

    r70583 r103932  
    2222master_sites    http://www.rubyist.net/~rubikitch/archive/
    2323
    24 configure.args-append --site-ruby="${prefix}/lib/ruby/vendor_ruby/${ruby.version}"
     24configure.args-append --site-ruby="${ruby.lib}"
    2525post-build {
    2626        reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${worksrcpath}/bin/rt/rt2
  • trunk/dports/ruby/rb19-bcat/Portfile

    r99643 r103932  
    1919
    2020post-destroot {
    21     set gemdir ${destroot}${prefix}/lib/ruby${ruby.prog_suffix}/gems/${ruby.version}/gems/${worksrcdir}
     21    set gemdir ${destroot}${ruby.gemdir}/gems/${worksrcdir}
    2222    set mandir ${destroot}${prefix}/share/man/
    2323    set docdir ${destroot}${prefix}/share/doc/${ruby.module}
  • trunk/dports/ruby/rb19-cheat/Portfile

    r99643 r103932  
    1919
    2020post-destroot {
    21   set gemdir ${destroot}${prefix}/lib/ruby${ruby.prog_suffix}/gems/${ruby.version}/gems/${ruby.project}-${version}/
     21  set gemdir ${destroot}${ruby.gemdir}/gems/${ruby.project}-${version}/
    2222  system "cd ${gemdir} && patch -p1 < ${portpath}/files/cheat.patch"
    2323}
  • trunk/dports/ruby/rb19-hirb/Portfile

    r103900 r103932  
    2323
    2424post-destroot {
    25     set gemdir ${destroot}${prefix}/lib/ruby${ruby.prog_suffix}/gems/${ruby.version}/gems/${worksrcdir}
     25    set gemdir ${destroot}${ruby.gemdir}/gems/${worksrcdir}
    2626    set docdir ${destroot}${prefix}/share/doc/${ruby.module}
    2727    xinstall -d ${docdir}
  • trunk/dports/ruby/rb19-mustache/Portfile

    r99643 r103932  
    1818
    1919post-destroot {
    20     set gemdir ${destroot}${prefix}/lib/ruby${ruby.prog_suffix}/gems/${ruby.version}/gems/${worksrcdir}
     20    set gemdir ${destroot}${ruby.gemdir}/gems/${worksrcdir}
    2121    set mandir ${destroot}${prefix}/share/man/
    2222    set docdir ${destroot}${prefix}/share/doc/${ruby.module}
  • trunk/dports/ruby/rb19-rdiscount/Portfile

    r99643 r103932  
    1919
    2020post-destroot {
    21     set gemdir ${destroot}${prefix}/lib/ruby${ruby.prog_suffix}/gems/${ruby.version}/gems/${worksrcdir}
     21    set gemdir ${destroot}${ruby.gemdir}/gems/${worksrcdir}
    2222    set mandir ${destroot}${prefix}/share/man/
    2323    set docdir ${destroot}${prefix}/share/doc/${ruby.module}
  • trunk/dports/ruby/rb19-unicorn/Portfile

    r99643 r103932  
    2222
    2323post-destroot {
    24     set gemdir ${destroot}${prefix}/lib/ruby${ruby.prog_suffix}/gems/${ruby.version}/gems/${worksrcdir}
     24    set gemdir ${destroot}${ruby.gemdir}/gems/${worksrcdir}
    2525    set mandir ${destroot}${prefix}/share/man/
    2626    set docdir ${destroot}${prefix}/share/doc/${ruby.module}
  • trunk/dports/ruby/rb19-wirble/Portfile

    r99643 r103932  
    1919
    2020post-destroot {
    21     set gemdir ${destroot}${prefix}/lib/ruby${ruby.prog_suffix}/gems/${ruby.version}/gems/${worksrcdir}
     21    set gemdir ${destroot}${ruby.gemdir}/gems/${worksrcdir}
    2222    set docdir ${destroot}${prefix}/share/doc/${ruby.module}
    2323    xinstall -d ${docdir}
Note: See TracChangeset for help on using the changeset viewer.