Ignore:
Timestamp:
Oct 23, 2013, 2:25:03 PM (6 years ago)
Author:
kimuraw@…
Message:

_resources/port1.0/group/ruby-1.0.tcl: allow customized installation with rubygems

let rubygems port with ruby.setup to accept destroot.env and
other destroot.* values.
"nokogiri" such as port:rb19-nokogiri and port:rb-nokogiri requires
environment "NOKOGIRI_USE_SYSTEM_LIBRARIES" to link libxml and libxslt
provided from MacPorts. (#40836)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/ruby-1.0.tcl

    r111544 r112446  
    441441            }
    442442
     443            destroot.cmd    ${ruby.gem}
     444            destroot.target install
     445            destroot.args   --local --force --install-dir ${destroot}${ruby.gemdir}
     446
    443447            destroot {
    444                 system -W ${worksrcpath} "${ruby.gem} install --local --force --install-dir ${destroot}${ruby.gemdir} ${distpath}/${distname}.gem"
     448                # note: port cannot read $distpath and $distname
     449                #       outside of destroot {}
     450                destroot.post_args ${distpath}/${distname}.gem
     451                command_exec destroot
    445452
    446453                set binDir ${destroot}${ruby.gemdir}/bin
Note: See TracChangeset for help on using the changeset viewer.