Changeset 46447 for trunk/dports/tex


Ignore:
Timestamp:
Feb 5, 2009, 3:13:57 AM (11 years ago)
Author:
devans@…
Message:

texlive_base: add +no_x11 variant.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/texlive_base/Portfile

    r46402 r46447  
    5858    reinplace "s/^TEXMFSYSCONFIG = .*/TEXMFSYSCONFIG = \$TEXMFMAIN/g" \
    5959        ${destroot}${prefix}/share/texmf/web2c/texmf.cnf
     60#
     61#   if there is no graphics support (no_x11) then only mf is built
     62#   not mf-nowin.  if mf-nowin does not exist, make a link to mf named mf-nowin for scripts
     63#   that expect to have it
     64#
     65    if {![file exists ${destroot}${prefix}/bin/mf-nowin]} {
     66        file link ${destroot}${prefix}/bin/mf-nowin ${destroot}${prefix}/bin/mf
     67    }
    6068}
    6169
     
    6472        system "fmtutil-sys --all"
    6573        system "updmap-sys --syncwithtrees"
     74}
     75
     76variant no_x11 {
     77    depends_lib-delete port:xorg-libs
     78    configure.args-append --without-x --without-pdfopen
    6679}
    6780
Note: See TracChangeset for help on using the changeset viewer.