# $Id: Portfile,v 1.3 2005/10/19 08:10:11 blb Exp $

PortSystem			1.0
name				mftrace
version				1.1.1
categories			graphics
maintainers			blb@opendarwin.org
description			Trace TeX bitmap font to PFA, PFB, or TTF font
long_description \
	A small Python program that lets you trace a TeX bitmap font into a \
	PFA or PFB font (A PostScript Type1 Scalable Font) or TTF (TrueType) \
	font.  It is licensed under the GNU GPL.

platforms			darwin

homepage			http://www.xs4all.nl/~hanwen/mftrace/
master_sites		${homepage}

checksums			md5 d720f844e2a5fbecaff274b81bff79d3 \
					sha1 5a8878809ef0e26ea5f64365009da031811e2884

depends_lib			bin:python:python23 bin:potrace:potrace \
					bin:t1asm:t1utils bin:tex:teTeX

configure.env		CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
configure.args		--mandir=${prefix}/share/man

variant autotrace {
	depends_lib-delete	bin:potrace:potrace
	depends_lib-append	bin:autotrace:autotrace
}

