# $Id: Portfile,v 1.1 2005/08/17 03:25:40 pguyot Exp $

PortSystem			1.0
name            	ttf2pt1
version         	3.4.4
description     	True Type Font to Postscript Type 1 Converter
long_description	TTF2PT1 is a modification of Andrew Weeks TTF2PFA True \
					Type to Postscript Type 3 converter. Which will convert \
					Most True Type Fonts to an Adobe Type 1 .pfa file. And \
					also the other font formats supported by the FreeType \
					library to an Adobe Type 1 .pfa file. And the BDF fonts to \
					an Adobe Type 1 .pfa file. Yet another use is as a hinting \
					engine: feed it an unhinted or poorly hinted Adobe Type 1 \
					font through the FreeType library and get it back with \
					freshly generated hints. If you want .pfb files, don't \
					despair: they can be produced too. The files produced by \
					default are in human readable form, which further needs to \
					be encoded with the t1utilities, to work with most \
					software requiring type 1 fonts.
platforms       	darwin
categories      	print
maintainers     	pguyot@kallisys.net
homepage			http://${name}.sourceforge.net/
master_sites		sourceforge
extract.suffix		.tgz
checksums			md5 cb143c07cc83167875ca09ea720d4932 \
					sha1 936771b11a740c16a8e0adb737b54b22cca18cb2
patchfiles			patch-ft.c
use_configure		no
depends_lib			port:freetype \
					lib:libz:zlib
build.post_args		CFLAGS_SYS="-I${prefix}/include \
					-I${prefix}/include/freetype2 \
					-DUSE_FREETYPE \
					-DPREFER_FREETYPE" \
					LIBS_SYS="-L${prefix}/lib \
					-lm -lfreetype"
destroot.post_args	INSTDIR=${destroot}${prefix} \
					MANDIR=${destroot}${prefix}/share/man/ \
					GROUP=admin
# wait for HEAD changes to be merged.
#					OWNER=${install.user} \
#					GROUP=${install.group}
