Changeset 74744


Ignore:
Timestamp:
Dec 31, 2010, 11:45:38 PM (9 years ago)
Author:
dports@…
Message:

tex-mh: replaced_by texlive-latex3 (#27795)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/tex-mh/Portfile

    r56184 r74744  
     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
     
    45
    56name            tex-mh
    6 version         0
     7version         1
    78categories      tex print
    89maintainers     nomaintainer
     
    1415platforms       darwin
    1516homepage        http://www.ctan.org/get/macros/latex/contrib/mh
    16 master_sites    http://www.ctan.org/get/macros/latex/contrib
    17 distname        mh
    18 use_zip         yes
    19 checksums       md5 b04ca2eb6f4429467cadae4cd52144e6 \
    20                 sha1 ea55b996bbfd10d75b8d3e17484046a74344504d \
    21                 rmd160 1d6bb18d7a25c537c86ae94981b10449cc97c8bd
    2217
    23 depends_lib     bin:mktexlsr:texlive
     18distfiles
     19
     20replaced_by     texlive-latex3
    2421
    2522pre-configure {
    26     if {[file exists ${prefix}/share/texmf-local/tex/latex/breqn/breqn.sty]} {
    27         return -code error "Before installing ${name}, please uninstall (or deactivate) breqn."
    28     }
     23    ui_error "${name} has been replaced by ${replaced_by}; please install that port instead"
     24    return -code error "obsolete port"
    2925}
    3026
    31 use_configure   no
    32 
    33 build {
    34     system "cd ${worksrcpath} && find . -name \"*.dtx\" | xargs -L1 tex"
    35 }
    36 
    37 destroot {
    38     xinstall -m 755 -d ${destroot}${prefix}/share/texmf-local/tex/latex/mh
    39     xinstall -m 755 -d ${destroot}${prefix}/share/texmf-local/doc/latex/mh
    40     xinstall -m 755 -d ${destroot}${prefix}/share/texmf-local/source/latex/mh
    41 
    42     foreach {f} {*.sty *.sym} {
    43         eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/texmf-local/tex/latex/mh
    44     }
    45     foreach {f} {*.pdf breqn-technotes.tex eqlayouts.tex README} {
    46         eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/texmf-local/doc/latex/mh
    47     }
    48     foreach {f} {*.dtx} {
    49         eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/texmf-local/source/latex/mh
    50     }
    51 }
    52 
    53 post-activate {
    54     system "mktexlsr"
    55 }
     27livecheck.type  none
Note: See TracChangeset for help on using the changeset viewer.