Changeset 98619


Ignore:
Timestamp:
Oct 10, 2012, 12:20:38 PM (12 years ago)
Author:
kimuraw@…
Message:

lang/ruby19: #36507 install suffixed executables in ruby19 +nosuffix

  • install suffixed commands even if variant nosuffix. such as `ruby1.9'.
  • add conflicts
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/ruby19/Portfile

    r97827 r98619  
    55name                            ruby19
    66version                         1.9.3-p194
    7 revision                        3
     7revision                        4
    88
    99categories                      lang ruby
     
    110110}
    111111
    112 variant nosuffix description "Don't add the 1.9 program suffix to the executables. Note: that makes the port conflict with ruby (1.8), rb-rubygems, and rb-rake ports." {
     112variant nosuffix description "Don't add the 1.9 program suffix to the executables" {
     113    conflicts ruby ruby186 rb-rubygems rb-rake
    113114                configure.args-delete           --program-suffix=1.9
     115    post-destroot {
     116        # install suffixed binaries to build rb19-* packages.
     117        foreach file {erb gem irb rake rdoc ri ruby testrb} {
     118            ln -s ${prefix}/bin/${file} ${destroot}${prefix}/bin/${file}1.9
     119        }
     120    }
    114121}
    115122
Note: See TracChangeset for help on using the changeset viewer.