# $Id: Portfile 74635 2010-12-25 10:40:07Z kimuraw@macports.org $ PortSystem 1.0 PortGroup ruby 1.0 ruby.setup {gtk2 ruby-gnome2} 0.90.5 extconf.rb \ { gtk2/README gtk2/sample gdk_pixbuf2/sample } \ sourceforge:ruby-gnome2 revision 0 maintainers kimuraw platforms darwin description Ruby/GTK2 is a Ruby binding of GTK+-2.0.x. \ Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x. long_description Ruby/GTK2 is a Ruby binding of GTK+-2.0.x. \ Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x. license LGPLv2 checksums md5 58ee234ef8b121b11de8a245c61cd4a9 \ rmd160 7c96480e366bac2408a3790c355ad517cc0b0023 \ sha1 320fc4c9b65b6494abac894e84013683584acf54 # generate glib-enum-types.h at glib/src and glib/pango pre-configure { system "${ruby.bin} -C ${worksrcpath} extconf.rb --strict glib2 pango" } configure.env RUBYOPT=-rvendor-specific configure.args --strict gtk2 gdk_pixbuf2 depends_lib-append port:gtk2 port:rb-pango port:rb-rcairo port:rb-glib2 \ port:rb-atk port:rb-pkg-config distname ${ruby.project}-all-${version} ## patch-gtk-test-run-test.rb.diff: do not build dependent libraries at testing #patchfiles patch-gtk2-test-run-test.rb.diff ## Run Test for developer only, the test launches X11.app #test.run yes test.cmd ${ruby.bin} test.target -C gtk2 test/run-test.rb