source: trunk/dports/tex/tex-cm-super/Portfile @ 56184

Last change on this file since 56184 was 56184, checked in by ryandesign@…, 10 years ago

"use_configure no" instead of "configure {}"

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# $Id: Portfile 56184 2009-08-25 06:11:10Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            tex-cm-super
6version         0.3.4
7categories      tex print
8maintainers     nomaintainer
9description     CM-Super font package.
10long_description \
11                The CM-Super package contains Type 1 fonts converted from METAFONT \
12                fonts and covers entire EC/TC, EC Concrete, EC Bright and LH fonts \
13                (Computer Modern font families). All European and Cyrillic writings \
14                are covered. Each Type 1 font program contains ALL glyphs from the \
15                following standard LaTeX font encodings: T1, TS1, T2A, T2B, T2C, X2, \
16                and also Adobe StandardEncoding (585 glyphs per non-SC font and 468 \
17                glyphs per SC font), and could be reencoded to any of these encodings \
18                using standard dvips or pdftex facilities (the corresponding support \
19                files are also included).
20platforms       darwin
21homepage
22master_sites    macports
23distname        cm-super-${version}
24worksrcdir      cm-super
25use_zip         yes
26checksums       md5 a9c255e1d8be99134c219bab9c06002c \
27                sha1 9ba9b2eca294083fa8821304ed88ad1dd3a25c62 \
28                rmd160 fc2f18c2b000725c8076bc6a52f0ccaf06dcecd1
29
30depends_lib     bin:mktexlsr:texlive
31
32post-extract {
33    system "cd ${worksrcpath}/afm && gunzip *.afm.gz"
34}
35
36use_configure   no
37
38build {}
39
40destroot {
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    }
49}
50
51post-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
57post-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}
Note: See TracBrowser for help on using the repository browser.