# $Id: Portfile 71957 2010-09-28 12:42:02Z kimuraw@macports.org $ PortSystem 1.0 PortGroup ruby 1.0 ruby.setup {gtk2 ruby-gnome2} 0.90.2 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 b25065050aeed8f94c235bee9d4ddf3e \ rmd160 fbfdbd73b7b0b216ba6e6e0f30a3d208a6bf8e02 \ sha1 a91a2cda9b90192eb9c8b2a84125059859342e1a # 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