tex-mh: replaced_by texlive-latex3 (https://trac.macports.org/ticket/27795)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@74744 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Dan Ports
2010-12-31 23:45:38 +00:00
parent 4bde4c9fc8
commit f0fedcc586
+8 -36
View File
@@ -1,9 +1,10 @@
# -*- 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
# $Id$
PortSystem 1.0
name tex-mh
version 0
version 1
categories tex print
maintainers nomaintainer
description The mh bundle
@@ -13,43 +14,14 @@ long_description \
and mhsetup, mathtools, empheq, empheq07.
platforms darwin
homepage http://www.ctan.org/get/macros/latex/contrib/mh
master_sites http://www.ctan.org/get/macros/latex/contrib
distname mh
use_zip yes
checksums md5 b04ca2eb6f4429467cadae4cd52144e6 \
sha1 ea55b996bbfd10d75b8d3e17484046a74344504d \
rmd160 1d6bb18d7a25c537c86ae94981b10449cc97c8bd
depends_lib bin:mktexlsr:texlive
distfiles
replaced_by texlive-latex3
pre-configure {
if {[file exists ${prefix}/share/texmf-local/tex/latex/breqn/breqn.sty]} {
return -code error "Before installing ${name}, please uninstall (or deactivate) breqn."
}
ui_error "${name} has been replaced by ${replaced_by}; please install that port instead"
return -code error "obsolete port"
}
use_configure no
build {
system "cd ${worksrcpath} && find . -name \"*.dtx\" | xargs -L1 tex"
}
destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/texmf-local/tex/latex/mh
xinstall -m 755 -d ${destroot}${prefix}/share/texmf-local/doc/latex/mh
xinstall -m 755 -d ${destroot}${prefix}/share/texmf-local/source/latex/mh
foreach {f} {*.sty *.sym} {
eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/texmf-local/tex/latex/mh
}
foreach {f} {*.pdf breqn-technotes.tex eqlayouts.tex README} {
eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/texmf-local/doc/latex/mh
}
foreach {f} {*.dtx} {
eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/texmf-local/source/latex/mh
}
}
post-activate {
system "mktexlsr"
}
livecheck.type none