[40500] trunk/dports/ruby
kimuraw at macports.org
kimuraw at macports.org
Sat Oct 4 00:43:40 PDT 2008
Revision: 40500
http://trac.macports.org/changeset/40500
Author: kimuraw at macports.org
Date: 2008-10-04 00:43:40 -0700 (Sat, 04 Oct 2008)
Log Message:
-----------
ruby/rb-rubyosa: New Port rb-rubyosa 0.4.0
RubyOSA provides a bridge from Ruby to the Apple Event Manager
Added Paths:
-----------
trunk/dports/ruby/rb-rubyosa/
trunk/dports/ruby/rb-rubyosa/Portfile
trunk/dports/ruby/rb-rubyosa/files/
trunk/dports/ruby/rb-rubyosa/files/patch-src-lib-rbosa.rb.diff
Added: trunk/dports/ruby/rb-rubyosa/Portfile
===================================================================
--- trunk/dports/ruby/rb-rubyosa/Portfile (rev 0)
+++ trunk/dports/ruby/rb-rubyosa/Portfile 2008-10-04 07:43:40 UTC (rev 40500)
@@ -0,0 +1,22 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup ruby 1.0
+
+ruby.setup rubyosa 0.4.0 extconf.rb {README NEWS TODO sample} rubyforge:19508
+homepage http://rubyosa.rubyforge.org/
+platforms darwin
+description RubyOSA provides a bridge from Ruby to the Apple Event Manager.
+long_description \
+ RubyOSA provides a bridge from Ruby to the Apple Event Manager. It allows \
+ Ruby programs to automate Mac OS X applications in the same way as \
+ AppleScript.
+maintainers kimuraw
+
+variant disable_ruby_libxml2 description "avoid SEGV with ruby-libxml2 >=0.7" {
+ patchfiles patch-src-lib-rbosa.rb.diff
+}
+default_variants +disable_ruby_libxml2
+checksums md5 175440298a414c4a8d185f8459364a97 \
+ rmd160 dad775c3482d1487be565fb98494d455baa52390 \
+ sha1 117fed91026b2e770436bc9aedb78f2cc8177865
Property changes on: trunk/dports/ruby/rb-rubyosa/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/ruby/rb-rubyosa/files/patch-src-lib-rbosa.rb.diff
===================================================================
--- trunk/dports/ruby/rb-rubyosa/files/patch-src-lib-rbosa.rb.diff (rev 0)
+++ trunk/dports/ruby/rb-rubyosa/files/patch-src-lib-rbosa.rb.diff 2008-10-04 07:43:40 UTC (rev 40500)
@@ -0,0 +1,10 @@
+--- src/lib/rbosa.rb.orig 2008-10-04 14:48:31.000000000 +0900
++++ src/lib/rbosa.rb 2008-10-04 15:43:42.000000000 +0900
+@@ -36,6 +36,7 @@
+
+ # If libxml-ruby is not present, switch to REXML.
+ USE_LIBXML = begin
++ raise LoadError, "SEGV will raise rubyosa with libxml2-ruby 0.7 or later"
+ require 'xml/libxml'
+
+ # libxml-ruby bug workaround.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081004/a9ab39bd/attachment.html
More information about the macports-changes
mailing list