Changeset 52085 for trunk/dports/tex


Ignore:
Timestamp:
Jun 9, 2009, 8:14:57 PM (11 years ago)
Author:
jeremyhu@…
Message:

texlive_base: Use the same variants for xdvi that pTex uses.

File:
1 edited

Legend:

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

    r52043 r52085  
    3535                port:libpng port:texinfo port:texi2html port:ghostscript \
    3636                port:texlive_texmf-minimal port:texlive_texmf-full \
    37                 port:xorg-libXaw lib:libXm:openmotif
     37                port:xorg-libXp
    3838
    3939depends_build   path:bin/perl:perl5
     
    7676}
    7777
    78 variant no_x11 {
    79     depends_lib-delete port:xorg-libXaw lib:libXm:openmotif
     78if {![variant_isset no_x11] && ![variant_isset motif] && ![variant_isset xaw] && ![variant_isset xaw3d] && ![variant_isset nextaw]} {
     79    default_variants    +motif
     80}
     81
     82variant no_x11 conflicts xaw motif xaw3d nextaw {
     83    depends_lib-delete port:xorg-libXp
    8084    configure.args-append --without-x --without-pdfopen
    8185    configure.args-delete  --x-includes=${prefix}/include \
    8286                           --x-libraries=${prefix}/lib
     87}
     88variant motif conflicts no_x11 xaw xaw3d nextaw description {Use Motif to build xdvi (default)} {
     89     depends_lib-append lib:libXm:openmotif
     90     configure.args-append --with-xdvi-x-toolkit=motif
     91}
     92variant xaw conflicts no_x11 motif xaw3d nextaw description {Use Xaw to build xdvi} {
     93    depends_lib-append port:xorg-libXaw
     94    configure.args-append --with-xdvi-x-toolkit=xaw
     95}
     96variant xaw3d conflicts no_x11 motif xaw nextaw description {Use Xaw3d to build xdvi} {
     97    depends_lib-append port:Xaw3d
     98    configure.args-append --with-xdvi-x-toolkit=xaw3d
     99}
     100variant nextaw conflicts no_x11 motif xaw xaw3d description {Use neXtaw to build xdvi} {
     101    depends_lib-append port:neXtaw
     102    configure.args-append --with-xdvi-x-toolkit=neXtaw
    83103}
    84104
Note: See TracChangeset for help on using the changeset viewer.