Changeset 68890 for trunk/dports/tex


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
Location:
trunk/dports/tex
Files:
2 edited

Legend:

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

    r68605 r68890  
    88name            texlive-bin
    99version         2009
     10revision        1
    1011
    1112categories      tex
    12 maintainers     ambulatoryclam.net:dports
     13maintainers     dports
    1314description     TeX Live Binaries.
    1415long_description    TeX Live is an easy way to get up and running with TeX. \
     
    3233
    3334# xetex doesn't build 64-bit; force 32-bit for now
    34 configure.build_arch i386
    35 configure.ldflags "-arch i386"
     35supported_archs i386 ppc
     36universal_variant no
     37
    3638archcheck.files lib/libz.dylib \
    3739                lib/libpng.dylib \
     
    4244                lib/libXmu.dylib \
    4345                lib/libXp.dylib
    44                
    45 universal_variant no
    4646
    4747# Bug #18303
     
    134134variant no_x11 conflicts xaw motif xaw3d nextaw {
    135135    depends_lib-delete port:xorg-libXp
    136     archcheck.files-delete lib/libXp.dylib
    137 
     136    archcheck.files-delete lib/libXp.dylib lib/libXmu.dylib
    138137    configure.args-append --without-x --without-pdfopen
    139138    configure.args-delete  --x-includes=${prefix}/include \
  • 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.