Ignore:
Timestamp:
Jan 17, 2011, 10:32:22 AM (9 years ago)
Author:
dports@…
Message:

texlive portgroup: regenerate all formats whenever we install
hyphenation patterns

File:
1 edited

Legend:

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

    r73325 r75187  
    324324        } else {
    325325            # Otherwise, only update the config files that are
    326             # actually affected, and only generate the formats that
    327             # are being installed.
     326            # actually affected, and only generate the needed
     327            # formats.
    328328            if {${texlive.languages} != ""} {
    329329                system "${prefix}/libexec/texlive-update-cnf language.dat"
     
    336336            if {${texlive.formats} != ""} {
    337337                system "${prefix}/libexec/texlive-update-cnf fmtutil.cnf"
     338            }
     339
     340            # Regenerate formats. If we installed any hyphenation
     341            # patterns, then we need to regenerate all
     342            # formats. Otherwise, just generate the formats we just
     343            # installed.
     344            if {${texlive.languages} != ""} {
     345                system "${prefix}/bin/fmtutil-sys --all"               
     346            } elseif {${texlive.formats} != ""} {
    338347                foreach x ${texlive.formats} {
    339348                    set fmtname [lindex $x 1]
Note: See TracChangeset for help on using the changeset viewer.