New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81950


Ignore:
Timestamp:
08/06/11 10:00:36 (4 years ago)
Author:
dports@…
Message:

Create version and architecture-specific links to the texbin
directory. It seems like the TeXDist prefpane from MacTeX wants the
per-architecture directories to distinguish what is installed; it
might want the version in the future, so might as well provide it.

Location:
users/dports/ports
Files:
2 edited

Legend:

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

    r81681 r81950  
    9191# pane: it can select the active TeX distribution by pointing the 
    9292# /usr/texbin symlink here 
     93# 
     94# It also seems like the prefpane wants architecture-specific links, 
     95# and may want version-specific ones in the future, so create those in 
     96# ${texlive_mactex_texdistdir}. 
    9397set texlive_mactex_texbindir "${prefix}/libexec/texlive/texbin" 
     98set texlive_mactex_texdistdir "${prefix}/libexec/texlive/texdist" 
    9499 
    95100# update texmf file path databases (ls-R) 
  • users/dports/ports/tex/texlive-bin/Portfile

    r81860 r81950  
    184184        } 
    185185    } 
     186 
     187    # Create version/arch-specific links to the texbin directory used 
     188    # by the TeXDist prefpane; it seems that future versions of the 
     189    # prefpane will want these. 
     190    xinstall -d ${destroot}${texlive_mactex_texdistdir}-${version} 
     191    ln -s ${texlive_mactex_texbindir} \ 
     192          ${destroot}${texlive_mactex_texdistdir}-${version}/${configure.build_arch}-darwin 
     193    ln -s ${texlive_mactex_texdistdir}-${version} \ 
     194          ${destroot}${texlive_mactex_texdistdir} 
    186195} 
    187196 
Note: See TracChangeset for help on using the changeset viewer.