source: trunk/dports/x11/gtk-sharp/Portfile @ 36566

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

gtk-sharp: Fixed master_sites and livecheck (closes #15212).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 36566 2008-05-06 23:55:13Z nox@macports.org $
2
3PortSystem      1.0
4
5name            gtk-sharp
6version         1.0.10
7revision        2
8categories      x11 devel
9platforms       darwin
10maintainers     nox openmaintainer
11description     Gtk bindings for the Mono .NET Development Framework
12
13long_description \
14    This is the Gtk# toolkit for Mono, an implementation \
15        of the .NET Development Framework.
16
17homepage        http://gtk-sharp.sourceforge.net/
18master_sites    http://ftp.novell.com/pub/mono/sources/${name}/
19
20checksums       md5 e21fb3c5a39374f86ba70b926311a6d0 \
21                sha1 6965559e2e3b741f587a41d286935c73a2c2c437 \
22                rmd160 53db7e93424b2429cf825390633ede4d7c511564
23
24patchfiles      patch-configure-disable-gnomedb.diff
25
26depends_lib     port:mono \
27                port:glib2 \
28                port:pango \
29                port:gtk2 \
30                port:libxml2 \
31                port:libart_lgpl \
32                port:libgnomecanvas \
33                port:libgnomeui \
34                port:libgda \
35                port:librsvg \
36                port:libgtkhtml3 \
37                port:vte
38
39post-configure {
40    # TODO This shouldn't be needed, we need to fix Mono dllmap library path.
41    fs-traverse {f} ${worksrcpath} {
42        if {[string match *.dll.config ${f}]} {
43            reinplace -E "s|(target=\")|\\1${prefix}/lib/|" ${f}
44        }
45    }
46}
47
48variant gnomedb description {Enable gnomedb support} {
49    patchfiles-delete   patch-configure-disable-gnomedb.diff
50    depends_lib-append  port:libgnomedb
51}
52
53livecheck.check regex
54livecheck.url   ${master_sites}?C=M&O=D
55livecheck.regex ${name}-(1\\.0(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.