Changeset 103920 for trunk/dports/ruby


Ignore:
Timestamp:
Mar 10, 2013, 2:23:44 AM (7 years ago)
Author:
kimuraw@…
Message:

ruby/: fix errors from chage of PortGroup ruby

  • rb-json_pure, rb-webgen, rb-gettext, rb-pdumpfs, rb-archive-tar-minitar, rb-cvs : ${prefix}/bin -> ${ruby.bindir}
  • rb19-haml, rb19-nanoc3: remove conflicts

M rb-json_pure/Portfile
M rb-webgen/Portfile
M rb-gettext/Portfile
M rb-pdumpfs/Portfile
M rb-archive-tar-minitar/Portfile
M rb-cvs/Portfile
M rb19-haml/Portfile
M rb19-nanoc3/Portfile

Location:
trunk/dports/ruby
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/ruby/rb-archive-tar-minitar/Portfile

    r93736 r103920  
    2222destroot.args   --no-ri --no-tests
    2323post-destroot {
    24         reinplace "s%#!.*ruby%#!${ruby.bin}%" ${destroot}${prefix}/bin/minitar
    25         file delete -force ${destroot}${prefix}/bin/minitar.bat
     24        reinplace -locale C "s%#!.*ruby%#!${ruby.bin}%" ${destroot}${ruby.bindir}/minitar
     25        file delete -force ${destroot}${prefix}/bin/minitar.bat${ruby.link_binaries_suffix}
     26        file delete -force ${destroot}${ruby.bindir}/minitar.bat
    2627}
  • trunk/dports/ruby/rb-cvs/Portfile

    r71849 r103920  
    1616post-destroot       {
    1717                        reinplace "s;/usr/local/bin/ruby;${ruby.bin};" ${worksrcpath}/viztree
    18                         xinstall -m 0755 ${worksrcpath}/viztree ${destroot}${prefix}/bin
     18                        xinstall -m 0755 ${worksrcpath}/viztree ${destroot}${ruby.bindir}
     19                        # install commands at post-destroot, need to make symlink in portfile
     20                        ln -s ${ruby.bindir}/viztree ${destroot}${prefix}/bin/viztree${ruby.link_binaries_suffix}
    1921                    }
    2022platforms                   darwin
  • trunk/dports/ruby/rb-gettext/Portfile

    r97190 r103920  
    2424
    2525post-destroot {
    26         reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${destroot}${prefix}/bin/rxgettext
    27         reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${destroot}${prefix}/bin/rmsginit
    28         reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${destroot}${prefix}/bin/rmsgfmt
    29         reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${destroot}${prefix}/bin/rmsgmerge
     26        reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${destroot}${ruby.bindir}/rxgettext
     27        reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${destroot}${ruby.bindir}/rmsginit
     28        reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${destroot}${ruby.bindir}/rmsgfmt
     29        reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${destroot}${ruby.bindir}/rmsgmerge
    3030}
    3131
  • trunk/dports/ruby/rb-json_pure/Portfile

    r70470 r103920  
    2020
    2121# avoid conflict against a command from port:rb-json
     22ruby.link_binaries      no
    2223post-destroot {
    23     foreach dir {bin lib/ruby/gems/1.8/bin} {
     24    foreach dir [list ${ruby.gemdir}/bin ${ruby.bindir}] {
    2425                foreach cmd {edit_json prettify_json} {
    25                         move "${destroot}${prefix}/${dir}/${cmd}.rb" \
    26                              "${destroot}${prefix}/${dir}/${cmd}_pure.rb"
     26                        move "${destroot}/${dir}/${cmd}.rb" \
     27                             "${destroot}/${dir}/${cmd}_pure.rb"
    2728                }
    2829        }
  • trunk/dports/ruby/rb-pdumpfs/Portfile

    r85823 r103920  
    3434
    3535destroot {
    36         xinstall -d -m 0755 ${destroot}${prefix}/bin
    37         xinstall -m 0755 ${worksrcpath}/pdumpfs ${destroot}${prefix}/bin
     36        xinstall -d -m 0755 ${destroot}${ruby.bindir}
     37        xinstall -m 0755 ${worksrcpath}/pdumpfs ${destroot}${ruby.bindir}
    3838        xinstall -d -m 0755 ${destroot}${prefix}/share/man/man8
    3939        xinstall -m 0644 ${worksrcpath}/man/man8/pdumpfs.8 \
  • trunk/dports/ruby/rb-webgen/Portfile

    r64856 r103920  
    2222
    2323post-destroot {
    24         reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${destroot}${prefix}/bin/webgen
     24        reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${destroot}${ruby.bindir}/webgen
    2525}
    2626
  • trunk/dports/ruby/rb19-haml/Portfile

    r101705 r103920  
    88checksums           rmd160  3296d138441ca252fd718c883acbf954b9f9efd9 \
    99                    sha256  d6a7cab4234cc98980ac3b25f1b99efed2ec50acbd0b6b213b68856d14e89bc7
    10 conflicts           rb-haml
    1110description         Haml and Sass: markup languages for HTML and CSS
    1211long_description    \
  • trunk/dports/ruby/rb19-nanoc3/Portfile

    r99643 r103920  
    44
    55ruby.setup          nanoc3 3.1.3 gem {} rubygems ruby19
    6 conflicts           rb-nanoc3
    76description         A Ruby site compiler that produces static HTML
    87long_description    \
Note: See TracChangeset for help on using the changeset viewer.