Ticket #2133: gtk-sharp-Portfile.patch

File gtk-sharp-Portfile.patch, 2.2 KB (added by chris.ridd@…, 20 years ago)

Portfile patch

Line 
1Index: Portfile
2===================================================================
3RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/x11/gtk-sharp/Portfile,v
4retrieving revision 1.3
5diff -b -c -r1.3 Portfile
6*** Portfile    21 May 2004 03:31:03 -0000      1.3
7--- Portfile    8 Aug 2004 15:01:11 -0000
8***************
9*** 2,20 ****
10 
11  PortSystem 1.0
12  name          gtk-sharp
13! version               0.91.1
14  categories    devel
15  platforms     darwin
16! maintainers   jkh@opendarwin.org
17  description   Gtk bindings for the Mono .NET Development Framework
18  long_description      Mono is an effort to create an open source \
19                        implementation of the .NET Development Framework \
20                        including a C# compiler.  This is the Gtk# toolkit \
21                        for it.
22 
23! homepage      http://gtk-sharp.sourceforge.net/
24! master_sites  sourceforge
25! checksums     md5 5e4537398dba1e88886f9c0193df4602
26 
27  depends_lib   bin:mono:mono \
28                lib:libgtk.2:gtk2 \
29--- 2,20 ----
30 
31  PortSystem 1.0
32  name          gtk-sharp
33! version               1.0
34  categories    devel
35  platforms     darwin
36! maintainers   chris.ridd@isode.com
37  description   Gtk bindings for the Mono .NET Development Framework
38  long_description      Mono is an effort to create an open source \
39                        implementation of the .NET Development Framework \
40                        including a C# compiler.  This is the Gtk# toolkit \
41                        for it.
42 
43! homepage      http://www.go-mono.org/
44! master_sites    ${homepage}archive/1.0/
45! checksums     md5 6eab56e11c1e1245ec6af12312969399
46 
47  depends_lib   bin:mono:mono \
48                lib:libgtk.2:gtk2 \
49***************
50*** 24,36 ****
51                lib:libgnomeui.2:libgnomeui \
52                lib:libgda.1:libgda \
53                lib:librsvg.2:librsvg \
54!               lib:libgtkhtml.2:libgtkhtml \
55                lib:libvte.0:vte
56 
57! configure.env CPPFLAGS="-I${prefix}/include" \
58!               LDFLAGS="-L${prefix}/lib"
59 
60! destroot.destdir      DESTDIR=${destroot}
61 
62  # Replace the stock mono config with one with lots of extra goodies.
63  post-destroot {
64--- 24,36 ----
65                lib:libgnomeui.2:libgnomeui \
66                lib:libgda.1:libgda \
67                lib:librsvg.2:librsvg \
68!               lib:libgtkhtml.3:libgtkhtml3 \
69                lib:libvte.0:vte
70 
71! patchfiles    patch-sample
72 
73! destroot.destdir      DESTDIR=${destroot} \
74!               GACUTIL_FLAGS='/package gtk-sharp /root ${destroot}\$(libdir)'
75 
76  # Replace the stock mono config with one with lots of extra goodies.
77  post-destroot {