# $Id: Portfile,v 1.8 2003/06/26 00:21:52 landonf Exp $ PortSystem 1.0 name fontconfig version 2.2.0 revision 1 categories graphics maintainers blb@pobox.com description font configuration and customization library long_description \ fontconfig is a font configuration and customization library. Fontconfig is \ designed to locate fonts within the system and select them according to \ requirements specified by applications. \ Fontconfig is not a rasterization library, nor does it impose a particular \ rasterization library on the application. The X-specific library \ 'Xft' uses fontconfig along with freetype to specify and rasterize fonts. homepage http://fontconfig.org/ master_sites http://fontconfig.org/release/ platforms darwin checksums md5 cf0ce6c87e5d6362e9ebc8d94a45fdc4 depends_lib lib:freetype.2:freetype lib:libexpat.0:expat variant darwin { pre-build { system "cp /usr/bin/glibtool ${worksrcpath}/libtool" } } configure.env CPPFLAGS="-I${prefix}/include -I${x11prefix}/include" LDFLAGS="-L${worksrcpath}/src/.libs -L${prefix}/lib -L${x11prefix}/lib" configure.args --enable-static=no --with-freetype-config=${prefix}/bin/freetype-config