[52085] trunk/dports/tex/texlive_base/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Tue Jun 9 13:14:58 PDT 2009
Revision: 52085
http://trac.macports.org/changeset/52085
Author: jeremyhu at macports.org
Date: 2009-06-09 13:14:57 -0700 (Tue, 09 Jun 2009)
Log Message:
-----------
texlive_base: Use the same variants for xdvi that pTex uses.
Modified Paths:
--------------
trunk/dports/tex/texlive_base/Portfile
Modified: trunk/dports/tex/texlive_base/Portfile
===================================================================
--- trunk/dports/tex/texlive_base/Portfile 2009-06-09 20:10:39 UTC (rev 52084)
+++ trunk/dports/tex/texlive_base/Portfile 2009-06-09 20:14:57 UTC (rev 52085)
@@ -34,7 +34,7 @@
depends_lib port:freetype port:fontconfig port:ncurses port:zlib \
port:libpng port:texinfo port:texi2html port:ghostscript \
port:texlive_texmf-minimal port:texlive_texmf-full \
- port:xorg-libXaw lib:libXm:openmotif
+ port:xorg-libXp
depends_build path:bin/perl:perl5
@@ -75,12 +75,32 @@
system "updmap-sys --syncwithtrees"
}
-variant no_x11 {
- depends_lib-delete port:xorg-libXaw lib:libXm:openmotif
+if {![variant_isset no_x11] && ![variant_isset motif] && ![variant_isset xaw] && ![variant_isset xaw3d] && ![variant_isset nextaw]} {
+ default_variants +motif
+}
+
+variant no_x11 conflicts xaw motif xaw3d nextaw {
+ depends_lib-delete port:xorg-libXp
configure.args-append --without-x --without-pdfopen
configure.args-delete --x-includes=${prefix}/include \
--x-libraries=${prefix}/lib
}
+variant motif conflicts no_x11 xaw xaw3d nextaw description {Use Motif to build xdvi (default)} {
+ depends_lib-append lib:libXm:openmotif
+ configure.args-append --with-xdvi-x-toolkit=motif
+}
+variant xaw conflicts no_x11 motif xaw3d nextaw description {Use Xaw to build xdvi} {
+ depends_lib-append port:xorg-libXaw
+ configure.args-append --with-xdvi-x-toolkit=xaw
+}
+variant xaw3d conflicts no_x11 motif xaw nextaw description {Use Xaw3d to build xdvi} {
+ depends_lib-append port:Xaw3d
+ configure.args-append --with-xdvi-x-toolkit=xaw3d
+}
+variant nextaw conflicts no_x11 motif xaw xaw3d description {Use neXtaw to build xdvi} {
+ depends_lib-append port:neXtaw
+ configure.args-append --with-xdvi-x-toolkit=neXtaw
+}
livecheck.check regex
livecheck.url ${homepage}acquire.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090609/dc8ecc2b/attachment-0001.html>
More information about the macports-changes
mailing list