[98619] trunk/dports/lang/ruby19/Portfile
kimuraw at macports.org
kimuraw at macports.org
Wed Oct 10 05:20:38 PDT 2012
Revision: 98619
http://trac.macports.org//changeset/98619
Author: kimuraw at macports.org
Date: 2012-10-10 05:20:38 -0700 (Wed, 10 Oct 2012)
Log Message:
-----------
lang/ruby19: #36507 install suffixed executables in ruby19 +nosuffix
- install suffixed commands even if variant nosuffix. such as `ruby1.9'.
- add conflicts
Modified Paths:
--------------
trunk/dports/lang/ruby19/Portfile
Modified: trunk/dports/lang/ruby19/Portfile
===================================================================
--- trunk/dports/lang/ruby19/Portfile 2012-10-10 09:55:11 UTC (rev 98618)
+++ trunk/dports/lang/ruby19/Portfile 2012-10-10 12:20:38 UTC (rev 98619)
@@ -4,7 +4,7 @@
name ruby19
version 1.9.3-p194
-revision 3
+revision 4
categories lang ruby
maintainers kimuraw openmaintainer
@@ -109,8 +109,15 @@
}
}
-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." {
+variant nosuffix description "Don't add the 1.9 program suffix to the executables" {
+ conflicts ruby ruby186 rb-rubygems rb-rake
configure.args-delete --program-suffix=1.9
+ post-destroot {
+ # install suffixed binaries to build rb19-* packages.
+ foreach file {erb gem irb rake rdoc ri ruby testrb} {
+ ln -s ${prefix}/bin/${file} ${destroot}${prefix}/bin/${file}1.9
+ }
+ }
}
variant c_api_docs description "Generate documentation for Ruby C API" {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121010/4c2c66da/attachment.html>
More information about the macports-changes
mailing list