source: trunk/dports/ruby/rb-gtk2/Portfile @ 71957

Last change on this file since 71957 was 71957, checked in by kimuraw@…, 7 years ago

ruby/rb-gnome: upgrade to 0.90.2.

Ruby-Gnome2 ports are

rb-atk, rb-gconf, rb-glib2, rb-gnome, rb-gnomecanvas, rb-gnomeprint,
rb-gnomeprintui, rb-gnomevfs, rb-gstreamer, rb-gtk2, rb-gtkglext,
rb-gtkhtml, rb-gtksourceview2, rb-libart, rb-libglade2, rb-libgnome,
rb-pango, rb-poppler, rb-rsvg, rb-vte

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 71957 2010-09-28 12:42:02Z kimuraw@macports.org $
2
3PortSystem              1.0
4PortGroup               ruby 1.0
5
6ruby.setup              {gtk2 ruby-gnome2} 0.90.2 extconf.rb \
7                                { gtk2/README gtk2/sample gdk_pixbuf2/sample } \
8                                sourceforge:ruby-gnome2
9revision                0
10maintainers             kimuraw
11platforms               darwin
12description             Ruby/GTK2 is a Ruby binding of GTK+-2.0.x. \
13                                Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x.
14long_description        Ruby/GTK2 is a Ruby binding of GTK+-2.0.x. \
15                                Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x.
16license                 LGPLv2
17checksums               md5 b25065050aeed8f94c235bee9d4ddf3e \
18                                rmd160 fbfdbd73b7b0b216ba6e6e0f30a3d208a6bf8e02 \
19                                sha1 a91a2cda9b90192eb9c8b2a84125059859342e1a
20# generate glib-enum-types.h at glib/src and glib/pango
21pre-configure   {
22        system "${ruby.bin} -C ${worksrcpath} extconf.rb --strict glib2 pango"
23}
24configure.env   RUBYOPT=-rvendor-specific
25configure.args  --strict gtk2 gdk_pixbuf2
26depends_lib-append      port:gtk2 port:rb-pango port:rb-rcairo port:rb-glib2 \
27                                port:rb-atk port:rb-pkg-config
28distname                ${ruby.project}-all-${version}
29
30## patch-gtk-test-run-test.rb.diff: do not build dependent libraries at testing
31#patchfiles             patch-gtk2-test-run-test.rb.diff
32## Run Test for developer only, the test launches X11.app
33#test.run               yes
34test.cmd                ${ruby.bin}
35test.target             -C gtk2 test/run-test.rb
36
Note: See TracBrowser for help on using the repository browser.