New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 80903


Ignore:
Timestamp:
07/20/11 15:35:44 (4 years ago)
Author:
dports@…
Message:

texlive-common: install texmfcnf.lua for ConTeXt; also set CLUAINPUTS
to something sane in both texmf.cnf and texmfcnf.lua

File:
1 edited

Legend:

Unmodified
Added
Removed
  • users/dports/ports/tex/texlive-common/Portfile

    r80615 r80903  
    2222worksrcdir          ${distname} 
    2323use_xz              yes 
    24 checksums           sha1     176ea094f2bd6bacd7ff5bd5aeab2b26315d8903 \ 
    25                     rmd160   9371019465792defa30005a4f25a61ba338e8b31 
     24checksums           sha1     b6368e40771d69ef90a079fee7c548a582368a0b \ 
     25                    rmd160   303055018103850e1416f396723cc4da1edc990f 
    2626 
    2727livecheck.type  regex 
     
    2929livecheck.regex ${name}-(\[\\d-\]+)\\.tar 
    3030 
    31  
    3231post-patch { 
    33     foreach x {texmf.cnf.d/10paths.cnf texlive-update-cnf} { 
     32    foreach x {texmf.cnf.d/10paths.cnf texmfcnf.lua texlive-update-cnf} { 
    3433        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/${x} 
    3534        reinplace "s|@@TEXMFMAIN@@|${texlive_texmfmain}|g" ${worksrcpath}/${x} 
     
    3938        reinplace "s|@@TEXMFSYSVAR@@|${texlive_texmfsysvar}|g" ${worksrcpath}/${x} 
    4039        reinplace "s|@@TEXMFSYSCONFIG@@|${texlive_texmfsysconfig}|g" ${worksrcpath}/${x} 
     40        reinplace "s|@@TEXLIVE_BINDIR@@|${texlive_bindir}|g" ${worksrcpath}/${x} 
    4141    } 
    4242} 
     
    9797    ln -s ${texlive_texmfsysconfig}/texmf.cnf \ 
    9898        ${destroot}${texlive_texmfports}/web2c/texmf.cnf 
     99 
     100    # Install texmfcnf.lua (for ConTeXt MkIV) 
     101    xinstall -m 644 ${worksrcpath}/texmfcnf.lua \ 
     102        ${destroot}${texlive_texmfsysconfig}/ 
     103 
    99104} 
    100105 
Note: See TracChangeset for help on using the changeset viewer.