RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/x11/gtk2/Portfile,v
retrieving revision 1.35
diff -u -r1.35 Portfile
|
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | name gtk2 |
5 | | version 2.6.8 |
| 5 | version 2.6.10 |
6 | 6 | categories x11 |
7 | 7 | maintainers mij@opendarwin.org |
8 | 8 | description Gimp ToolKit version 2 |
… |
… |
|
16 | 16 | master_sites gnome:sources/gtk+/2.6 |
17 | 17 | |
18 | 18 | distname gtk+-${portversion} |
19 | | checksums md5 535fa4b62d219445b99953f679b5cf8e |
| 19 | checksums md5 520090ef291e35ba93397060e20f5025 \ |
| 20 | sha1 9ba627683e0dc4bceb5fb900c1ee687638d95fcd \ |
| 21 | rmd160 5bb2e4de406e0e6ccf5c66ec48f6ba3e5b0911ff |
20 | 22 | |
21 | 23 | use_bzip2 yes |
22 | 24 | |
23 | | depends_lib lib:libglib.2:glib2 lib:libtiff.3:tiff lib:libpng12.0:libpng \ |
24 | | lib:libatk-1:atk lib:libpango.1:pango lib:libintl.3:gettext \ |
25 | | lib:libX11.6:XFree86 |
| 25 | depends_lib \ |
| 26 | bin:freetype-config:freetype \ |
| 27 | bin:perl:perl5.8 \ |
| 28 | bin:pkg-config:pkgconfig \ |
| 29 | lib:fontconfig:fontconfig \ |
| 30 | lib:libatk-1:atk \ |
| 31 | lib:libexpat:expat \ |
| 32 | lib:libglib.2:glib2 \ |
| 33 | lib:libintl:libiconv \ |
| 34 | lib:libintl.3:gettext \ |
| 35 | lib:libjpeg:jpeg \ |
| 36 | lib:libpango.1:pango \ |
| 37 | lib:libpng12.0:libpng \ |
| 38 | lib:libtiff.3:tiff \ |
| 39 | lib:libX11.6:XFree86 \ |
| 40 | lib:libXft2:Xft2 \ |
| 41 | lib:libXrender:xrender \ |
| 42 | lib:libz:zlib |
| 43 | depends_build \ |
| 44 | path:/usr/X11R6/include/X11/extensions/render.h:render |
26 | 45 | |
27 | 46 | configure.env LDFLAGS="-L${prefix}/lib -lpango-1.0" \ |
28 | 47 | CPPFLAGS="-I${prefix}/include -no-cpp-precomp -DX_LOCALE" \ |
… |
… |
|
41 | 60 | reinplace "s|g_strdup (\"/usr|g_strdup (\"${prefix}|g" ${worksrcpath}/gtk/gtkicontheme.c } |
42 | 61 | |
43 | 62 | post-destroot { system "install -d -m 755 ${destroot}${prefix}/etc/gtk-2.0" |
44 | | system "cp ${filespath}/gdk-pixbuf.loaders ${destroot}${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders" |
45 | | reinplace "s|__PREFIX__|${prefix}|g" "${destroot}/${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders" |
46 | | 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" } |
| 63 | xinstall -m 644 ${filespath}/gdk-pixbuf.loaders ${destroot}${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders |
| 64 | reinplace "s|__PREFIX__|${prefix}|g" "${destroot}/${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders" |
| 65 | 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" |
| 66 | } |