# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem			1.0
name				mftrace
version				1.2.16
revision            1
categories			graphics
maintainers			nomaintainer
license             GPL-2
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://lilypond.org/mftrace/
master_sites			http://lilypond.org/download/sources/mftrace/

checksums           sha1    f227a98401ded8fbb0f692933ee6324ef80f3b61 \
                    rmd160  71bb646fa78c81788fd1134659b3363e04ffed4c

depends_lib			port:python27 port:potrace bin:kpsewhich:texlive

configure.args		--mandir=${prefix}/share/man
configure.env       PYTHON=${prefix}/bin/python2.7

build.env           "CC=${configure.cc} [get_canonical_archflags cc]"

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