Portfile

# $Id: Portfile 21502 2007-01-26 02:54:16Z eridius@macports.org $

PortSystem 1.0
name tex-fourier-gutenberg
version 1.4.1
description Fourier-GUTenberg provides all complementary typefaces needed to allow \
Utopia based TeX typesetting.
long_description ${description}
platforms darwin
categories tex print
maintainers nomaintainer@macports.org
homepage
master_sites http://www.ring.gr.jp/pub/text/CTAN/fonts/ \
ftp://ftp.jaist.ac.jp/pub/TeX/tex-archive/fonts/
distname fourier-GUT
use_zip yes
checksums md5 4240bba0b9084edba32010d1c7e34275 \
sha1 84e553b00ce9a60681b8ebd64db2e721d3469f81 \
rmd160 b95903070f38c545d8cccc39da38195e7a116d16
depends_lib bin:mktexlsr:teTeX \
path:${prefix}/share/texmf-local/fonts/type1/adobe/utopia/putr8a.pfb:tex-utopia

configure {}
build {}

destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/texmf-local
foreach d {doc fonts tex} {
system "cp -R ${worksrcpath}/${d} ${destroot}${prefix}/share/texmf-local"
}
}

post-activate {
system "mktexlsr"
ui_msg "\nBefore using fourier-GUT, please make sure to update font map files.\n"
ui_msg " \$ sudo updmap-sys --enable Map fourier.map\n"
}