Commits
Dan R. K. Ports authored f0fedcc5864
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-mh |
6 - | version 0 |
7 + | version 1 |
7 8 | categories tex print |
8 9 | maintainers nomaintainer |
9 10 | description The mh bundle |
10 11 | long_description \ |
11 12 | mh is a TeX package collection by Morten Hoegholm. \ |
12 13 | It contains Michael J. Downes' breqn, flexisym, mathstyle, \ |
13 14 | and mhsetup, mathtools, empheq, empheq07. |
14 15 | platforms darwin |
15 16 | homepage 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 |
22 17 | |
23 - | depends_lib bin:mktexlsr:texlive |
18 + | distfiles |
24 19 | |
25 - | pre-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 - | } |
29 - | } |
30 - | |
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 |
20 + | replaced_by texlive-latex3 |
41 21 | |
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 - | } |
22 + | pre-configure { |
23 + | ui_error "${name} has been replaced by ${replaced_by}; please install that port instead" |
24 + | return -code error "obsolete port" |
51 25 | } |
52 26 | |
53 - | post-activate { |
54 - | system "mktexlsr" |
55 - | } |
27 + | livecheck.type none |