# $Id$ PortSystem 1.0 PortGroup ruby 1.0 ruby.setup {gtk2 ruby-gnome2} 0.19.2 extconf.rb \ { gtk/README gtk/sample gdkpixbuf/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. checksums md5 bbbee657731d536af3c146fc4b57c746 \ rmd160 de3abba775e00f3dfef7cc47f153733e42186a73 \ sha1 5c6af93f1c0dfe7e14e301ab5c5cbd2b245aee9e # generate glib-enum-types.h at glib/src and glib/pango pre-configure { system "${ruby.bin} -C ${worksrcpath} extconf.rb --strict glib pango" } configure.env RUBYOPT=-rvendor-specific configure.args --strict gtk gdkpixbuf depends_lib-append port:gtk2 port:rb-pango port:rb-rcairo port:rb-glib2 \ port:rb-atk distname ${ruby.project}-all-${version} pre-destroot { xinstall -d ${destroot}${prefix}/lib/pkgconfig } # patch-gtk-test-run-test.rb.diff: do not build dependent libraries at testing patchfiles patch-gtk-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 gtk test/run-test.rb