[81856] users/dports/ports/tex/texlive-bin/Portfile
dports at macports.org
dports at macports.org
Fri Aug 5 22:33:58 PDT 2011
Revision: 81856
http://trac.macports.org/changeset/81856
Author: dports at macports.org
Date: 2011-08-05 22:33:57 -0700 (Fri, 05 Aug 2011)
Log Message:
-----------
texlive-bin: simplify X toolkit variants: remove +nextaw/+xaw3d
variants; rename +xaw variant to +x11 and make it the default instead
of +motif; leave +no_x11 as a compatibility variant for -x11. See
#30614.
Modified Paths:
--------------
users/dports/ports/tex/texlive-bin/Portfile
Modified: users/dports/ports/tex/texlive-bin/Portfile
===================================================================
--- users/dports/ports/tex/texlive-bin/Portfile 2011-08-06 05:30:42 UTC (rev 81855)
+++ users/dports/ports/tex/texlive-bin/Portfile 2011-08-06 05:33:57 UTC (rev 81856)
@@ -43,7 +43,6 @@
port:libzzip \
port:t1lib \
port:poppler \
- port:xorg-libXp \
port:texlive-common
depends_run port:ghostscript
@@ -149,7 +148,9 @@
--disable-psutils \
--disable-t1utils \
--disable-texinfo \
- --disable-xindy
+ --disable-xindy \
+ --without-x \
+ --without-pdfopen
configure.cppflags-delete -I${prefix}/include
configure.ldflags-delete -L${prefix}/lib
@@ -219,33 +220,25 @@
notes-append "XeTeX is built without support for Apple Type Services for Unicode Imaging (ATSUI) or Apple Advanced Typography (AAT). To enable it, build texlive-bin with the +atsui variant. Note that this will force texlive and all of its dependencies to be built 32-bit."
}
-
-if {![variant_isset no_x11] && ![variant_isset motif] && ![variant_isset xaw] && ![variant_isset xaw3d] && ![variant_isset nextaw]} {
- default_variants +motif
+variant x11 conflicts no_x11 description {Build with x11 support, using Xaw widgets for xdvi} {
+ depends_lib-append port:xorg-libXp
+ configure.args-delete --without-x --without-pdfopen
+ depends_lib-append port:xorg-libXaw
+ configure.args-append --with-xdvi-x-toolkit=xaw
}
-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} {
- depends_lib-append lib:libXm:openmotif
- configure.args-append --with-xdvi-x-toolkit=motif
+ depends_lib-delete port:xorg-libXaw
+ configure.args-delete --with-xdvi-x-toolkit=xaw
+ 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 no_x11 conflicts x11 motif description {Legacy compatibility variant} {}
+
+if {![variant_isset no_x11]} {
+ default_variants +x11
}
-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.type regex
livecheck.url ${homepage}acquire.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110805/27cd6cc4/attachment-0001.html>
More information about the macports-changes
mailing list