[41224] trunk/dports/ruby/rb-cocoa
kimuraw at macports.org
kimuraw at macports.org
Tue Oct 28 06:45:25 PDT 2008
Revision: 41224
http://trac.macports.org/changeset/41224
Author: kimuraw at macports.org
Date: 2008-10-28 06:45:25 -0700 (Tue, 28 Oct 2008)
Log Message:
-----------
ruby/rb-cocoa: upgrade to 0.13.2
- fix #16928
- disable test(this version has some imcompatibility test cases for Ruby-1.8.7)
Modified Paths:
--------------
trunk/dports/ruby/rb-cocoa/Portfile
Added Paths:
-----------
trunk/dports/ruby/rb-cocoa/files/patch-ext-rubycocoa-extconf.rb.in.diff
Modified: trunk/dports/ruby/rb-cocoa/Portfile
===================================================================
--- trunk/dports/ruby/rb-cocoa/Portfile 2008-10-28 10:20:52 UTC (rev 41223)
+++ trunk/dports/ruby/rb-cocoa/Portfile 2008-10-28 13:45:25 UTC (rev 41224)
@@ -4,7 +4,7 @@
PortGroup ruby 1.0
ruby.setup {cocoa rubycocoa} 0.13.2 install.rb {ChangeLog ReadMe.html ReadMe.ja.html}
-revision 1
+revision 2
maintainers kimuraw
description Ruby bindings for writing cocoa programs
long_description RubyCocoa is a Ruby library for using Cocoa Objects \
@@ -23,7 +23,10 @@
sha1 24d73ced14d2d89df8db5d65c8ef2d4dc3793e9a
platforms darwin
+# apply fixes later 0.13.2
patchfiles patch-metaconfig.diff
+# fix #16928: allow non MacOS's make, like gmake
+patchfiles-append patch-ext-rubycocoa-extconf.rb.in.diff
configure.args --install-prefix=${destroot}${prefix} \
--install-root=${destroot} \
@@ -36,7 +39,12 @@
}
}
-test.run yes
+post-extract {
+ cd ${worksrcpath}
+ system "find . -type d -name '.svn' | xargs /bin/rm -rf"
+}
+
+#test.run yes
test.cmd ${ruby.bin}
test.target install.rb test
Added: trunk/dports/ruby/rb-cocoa/files/patch-ext-rubycocoa-extconf.rb.in.diff
===================================================================
--- trunk/dports/ruby/rb-cocoa/files/patch-ext-rubycocoa-extconf.rb.in.diff (rev 0)
+++ trunk/dports/ruby/rb-cocoa/files/patch-ext-rubycocoa-extconf.rb.in.diff 2008-10-28 13:45:25 UTC (rev 41224)
@@ -0,0 +1,18 @@
+Index: ext/rubycocoa/extconf.rb.in
+===================================================================
+--- ext/rubycocoa/extconf.rb.in (revision 2219)
++++ ext/rubycocoa/extconf.rb.in (working copy)
+@@ -21,3 +21,13 @@
+ create_makefile('rubycocoa')
+ command "mv -f Makefile Makefile.bak"
+ command "sed -e 's/-no-cpp-precomp//' -e 's/-no-precomp//' Makefile.bak > Makefile"
++
++# if `make' is not MacOSX's make, make do not know about ".m"
++File.open('Makefile', 'a') do |f|
++ f.write <<EOS
++
++.m.o:
++ $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
++
++EOS
++end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081028/6ba6e04d/attachment.html>
More information about the macports-changes
mailing list