[39549] trunk/dports/ruby/rb-cocoa
kimuraw at macports.org
kimuraw at macports.org
Sat Aug 23 22:22:53 PDT 2008
Revision: 39549
http://trac.macosforge.org/projects/macports/changeset/39549
Author: kimuraw at macports.org
Date: 2008-08-23 22:22:51 -0700 (Sat, 23 Aug 2008)
Log Message:
-----------
ruby/rb-cocoa:
change install destination of some resources:
- docs -> ${prefix}/share/doc
- examples -> ${prefix}/share/examples
- project templates -> /Library/Application Support/Developer/Shared/Xcode/
Modified Paths:
--------------
trunk/dports/ruby/rb-cocoa/Portfile
Added Paths:
-----------
trunk/dports/ruby/rb-cocoa/files/
trunk/dports/ruby/rb-cocoa/files/patch-metaconfig.diff
Modified: trunk/dports/ruby/rb-cocoa/Portfile
===================================================================
--- trunk/dports/ruby/rb-cocoa/Portfile 2008-08-24 02:44:23 UTC (rev 39548)
+++ trunk/dports/ruby/rb-cocoa/Portfile 2008-08-24 05:22:51 UTC (rev 39549)
@@ -4,6 +4,7 @@
PortGroup ruby 1.0
ruby.setup {cocoa rubycocoa} 0.13.2 install.rb {ChangeLog ReadMe.html ReadMe.ja.html}
+revision 1
maintainers kimuraw
description Ruby bindings for writing cocoa programs
long_description RubyCocoa is a Ruby library for using Cocoa Objects \
@@ -22,15 +23,20 @@
sha1 24d73ced14d2d89df8db5d65c8ef2d4dc3793e9a
platforms darwin
+patchfiles patch-metaconfig.diff
+
configure.args --install-prefix=${destroot}${prefix} \
- --install-root=${destroot}
+ --install-root=${destroot} \
+ --documentation=${prefix}/share/doc/${name} \
+ --examples=${prefix}/share/examples/${name}
platform darwin 9 {
if {![variant_isset universal]} {
- configure.args-append --build-universal=no
+ configure.args-append --build-universal=no
}
}
test.run yes
test.cmd ${ruby.bin}
test.target install.rb test
+
Added: trunk/dports/ruby/rb-cocoa/files/patch-metaconfig.diff
===================================================================
--- trunk/dports/ruby/rb-cocoa/files/patch-metaconfig.diff (rev 0)
+++ trunk/dports/ruby/rb-cocoa/files/patch-metaconfig.diff 2008-08-24 05:22:51 UTC (rev 39549)
@@ -0,0 +1,11 @@
+--- metaconfig.orig 2008-08-24 13:59:01.000000000 +0900
++++ metaconfig 2008-07-02 00:47:46.000000000 +0900
+@@ -42,7 +42,7 @@
+
+ if File.exist?('/Developer/Applications/Xcode.app') then
+ if RubyCocoaConfig.system_version.to_f >= 10.5
+- xcode_templates_dir = '/Library/Application Support/Developer/3.0/Xcode/'
++ xcode_templates_dir = '/Library/Application Support/Developer/Shared/Xcode/'
+ else
+ xcode_templates_dir =
+ ['/Library/Application Support/Apple/Developer Tools',
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080823/98e7562e/attachment.html
More information about the macports-changes
mailing list