source: trunk/dports/x11/gtk2/Portfile @ 5871

Last change on this file since 5871 was 5871, checked in by mij, 16 years ago

Chase the libintl library version from the gettext update.

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1# $Id: Portfile,v 1.18 2004/03/19 23:18:46 mij Exp $
2
3PortSystem 1.0
4name            gtk2
5version         2.2.4
6revision        4
7categories      x11
8maintainers     mij@opendarwin.org
9description     Gimp ToolKit version 2
10homepage        http://www.gtk.org/
11platforms       darwin
12
13long_description This is GTK+ version 2.x.  GTK+, which stands for Gimp \
14                 ToolKit, is a library for creating GUIs for the X \
15                 Windows System.
16
17master_sites    gnome:sources/gtk+/2.2
18
19distname        gtk+-${portversion}
20checksums       md5 605332199533e73bc6eec481fb4f1671
21
22use_bzip2       yes
23
24depends_lib     lib:libglib.2:glib2 lib:libtiff.3:tiff lib:libpng12.0:libpng \
25                lib:libungif.4:libungif lib:libatk.1:atk lib:libpango.1:pango \
26                lib:libintl.3:gettext lib:libX11.6:XFree86
27
28patchfiles      patch-Makefile.in patch-configure patch-demos-Makefile.in \
29                patch-demos-gtk-demo-Makefile.in patch-demos-gtk-demo-main.c \
30                patch-gdk-Makefile.in patch-gdk-x11-gdkdrawable-x11.c \
31                patch-gdk-x11-gdkim-x11.c patch-gtk-Makefile.in \
32                patch-gtk-gtkmain.c patch-ltmain.sh \
33                patch-modules-input-Makefile.in patch-po-Makefile.in.in
34
35configure.env   LDFLAGS="-L${prefix}/lib" \
36                CPPFLAGS="-I${prefix}/include -no-cpp-precomp -DX_LOCALE" \
37                CFLAGS="-O3 -funroll-loops -fstrict-aliasing"
38
39configure.args  --disable-shm --disable-gtk-doc --with-included-loaders \
40                --mandir=${prefix}/share/man
41
42build.args      CFLAGS+="-I${x11prefix}/include"
43
44post-configure  { reinplace "s|/opt/local|${prefix}|g" ${portpath}/${filesdir}/gdk-pixbuf.loaders }
45
46post-destroot   { system "ln -fs libgtk-x11-2.0.0.200.4.dylib ${destroot}${prefix}/lib/libgtk.2.dylib"
47                  system "ln -fs libgdk-x11-2.0.0.200.4.dylib ${destroot}${prefix}/lib/libgdk.2.dylib"
48                  system "install -d -m 755 ${destroot}${prefix}/etc/gtk-2.0"
49                  system "cp ${portpath}/${filesdir}/gdk-pixbuf.loaders ${destroot}${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"
50                  system "env LANG=C DYLD_LIBRARY_PATH=${destroot}${prefix}/lib ${destroot}${prefix}/bin/gtk-query-immodules-2.0 > ${destroot}${prefix}/etc/gtk-2.0/gtk.immodules" }
Note: See TracBrowser for help on using the repository browser.