Changeset 74745 for trunk/dports/tex


Ignore:
Timestamp:
Jan 1, 2011, 1:10:04 AM (9 years ago)
Author:
dports@…
Message:

tex-cm-super: replace with texlive-fonts-recommended

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/tex-cm-super/Portfile

    r56184 r74745  
     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
    12# $Id$
    23
     
    56name            tex-cm-super
    67version         0.3.4
     8revision        1
    79categories      tex print
    810maintainers     nomaintainer
     
    2022platforms       darwin
    2123homepage
    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
    2924
    30 depends_lib     bin:mktexlsr:texlive
     25distfiles
    3126
    32 post-extract {
    33     system "cd ${worksrcpath}/afm && gunzip *.afm.gz"
     27replaced_by     texlive-fonts-recommended
     28
     29pre-configure {
     30    ui_error "${name} has been replaced by ${replaced_by}; please install that port instead"
     31    return -code error "obsolete port"
    3432}
    3533
    36 use_configure   no
    37 
    38 build {}
    39 
    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     }
    49 }
    50 
    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 }
     34livecheck.type  none
Note: See TracChangeset for help on using the changeset viewer.