[80903] users/dports/ports/tex/texlive-common/Portfile
dports at macports.org
dports at macports.org
Wed Jul 20 15:35:45 PDT 2011
Revision: 80903
http://trac.macports.org/changeset/80903
Author: dports at macports.org
Date: 2011-07-20 15:35:44 -0700 (Wed, 20 Jul 2011)
Log Message:
-----------
texlive-common: install texmfcnf.lua for ConTeXt; also set CLUAINPUTS
to something sane in both texmf.cnf and texmfcnf.lua
Modified Paths:
--------------
users/dports/ports/tex/texlive-common/Portfile
Modified: users/dports/ports/tex/texlive-common/Portfile
===================================================================
--- users/dports/ports/tex/texlive-common/Portfile 2011-07-20 21:51:28 UTC (rev 80902)
+++ users/dports/ports/tex/texlive-common/Portfile 2011-07-20 22:35:44 UTC (rev 80903)
@@ -21,16 +21,15 @@
master_sites http://flute.csail.mit.edu/texlive/test/
worksrcdir ${distname}
use_xz yes
-checksums sha1 176ea094f2bd6bacd7ff5bd5aeab2b26315d8903 \
- rmd160 9371019465792defa30005a4f25a61ba338e8b31
+checksums sha1 b6368e40771d69ef90a079fee7c548a582368a0b \
+ rmd160 303055018103850e1416f396723cc4da1edc990f
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex ${name}-(\[\\d-\]+)\\.tar
-
post-patch {
- foreach x {texmf.cnf.d/10paths.cnf texlive-update-cnf} {
+ foreach x {texmf.cnf.d/10paths.cnf texmfcnf.lua texlive-update-cnf} {
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/${x}
reinplace "s|@@TEXMFMAIN@@|${texlive_texmfmain}|g" ${worksrcpath}/${x}
reinplace "s|@@TEXMFDIST@@|${texlive_texmfdist}|g" ${worksrcpath}/${x}
@@ -38,6 +37,7 @@
reinplace "s|@@TEXMFLOCAL@@|${texlive_texmflocal}|g" ${worksrcpath}/${x}
reinplace "s|@@TEXMFSYSVAR@@|${texlive_texmfsysvar}|g" ${worksrcpath}/${x}
reinplace "s|@@TEXMFSYSCONFIG@@|${texlive_texmfsysconfig}|g" ${worksrcpath}/${x}
+ reinplace "s|@@TEXLIVE_BINDIR@@|${texlive_bindir}|g" ${worksrcpath}/${x}
}
}
@@ -96,6 +96,11 @@
xinstall -d ${destroot}${texlive_texmfports}/web2c
ln -s ${texlive_texmfsysconfig}/texmf.cnf \
${destroot}${texlive_texmfports}/web2c/texmf.cnf
+
+ # Install texmfcnf.lua (for ConTeXt MkIV)
+ xinstall -m 644 ${worksrcpath}/texmfcnf.lua \
+ ${destroot}${texlive_texmfsysconfig}/
+
}
pre-activate {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110720/9444d215/attachment.html>
More information about the macports-changes
mailing list