# $Id: Portfile 41309 2008-10-30 13:59:02Z kimuraw@macports.org $ PortSystem 1.0 PortGroup ruby 1.0 ruby.setup {cocoa rubycocoa} 0.13.2 install.rb {ChangeLog ReadMe.html ReadMe.ja.html} revision 2 maintainers kimuraw description Ruby bindings for writing cocoa programs long_description RubyCocoa is a Ruby library for using Cocoa Objects \ on Mac OS X in Ruby scripts. You can use RubyCocoa \ to work with Cocoa objects in Ruby scripts, write \ Cocoa applications with Ruby and Interface Builder, \ develop small scale simple Cocoa applications and \ such. categories-append devel homepage http://${ruby.project}.sourceforge.net/ master_sites sourceforge:${ruby.project} distname RubyCocoa-${version} extract.suffix .tgz checksums md5 bbafee2a544bc4b8869268af8c187a9a \ rmd160 35e3616e1db84d070f12c906ed08fb175f600c11 \ 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} \ --documentation=${prefix}/share/doc/${name} \ --examples=${prefix}/share/examples/${name} platform darwin 9 { if {![variant_isset universal]} { configure.args-append --build-universal=no } } post-extract { system "find \"${worksrcpath}\" -type d -name '.svn' | xargs /bin/rm -rf" } #test.run yes test.cmd ${ruby.bin} test.target install.rb test