Ignore:
Timestamp:
Jun 17, 2010, 12:25:08 AM (9 years ago)
Author:
dports@…
Message:

texlive-bin, texlive-common: merge in a couple more changes that
inexplicably did not get merged over by r68884:

  • set supported_archs
  • add pre-activate hook to texlive-common to remove old texlive 2007 ports
  • remove libXmu from archcheck for texlive-bin +no_x11
  • update maintainer email address
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/texlive-common/Portfile

    r68605 r68890  
    77name                texlive-common
    88version             2009
     9revision            1
    910
    1011categories          tex
    11 maintainers         ambulatoryclam.net:dports
     12maintainers         dports
    1213description         TeX Live common infrastructure.
    1314long_description    This port provides files that support a MacPorts    \
     
    1718homepage            http://www.tug.org/texlive/
    1819platforms           darwin
    19 
    20 if {[info exists supported_archs]} {
    21     supported_archs noarch
    22 } else {
    23     universal_variant no
    24 }
     20supported_archs     noarch
    2521
    2622master_sites        http://flute.csail.mit.edu/texlive/
     
    6460    touch ${destroot}${texlive_texmflocal}/ls-R
    6561    touch ${destroot}${texlive_texmfsysvar}/ls-R
     62    touch ${destroot}${texlive_texmfsysconfig}/ls-R
    6663
    6764    # Install texmf.cnf and symlink to its usual expected location
     
    9390}
    9491
     92pre-activate {
     93    # Delete ls-R index file if it exists
     94    if [file exists ${texlive_texmflocal}/ls-R] {
     95        delete ${texlive_texmflocal}/ls-R
     96    }
     97
     98    # Deactivate any of the texlive 2007 ports. replaced_by does not
     99    # accomplish this because not all of these ports conflict with
     100    # this one (although they will cause problems later).
     101    foreach oldport {texlive_base texlive_texmf-full texlive_texmf-minimal texlive_texmf-docs} {
     102        if {![catch {registry_active $oldport}]} {
     103            registry_deactivate $oldport "" [list ports_nodepcheck 1]
     104        }
     105    }
     106}
     107
    95108post-activate {
    96109    system "${prefix}/libexec/texlive-update-cnf fmtutil.cnf"
Note: See TracChangeset for help on using the changeset viewer.