[74726] trunk/dports/ruby
kimuraw at macports.org
kimuraw at macports.org
Thu Dec 30 19:39:42 PST 2010
Revision: 74726
http://trac.macports.org/changeset/74726
Author: kimuraw at macports.org
Date: 2010-12-30 19:39:35 -0800 (Thu, 30 Dec 2010)
Log Message:
-----------
ruby/rb-gnome: fix #27804, let to work "universal" variant correctly.
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
Modified Paths:
--------------
trunk/dports/ruby/rb-atk/Portfile
trunk/dports/ruby/rb-gconf/Portfile
trunk/dports/ruby/rb-glib2/Portfile
trunk/dports/ruby/rb-gnome/Portfile
trunk/dports/ruby/rb-gnomecanvas/Portfile
trunk/dports/ruby/rb-gnomeprint/Portfile
trunk/dports/ruby/rb-gnomeprintui/Portfile
trunk/dports/ruby/rb-gstreamer/Portfile
trunk/dports/ruby/rb-gtk2/Portfile
trunk/dports/ruby/rb-gtkhtml/Portfile
trunk/dports/ruby/rb-gtksourceview2/Portfile
trunk/dports/ruby/rb-libart/Portfile
trunk/dports/ruby/rb-libglade2/Portfile
trunk/dports/ruby/rb-libgnome/Portfile
trunk/dports/ruby/rb-pango/Portfile
trunk/dports/ruby/rb-poppler/Portfile
trunk/dports/ruby/rb-rsvg/Portfile
trunk/dports/ruby/rb-vte/Portfile
Modified: trunk/dports/ruby/rb-atk/Portfile
===================================================================
--- trunk/dports/ruby/rb-atk/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-atk/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {atk ruby-gnome2} 0.90.5 extconf.rb \
{ atk/README } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/ATK is a Ruby binding of ATK-1.0.x or later.
@@ -20,7 +21,13 @@
depends_lib-append port:atk port:rb-glib2 port:rb-pkg-config
distname ${ruby.project}-all-${version}
-pre-destroot {
- xinstall -d ${destroot}${prefix}/lib/pkgconfig
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/atk/ext/atk extconf.rb --vendor"
+ }
+ }
}
Modified: trunk/dports/ruby/rb-gconf/Portfile
===================================================================
--- trunk/dports/ruby/rb-gconf/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-gconf/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {gconf ruby-gnome2} 0.90.5 extconf.rb \
{ gconf/README gconf/sample } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Gconf libraries for ruby (a part of Ruby-Gnome2)
@@ -21,6 +22,16 @@
depends_lib-append port:gconf port:rb-pkg-config
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/gconf extconf.rb --vendor"
+ }
+ }
+}
+
# for developer only, this test requires rb-gtk2
#test.run yes
test.cmd ${ruby.bin}
Modified: trunk/dports/ruby/rb-glib2/Portfile
===================================================================
--- trunk/dports/ruby/rb-glib2/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-glib2/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {glib2 ruby-gnome2} 0.90.5 extconf.rb \
{ glib2/README glib2/sample } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/GLib2 is a Ruby binding of GLib-2.x.
@@ -22,6 +23,16 @@
port:rb-pkg-config
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/glib2/ext/glib2 extconf.rb --vendor"
+ }
+ }
+}
+
# NOTE: for developer only. this test launches X11.app.
#test.run yes
test.cmd ${ruby.bin}
Modified: trunk/dports/ruby/rb-gnome/Portfile
===================================================================
--- trunk/dports/ruby/rb-gnome/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-gnome/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -6,6 +6,7 @@
ruby.setup {gnome ruby-gnome2} 0.90.5 fetch \
{ README NEWS } \
sourceforge:ruby-gnome2
+revision 1
maintainers kimuraw
platforms darwin
@@ -14,6 +15,7 @@
long_description Ruby-GNOME2 meta port. Ruby-GNOME2 is a set of Ruby \
language bindings for the GNOME 2.0 development environment.
categories-append gnome
+supported_archs noarch
license LGPLv2
depends_lib-append port:rb-glib2 port:rb-atk port:rb-pango port:rb-gtk2 \
port:rb-gconf port:rb-libgnome port:rb-gnomecanvas \
Modified: trunk/dports/ruby/rb-gnomecanvas/Portfile
===================================================================
--- trunk/dports/ruby/rb-gnomecanvas/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-gnomecanvas/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {gnomecanvas ruby-gnome2} 0.90.5 extconf.rb \
{ gnomecanvas/README gnomecanvas/sample } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/GnomeCanvas2 is a Ruby binding of GnomeCanvas-2.x.
@@ -18,6 +19,17 @@
sha1 320fc4c9b65b6494abac894e84013683584acf54
configure.env RUBYOPT=-rvendor-specific
configure.args --strict gnomecanvas
-depends_lib-append port:libgnomecanvas port:rb-glib2 port:rb-gtk2
+depends_lib-append port:libgnomecanvas port:rb-glib2 port:rb-gtk2 \
+ port:rb-libart
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/gnomecanvas extconf.rb --vendor"
+ }
+ }
+}
+
Modified: trunk/dports/ruby/rb-gnomeprint/Portfile
===================================================================
--- trunk/dports/ruby/rb-gnomeprint/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-gnomeprint/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {gnomeprint ruby-gnome2} 0.90.5 extconf.rb \
{ gnomeprint/README gnomeprint/sample } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/GnomePrint is a Ruby binding of libgnomeprint.
@@ -22,6 +23,16 @@
port:rb-libart port:rb-pkg-config
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/gnomeprint extconf.rb --vendor"
+ }
+ }
+}
+
## genearte header files for testing
#pre-configure {
# system "${ruby.bin} -C ${worksrcpath} extconf.rb --strict glib2"
Modified: trunk/dports/ruby/rb-gnomeprintui/Portfile
===================================================================
--- trunk/dports/ruby/rb-gnomeprintui/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-gnomeprintui/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {gnomeprintui ruby-gnome2} 0.90.5 extconf.rb \
{ gnomeprintui/README gnomeprintui/sample } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/GnomePrintUI is a Ruby binding of libgnomeprintui.
@@ -26,3 +27,15 @@
port:rb-pkg-config
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ foreach submod {gnomeprint gnomeprintui} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/${submod} extconf.rb --vendor"
+ }
+ }
+ }
+}
+
Modified: trunk/dports/ruby/rb-gstreamer/Portfile
===================================================================
--- trunk/dports/ruby/rb-gstreamer/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-gstreamer/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {gstreamer ruby-gnome2} 0.90.5 extconf.rb \
{ gstreamer/README gstreamer/sample } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/GStreamer is a Ruby binding for GStreamer.
@@ -21,9 +22,21 @@
}
configure.env RUBYOPT=-rvendor-specific
configure.args --strict gstreamer
-depends_lib-append port:gstreamer port:gst-plugins-base port:rb-pkg-config
+depends_lib-append port:gstreamer port:gst-plugins-base port:rb-pkg-config \
+ port:rb-glib2
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/glib2/ext/glib2 extconf.rb --vendor"
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/gstreamer extconf.rb --vendor"
+ }
+ }
+}
+
#test.run yes
test.cmd ${ruby.bin}
test.target -C gstreamer test/run-test.rb
Modified: trunk/dports/ruby/rb-gtk2/Portfile
===================================================================
--- trunk/dports/ruby/rb-gtk2/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-gtk2/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 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
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/GTK2 is a Ruby binding of GTK+-2.0.x. \
@@ -27,6 +28,18 @@
port:rb-atk port:rb-pkg-config
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ foreach submod {glib2 pango gtk2 gdk_pixbuf2} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/${submod}/ext/${submod} extconf.rb --vendor"
+ }
+ }
+ }
+}
+
## 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
Modified: trunk/dports/ruby/rb-gtkhtml/Portfile
===================================================================
--- trunk/dports/ruby/rb-gtkhtml/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-gtkhtml/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {gtkhtml ruby-gnome2} 0.90.5 extconf.rb \
{ gtkhtml2/README gtkhtml2/sample } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/GtkHtml2 is a Ruby binding of GtkHtml2
@@ -22,3 +23,13 @@
port:rb-pkg-config
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/gtkhtml2 extconf.rb --vendor"
+ }
+ }
+}
+
Modified: trunk/dports/ruby/rb-gtksourceview2/Portfile
===================================================================
--- trunk/dports/ruby/rb-gtksourceview2/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-gtksourceview2/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {gtksourceview2 ruby-gnome2} 0.90.5 extconf.rb \
{ gtksourceview2/README gtksourceview2/sample } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/GtkSourceView2 is a Ruby binding of gtksourceview-2.x.\
@@ -23,6 +24,16 @@
depends_lib-append port:rb-gtk2 port:gtksourceview2 port:rb-pkg-config
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/gtksourceview2 extconf.rb --vendor"
+ }
+ }
+}
+
# for developer only, this test may launch X11.app
#test.run yes
## genearte header files for testing
Modified: trunk/dports/ruby/rb-libart/Portfile
===================================================================
--- trunk/dports/ruby/rb-libart/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-libart/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {libart ruby-gnome2} 0.90.5 extconf.rb \
{ libart/README libart/sample } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/Libart2 is a Ruby binding of Libart_lgpl.
@@ -21,3 +22,13 @@
port:rb-pkg-config
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/libart extconf.rb --vendor"
+ }
+ }
+}
+
Modified: trunk/dports/ruby/rb-libglade2/Portfile
===================================================================
--- trunk/dports/ruby/rb-libglade2/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-libglade2/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {libglade2 ruby-gnome2} 0.90.5 extconf.rb \
{ libglade/README libglade/sample } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/Libglade2 is a Ruby bindings of Libglade2.
@@ -24,3 +25,13 @@
port:rb-pkg-config
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/libglade extconf.rb --vendor"
+ }
+ }
+}
+
Modified: trunk/dports/ruby/rb-libgnome/Portfile
===================================================================
--- trunk/dports/ruby/rb-libgnome/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-libgnome/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {libgnome ruby-gnome2} 0.90.5 extconf.rb \
{ gnome/README gnome/sample } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/GNOME2 is a Ruby binding of libgnome/libgnomeui-2.x.
@@ -23,3 +24,13 @@
port:rb-pkg-config
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/gnome extconf.rb --vendor"
+ }
+ }
+}
+
Modified: trunk/dports/ruby/rb-pango/Portfile
===================================================================
--- trunk/dports/ruby/rb-pango/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-pango/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {pango ruby-gnome2} 0.90.5 extconf.rb \
{ pango/README pango/sample } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/Pango is a Ruby binding of pango-1.x.
@@ -22,6 +23,15 @@
port:rb-pkg-config
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/pango/ext/pango extconf.rb --vendor"
+ }
+ }
+}
# genearte header files for testing
#pre-configure {
# system "${ruby.bin} -C ${worksrcpath} extconf.rb --strict glib2"
Modified: trunk/dports/ruby/rb-poppler/Portfile
===================================================================
--- trunk/dports/ruby/rb-poppler/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-poppler/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {poppler ruby-gnome2} 0.90.5 extconf.rb \
{ poppler/README poppler/sample } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/Poppler is a Ruby binding of poppler-glib.
@@ -22,6 +23,16 @@
port:rb-rcairo port:rb-pkg-config
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/poppler/ext/poppler extconf.rb --vendor"
+ }
+ }
+}
+
## for developer, this test launches X11.app
#test.run yes
## genearte header files for testing
Modified: trunk/dports/ruby/rb-rsvg/Portfile
===================================================================
--- trunk/dports/ruby/rb-rsvg/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-rsvg/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {rsvg ruby-gnome2} 0.90.5 extconf.rb \
{ rsvg2/README rsvg2/sample } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/RSVG is a Ruby binding of librsvg.
@@ -22,3 +23,12 @@
port:rb-pkg-config
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/rsvg2/ext/rsvg2 extconf.rb --vendor"
+ }
+ }
+}
Modified: trunk/dports/ruby/rb-vte/Portfile
===================================================================
--- trunk/dports/ruby/rb-vte/Portfile 2010-12-30 22:25:22 UTC (rev 74725)
+++ trunk/dports/ruby/rb-vte/Portfile 2010-12-31 03:39:35 UTC (rev 74726)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
PortGroup ruby 1.0
ruby.setup {vte ruby-gnome2} 0.90.5 extconf.rb \
{ vte/README vte/sample } \
sourceforge:ruby-gnome2
-revision 0
+revision 1
maintainers kimuraw
platforms darwin
description Ruby/VTE is a Ruby bindings of VTE
@@ -22,3 +23,13 @@
depends_lib-append port:vte port:rb-gtk2 port:rb-pkg-config
distname ${ruby.project}-all-${version}
+# run extconf.rb with each arch `ruby'
+use_parallel_build no
+post-configure {
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs} {
+ system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/vte extconf.rb --vendor"
+ }
+ }
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101230/b9f7a84d/attachment-0001.html>
More information about the macports-changes
mailing list