1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name teTeX-texmf |
---|
5 | version 2.0.2 |
---|
6 | categories print textproc |
---|
7 | description TeX METAFONT (fonts, macros, etc) files |
---|
8 | long_description auxiliary files needed for teTeX |
---|
9 | platforms darwin |
---|
10 | maintainers blb@pobox.com |
---|
11 | |
---|
12 | master_sites ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/ \ |
---|
13 | ftp://dante.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/ |
---|
14 | \ |
---|
15 | ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/ |
---|
16 | |
---|
17 | checksums md5 d3bdb96f9077e43b2115d3cc471743b3 |
---|
18 | |
---|
19 | extract {} |
---|
20 | configure {} |
---|
21 | build {} |
---|
22 | install { |
---|
23 | system "mkdir -p ${destroot}/${prefix}/share/texmf" |
---|
24 | system "cd ${destroot}/${prefix}/share/texmf && \ |
---|
25 | gunzip -c ${distpath}/${distname}${extract.sufx} | \ |
---|
26 | tar xf - " |
---|
27 | } |
---|
28 | |
---|
29 | post-install { |
---|
30 | # Modify mktex.opt to force use of varfonts |
---|
31 | reinplace s|MT_FEATURES=appendonlydir|MT_FEATURES=appendonlydir:varfonts|g ${destroot}/${prefix}/share/texmf/web2c/mktex.cnf |
---|
32 | # Create a local texmf tree |
---|
33 | file mkdir ${destroot}/${prefix}/share/texmf.local/web2c |
---|
34 | # Create the texmf.macosx tree |
---|
35 | file mkdir ${destroot}/${prefix}/share/texmf.macosx/web2c |
---|
36 | } |
---|
37 | |
---|