Ticket #7047: Portfile.2.diff
File Portfile.2.diff, 1.3 KB (added by tatyana@…, 19 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name gtk2 5 version 2.8.1 05 version 2.8.11 6 6 categories x11 7 7 maintainers mij@opendarwin.org 8 8 description Gimp ToolKit version 2 … … 17 17 gnome:sources/gtk+/2.8 18 18 19 19 distname gtk+-${portversion} 20 checksums md5 c2c0318d4dcd64315486850907b8e78d\21 sha1 12daab07fc27c9715cc70d89e6f92a6f5d6de0b9 \22 rmd160 f549c1de4d938b3bc6780eab0766ec502007056820 checksums md5 921ba85da341e52f0994f8fb569f1c61 \ 21 sha1 43ae4d54cd418dd12b34dbb52e345da50779e0d9 \ 22 rmd160 eaaa19a8339f1493d9a5384f4501b5d6eafd597c 23 23 24 24 use_bzip2 yes 25 25 … … 47 47 post-destroot { system "install -d -m 755 ${destroot}${prefix}/etc/gtk-2.0" 48 48 system "cp ${filespath}/gdk-pixbuf.loaders ${destroot}${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders" 49 49 reinplace "s|__PREFIX__|${prefix}|g" "${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" }50 system "env LANG=C DYLD_LIBRARY_PATH=${destroot}${prefix}/lib ${destroot}${prefix}/bin/gtk-query-immodules-2.0 ${destroot}${prefix}/lib/gtk-2.0/2.4.0/immodules/*.so | sed -e 's|${destroot}||g' > ${destroot}${prefix}/etc/gtk-2.0/gtk.immodules" }