source: trunk/dports/x11/gtk-sharp2/Portfile @ 38077

Last change on this file since 38077 was 38077, checked in by ryandesign@…, 11 years ago

In all openmaintainer and nomaintainer ports and my ports, depend on glib2 via a path in ${prefix} so that either glib2 or glib2-devel can satisfy the dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 38077 2008-07-05 21:37:56Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            gtk-sharp2
6set my_name     gtk-sharp
7version         2.10.3
8set branch      [join [lrange [split ${version} .] 0 1] ""]
9categories      x11 devel
10platforms       darwin
11maintainers     nox openmaintainer
12description     Gtk bindings for the Mono .NET Development Framework
13
14long_description \
15    This is the Gtk# toolkit for Mono, an implementation \
16        of the .NET Development Framework.
17
18homepage        http://gtk-sharp.sourceforge.net/
19master_sites    http://go-mono.com/sources/${my_name}${branch}/
20distname        ${my_name}-${version}
21
22checksums       md5 e336ea00421958413ba10859866886f3 \
23                sha1 635fa6c4cde37c68a188180a2a7bee8d09945e3c \
24                rmd160 d198cd160d15a554eaef76cc9f4276f311ad5526
25
26patchfiles      patch-gdk-sharp.dll.config.in.diff \
27                patch-glade-sharp.dll.config.in.diff \
28                patch-glib-sharp.dll.config.in.diff \
29                patch-gtk-sharp.dll.config.in.diff \
30                patch-pango-sharp.dll.config.in.diff
31
32depends_build   port:monodoc
33
34depends_lib     port:mono \
35                path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \
36                port:atk \
37                port:pango \
38                port:gtk2
39
40post-configure {
41    # TODO This shouldn't be needed, we need to fix Mono dllmap library path.
42    fs-traverse {f} ${worksrcpath} {
43        if {[string match *.dll.config ${f}]} {
44            reinplace -E "s|(target=\")|\\1${prefix}/lib/|" ${f}
45        }
46    }
47}
48
49variant debug {
50    configure.args-append   --enable-debug
51}
52
53livecheck.check regex
54livecheck.url   http://go-mono.com/sources-stable/
55livecheck.regex ${my_name}-(2\\.10(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.