[33007] trunk/dports/x11/gtk-sharp/Portfile

nox at macports.org nox at macports.org
Wed Jan 16 08:46:26 PST 2008


Revision: 33007
          http://trac.macosforge.org/projects/macports/changeset/33007
Author:   nox at macports.org
Date:     2008-01-16 08:46:24 -0800 (Wed, 16 Jan 2008)

Log Message:
-----------
gtk-sharp:
 * gnomedb support is now truly disabled when the variant isn't enabled.
 * Replaced the dllmap library path patches by a post-configure stage.
 * Fixed dependencies.

Modified Paths:
--------------
    trunk/dports/x11/gtk-sharp/Portfile

Modified: trunk/dports/x11/gtk-sharp/Portfile
===================================================================
--- trunk/dports/x11/gtk-sharp/Portfile	2008-01-16 16:42:29 UTC (rev 33006)
+++ trunk/dports/x11/gtk-sharp/Portfile	2008-01-16 16:46:24 UTC (rev 33007)
@@ -4,7 +4,8 @@
 
 name            gtk-sharp
 version         1.0.10
-categories      devel
+revision        1
+categories      x11 devel
 platforms       darwin
 maintainers     nox openmaintainer
 description     Gtk bindings for the Mono .NET Development Framework
@@ -14,43 +15,38 @@
 	of the .NET Development Framework.
 
 homepage        http://go-mono.com/
-master_sites	http://go-mono.com/sources/${name}
+master_sites    ${homepage}sources/${name}/
 
-checksums       md5 e21fb3c5a39374f86ba70b926311a6d0
+checksums       md5 e21fb3c5a39374f86ba70b926311a6d0 \
+                sha1 6965559e2e3b741f587a41d286935c73a2c2c437 \
+                rmd160 53db7e93424b2429cf825390633ede4d7c511564
 
-depends_lib     bin:mono:mono \
-                lib:libgtk.2:gtk2 \
+patchfiles      patch-configure-disable-gnomedb.diff
+
+depends_lib     port:mono \
+                port:glib2 \
+                port:gtk2 \
                 port:libxml2 \
-                lib:libart_lgpl.2:libart_lgpl \
-                lib:libgnomecanvas.2:libgnomecanvas \
-                lib:libgnomeui.2:libgnomeui \
-                lib:libgda.1:libgda \
-                lib:librsvg.2:librsvg \
-                lib:libgtkhtml.3:libgtkhtml3 \
-                lib:libvte.0:vte
+                port:libart_lgpl \
+                port:libgnomecanvas \
+                port:libgnomeui \
+                port:libgda \
+                port:librsvg \
+                port:libgtkhtml3 \
+                port:vte
 
-patchfiles      patch-aclocal.m4.diff \
-                patch-art_art-sharp.dll.config.in.diff \
-                patch-atk_atk-sharp.dll.config.in.diff \
-                patch-configure.diff \
-                patch-configure.in.diff \
-                patch-gconf_GConf_gconf-sharp.dll.config.in.diff \
-                patch-gda_gda-sharp.dll.config.in.diff \
-                patch-gdk_gdk-sharp.dll.config.in.diff \
-                patch-glade_glade-sharp.dll.config.in.diff \
-                patch-glib_glib-sharp.dll.config.in.diff \
-                patch-gnome_gnome-sharp.dll.config.in.diff \
-                patch-gnomedb_gnomedb-sharp.dll.config.in.diff \
-                patch-gtk_gtk-sharp.dll.config.in.diff \
-                patch-gtkhtml_gtkhtml-sharp.dll.config.in.diff \
-                patch-pango_pango-sharp.dll.config.in.diff \
-                patch-rsvg_rsvg-sharp.dll.config.in.diff \
-                patch-vte_vte-sharp.dll.config.in.diff
+post-configure {
+    # TODO This shouldn't be needed, we need to fix Mono dllmap library path.
+    fs-traverse {f} ${worksrcpath} {
+        if {[string match *.dll.config ${f}]} {
+            reinplace -E "s|(target=\")|\\1${prefix}/lib/|" ${f}
+        }
+    }
+}
 
-destroot.destdir    DESTDIR=${destroot} \
-                    GACUTIL_FLAGS='/package gtk-sharp /root ${destroot}\$(libdir)'
+destroot.args   GACUTIL_FLAGS="/package gtk-sharp /root ${destroot}${prefix}/lib"
 
-variant gnomedb {
-    depends_lib-append  lib:libgnomedb:libgnomedb
+variant gnomedb description {Enable gnomedb support} {
+    patchfiles-delete   patch-configure-disable-gnomedb.diff
+    depends_lib-append  port:libgnomedb
 }
-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080116/ed0ea42d/attachment-0001.html


More information about the macports-changes mailing list