# $Id: Portfile 27150 2007-07-21 14:27:34Z ryandesign@macports.org $ PortSystem 1.0 name pango version 1.16.4 categories x11 maintainers ryandesign homepage http://www.pango.org/ master_sites gnome:sources/pango/[strsed ${version} {/\.[0-9]*$//}] platforms darwin use_bzip2 yes description \ Framework for the layout and rendering of i18n text long_description \ The goal of the Pango project is to provide an \ open-source framework for the layout and rendering \ of internationalized text. checksums \ md5 025e2ac5e40cac163aae4653aeef559c \ sha1 6a21126632ed99950818c64d8598b6e92fa7da58 \ rmd160 377bc9f6e253db899d3eb31d31a9e0d0ba586ba7 depends_lib \ port:glib2 \ lib:libX11.6:XFree86 \ port:Xft2 \ port:cairo \ port:fontconfig patchfiles \ patch-ltmain.sh configure.cppflags-append \ -no-cpp-precomp configure.ldflags-append \ -no-undefined \ -bind_at_load configure.args \ --mandir=${prefix}/share/man \ --enable-cairo post-destroot { system "install -o root -m 755 -d \ ${destroot}${prefix}/etc/pango" system "cp ${worksrcpath}/modules/pangorc \ ${destroot}${prefix}/etc/pango" system "cp ${worksrcpath}/pango/pangox.aliases \ ${destroot}${prefix}/etc/pango" reinplace "s|\\.\\./modules/|${prefix}/etc/pango/|g" \ ${destroot}/${prefix}/etc/pango/pangorc system "env LANG=C DYLD_LIBRARY_PATH=${destroot}${prefix}/lib \ ${destroot}${prefix}/bin/pango-querymodules ${destroot}${prefix}/lib/pango/1.6.0/modules/*.so \ >${destroot}${prefix}/etc/pango/pango.modules" reinplace s|${destroot}||g ${destroot}${prefix}/etc/pango/pango.modules } livecheck.check freshmeat