# $Id: Portfile,v 1.16 2003/08/01 07:56:23 mij Exp $ PortSystem 1.0 name pango version 1.2.3 revision 3 categories x11 maintainers mij@opendarwin.org description Framework for the layout and rendering of i18n text platforms darwin long_description The goal of the Pango project is to provide an \ open-source framework for the layout and rendering \ of internationalized text. master_sites ftp://ftp.gtk.org/pub/gtk/v2.2/ checksums md5 12247592ea582907cfd2de81aeb32caf patchfiles patch-Makefile.in patch-ltmain.sh patch-modules-Makefile.in \ patch-pango-Makefile.in patch-pango-opentype-pango-ot-info.c use_bzip2 yes depends_lib lib:libglib.2:glib2 lib:libfontconfig.1:fontconfig \ lib:libX11.6:XFree86 lib:libXft.2:Xft configure.env LDFLAGS="-no-undefined" \ CPPFLAGS="-no-cpp-precomp" post-install { system "ln -fs libpango-1.0.0.200.3.dylib \ ${destroot}${prefix}/lib/libpango.1.dylib" system "ln -fs libpangox-1.0.0.200.3.dylib \ ${destroot}${prefix}/lib/libpangox.1.dylib" system "ln -fs libpangoft2-1.0.0.200.3.dylib \ ${destroot}${prefix}/lib/libpangoft2.1.dylib" reinplace "s|\./|${prefix}/etc/pango/|g" \ ${worksrcpath}/examples/pangorc reinplace "s|\./|${prefix}/etc/pango/|g" \ ${worksrcpath}/examples/pangox.aliases system "install -o root -m 755 -d \ ${destroot}${prefix}/etc/pango" system "cp ${worksrcpath}/examples/pangorc \ ${destroot}${prefix}/etc/pango" system "cp ${worksrcpath}/examples/pangox.aliases \ ${destroot}${prefix}/etc/pango" system "env LANG=C DYLD_LIBRARY_PATH=${destroot}${prefix}/lib \ ${destroot}${prefix}/bin/pango-querymodules ${destroot}${prefix}/lib/pango/1.2.0/modules/* >${destroot}${prefix}/etc/pango/pango.modules" reinplace s|${destroot}||g ${destroot}${prefix}/etc/pango/pango.modules }