[33010] trunk/dports/x11

nox at macports.org nox at macports.org
Wed Jan 16 09:39:50 PST 2008


Revision: 33010
          http://trac.macosforge.org/projects/macports/changeset/33010
Author:   nox at macports.org
Date:     2008-01-16 09:39:48 -0800 (Wed, 16 Jan 2008)

Log Message:
-----------
gtk-sharp2: New port.

Added Paths:
-----------
    trunk/dports/x11/gtk-sharp2/
    trunk/dports/x11/gtk-sharp2/Portfile

Copied: trunk/dports/x11/gtk-sharp2/Portfile (from rev 33009, trunk/dports/x11/gtk-sharp/Portfile)
===================================================================
--- trunk/dports/x11/gtk-sharp2/Portfile	                        (rev 0)
+++ trunk/dports/x11/gtk-sharp2/Portfile	2008-01-16 17:39:48 UTC (rev 33010)
@@ -0,0 +1,42 @@
+# $Id$
+
+PortSystem      1.0
+
+name            gtk-sharp2
+set my_name     gtk-sharp
+version         2.10.2
+set branch      [join [lrange [split ${version} .] 0 1] ""]
+categories      x11 devel
+platforms       darwin
+maintainers     nox openmaintainer
+description     Gtk bindings for the Mono .NET Development Framework
+
+long_description \
+    This is the Gtk# toolkit for Mono, an implementation \
+	of the .NET Development Framework.
+
+homepage        http://go-mono.com/
+master_sites    ${homepage}sources/${my_name}${branch}/
+distname        ${my_name}-${version}
+use_bzip2       yes
+
+checksums       md5 7d509a677c58b2e6a8c85db51d0b1451 \
+                sha1 7e78d94a4cfe7b1fb3696893f2622d2c7f3c47dc \
+                rmd160 78394b4ebfbf59b29d80d012227adf65f465991a
+
+depends_lib     port:mono \
+                port:glib2 \
+                port:atk \
+                port:pango \
+                port:gtk2
+
+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.args   GACUTIL_FLAGS="/package gtk-sharp /root ${destroot}${prefix}/lib"

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


More information about the macports-changes mailing list