Commits
Dan R. K. Ports authored 72dae7e191d
1 + | # -*- 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 |
1 2 | # $Id$ |
2 3 | |
3 4 | PortSystem 1.0 |
4 5 | |
5 6 | name tex-cm-super |
6 7 | version 0.3.4 |
8 + | revision 1 |
7 9 | categories tex print |
8 10 | maintainers nomaintainer |
9 11 | description CM-Super font package. |
10 12 | long_description \ |
11 13 | The CM-Super package contains Type 1 fonts converted from METAFONT \ |
12 14 | fonts and covers entire EC/TC, EC Concrete, EC Bright and LH fonts \ |
13 15 | (Computer Modern font families). All European and Cyrillic writings \ |
14 16 | are covered. Each Type 1 font program contains ALL glyphs from the \ |
15 17 | following standard LaTeX font encodings: T1, TS1, T2A, T2B, T2C, X2, \ |
16 18 | and also Adobe StandardEncoding (585 glyphs per non-SC font and 468 \ |
17 19 | glyphs per SC font), and could be reencoded to any of these encodings \ |
18 20 | using standard dvips or pdftex facilities (the corresponding support \ |
19 21 | files are also included). |
20 22 | platforms darwin |
21 23 | homepage |
22 - | master_sites macports |
23 - | distname cm-super-${version} |
24 - | worksrcdir cm-super |
25 - | use_zip yes |
26 - | checksums md5 a9c255e1d8be99134c219bab9c06002c \ |
27 - | sha1 9ba9b2eca294083fa8821304ed88ad1dd3a25c62 \ |
28 - | rmd160 fc2f18c2b000725c8076bc6a52f0ccaf06dcecd1 |
29 24 | |
30 - | depends_lib bin:mktexlsr:texlive |
25 + | distfiles |
31 26 | |
32 - | post-extract { |
33 - | system "cd ${worksrcpath}/afm && gunzip *.afm.gz" |
34 - | } |
35 - | |
36 - | use_configure no |
37 - | |
38 - | build {} |
27 + | replaced_by texlive-fonts-recommended |
39 28 | |
40 - | destroot { |
41 - | foreach {src dst} {afm/*.afm fonts/afm/public/cm-super |
42 - | dvips/*.map fonts/map/dvips/public/cm-super |
43 - | dvips/*.enc fonts/enc/dvips/public/cm-super |
44 - | pfb/*.pfb fonts/type1/public/cm-super |
45 - | type1ec.sty tex/latex/cm-super} { |
46 - | xinstall -m 755 -d ${destroot}${prefix}/share/texmf-local/${dst} |
47 - | eval xinstall -m 644 [glob ${worksrcpath}/${src}] ${destroot}${prefix}/share/texmf-local/${dst} |
48 - | } |
29 + | pre-configure { |
30 + | ui_error "${name} has been replaced by ${replaced_by}; please install that port instead" |
31 + | return -code error "obsolete port" |
49 32 | } |
50 33 | |
51 - | post-destroot { |
52 - | xinstall -m 755 -d ${destroot}${prefix}/share/texmf-local/doc/cm-super |
53 - | xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog FAQ README TODO \ |
54 - | ${destroot}${prefix}/share/texmf-local/doc/cm-super |
55 - | } |
56 - | |
57 - | post-activate { |
58 - | system "mktexlsr" |
59 - | ui_msg "\nBefore using cm-super, please make sure to update font map files.\n" |
60 - | ui_msg " \$ sudo updmap-sys --nomkmap --enable Map cm-super-t1.map" |
61 - | ui_msg " \$ sudo updmap-sys --nomkmap --enable Map cm-super-ts1.map" |
62 - | ui_msg " \$ sudo updmap-sys --nomkmap --enable Map cm-super-t2a.map" |
63 - | ui_msg " \$ sudo updmap-sys --nomkmap --enable Map cm-super-t2b.map" |
64 - | ui_msg " \$ sudo updmap-sys --nomkmap --enable Map cm-super-t2c.map" |
65 - | ui_msg " \$ sudo updmap-sys --enable Map cm-super-x2.map\n" |
66 - | } |
34 + | livecheck.type none |