New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82189


Ignore:
Timestamp:
08/09/11 18:48:03 (4 years ago)
Author:
dports@…
Message:

texlive portgroup: do not run mktexlsr in post-deactivate if
use_mktexlsr is disabled. Add a use_mktexlsr_on_deactivate to allow
disabling mktexlsr only on deactivate.

Set use_mktexlsr_on_deactivate no on texlive-basic. It should run
mktexlsr on activate, but can't on deactivate because it's the port
that installs mktexlsr.

Location:
trunk/dports
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/texlive-1.0.tcl

    r82181 r82189  
    147147default texlive.forceupdatecnf no 
    148148 
    149 # Whether to run mktexlsr after activation. Usually required if 
     149# Whether to run mktexlsr after (de)activation. Usually required if 
    150150# installing any texmf files. 
    151151options texlive.use_mktexlsr 
    152152default texlive.use_mktexlsr yes 
     153 
     154# Running mktexlsr after deactivation can be disabled separately. Note 
     155# that the value of this option is ignored if use_mktexlsr is disabled. 
     156options texlive.use_mktexlsr_on_deactivate 
     157default texlive.use_mktexlsr_on_deactivate yes 
    153158 
    154159proc texlive.texmfport {} { 
     
    463468        # Update ls-R and any config files to reflect that the package 
    464469        # is now gone 
    465         texlive.mktexlsr 
     470        if {${texlive.use_mktexlsr} && ${texlive.use_mktexlsr_on_deactivate}} { 
     471            texlive.mktexlsr 
     472        } 
    466473        if {${texlive.forceupdatecnf} || ${texlive.languages} != ""} { 
    467474            system "${prefix}/libexec/texlive-update-cnf language.dat" 
  • trunk/dports/tex/texlive-basic/Portfile

    r82097 r82189  
    77name                texlive-basic 
    88version             23152 
    9 revision            0 
     9revision            1 
    1010 
    1111categories          tex 
     
    9797 
    9898texlive.forceupdatecnf yes 
     99texlive.use_mktexlsr_on_deactivate no 
    99100 
    100101texlive.texmfport 
Note: See TracChangeset for help on using the changeset viewer.