a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 23165 2007-03-26 21:52:09Z takanori@macports.org $
PortSystem 1.0
name lcdf-typetools
version 2.61
categories print tex
maintainers nomaintainer@macports.org
description Tools for manipulating fonts.
long_description The LCDF Typetools package contains several programs for manipulating \
PostScript Type 1, Type 1 multiple master, and PostScript-flavored OpenType \
fonts.
platforms darwin
homepage http://www.lcdf.org/type/
master_sites ${homepage}
checksums md5 10f17b305bae81662ed5f12245775ff9 \
sha1 e38dd5ee6352781db6eb23fd5a75c665323b47ae \
rmd160 ad99914f7ec4e14e7a19cdc6e70ef669e10097d5
# In port:pTeX, libkpathsea is installed as a static library.
depends_lib path:${prefix}/include/kpathsea/kpathsea.h:teTeX
configure.env CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
configure.args --mandir=${prefix}/share/man --with-kpathsea=${prefix}
destroot.target install-strip
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc
xinstall -m 644 -W ${worksrcpath} COPYING INSTALL NEWS ONEWS README \
${destroot}${prefix}/share/doc/${name}
}
variant without_kpathsea {
depends_lib-delete path:${prefix}/include/kpathsea/kpathsea.h:teTeX
configure.args-delete --with-kpathsea=${prefix}
configure.args-append --without-kpathsea
}
livecheck.check regex
livecheck.regex ${name}-(\[0-9.\]+)\\.tar