# $Id: Portfile 54913 2009-08-04 15:37:04Z snc@macports.org $ PortSystem 1.0 name fondu version 060102 platforms darwin description A set of programs to interconvert between mac font formats and pfb, ttf, otf and bdf files on unix. long_description \ Dealing with mac fonts is hard on other operating systems because mac fonts are stored \ in the resource fork, and other operating systems do not support this concept. Fondu \ will extract the resource fork from either a macbinary file or a binhex file. Ufond will \ create a resource fork inside a macbinary file. categories print homepage http://fondu.sourceforge.net/ master_sites http://fondu.sourceforge.net/ checksums md5 e20861beacddc1ab392bef7813641bf8 maintainers nomaintainer distname fondu_src-${version} extract.suffix .tgz worksrcdir fondu-${version} post-patch { set CPPFLAGS "${configure.cppflags}" set CFLAGS "${configure.cflags}" set LDFLAGS "${configure.ldflags}" if {[variant_isset universal]} { set CPPFLAGS "${CPPFLAGS} ${configure.universal_cppflags}" set CFLAGS "${CFLAGS} ${configure.universal_cflags}" set LDFLAGS "${LDFLAGS} ${configure.universal_ldflags}" } reinplace "s|^CFLAGS = -g \$(WFLAGS)|CFLAGS = -g \$(WFLAGS) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}|g" ${worksrcpath}/Makefile.in } configure.args --bindir=${prefix}/bin --mandir=${prefix}/share/man post-destroot { foreach manpage [glob ${worksrcpath}/*.1] { xinstall ${manpage} ${destroot}${prefix}/share/man/man1/ } }