[68917] trunk/dports/tex/texlive-bin/Portfile
dports at macports.org
dports at macports.org
Thu Jun 17 15:38:38 PDT 2010
Revision: 68917
http://trac.macports.org/changeset/68917
Author: dports at macports.org
Date: 2010-06-17 15:38:38 -0700 (Thu, 17 Jun 2010)
Log Message:
-----------
texlive-bin: disable ATSUI for XeTeX font rendering unless explicitly
enabled via the +atsui variant
Re-enable 64-bit builds unless +atsui is specified (forces 32-bit)
Add revision number to banner
Modified Paths:
--------------
trunk/dports/tex/texlive-bin/Portfile
Modified: trunk/dports/tex/texlive-bin/Portfile
===================================================================
--- trunk/dports/tex/texlive-bin/Portfile 2010-06-17 21:30:47 UTC (rev 68916)
+++ trunk/dports/tex/texlive-bin/Portfile 2010-06-17 22:38:38 UTC (rev 68917)
@@ -7,7 +7,7 @@
name texlive-bin
version 2009
-revision 1
+revision 2
categories tex
maintainers dports
@@ -31,8 +31,6 @@
sha1 891434197b1aa60030eb059553697cb40c6ab15b \
rmd160 e467932d53abe418f4e36a56afb683912ab0caec
-# xetex doesn't build 64-bit; force 32-bit for now
-supported_archs i386 ppc
universal_variant no
archcheck.files lib/libz.dylib \
@@ -72,6 +70,14 @@
post-patch {
reinplace "s|@@TEXMFMAIN@@|${texlive_texmfmain}|" ${worksrcpath}/texk/texlive/linked_scripts/Makefile.in
reinplace "s|@@TEXMFDIST@@|${texlive_texmfdist}|" ${worksrcpath}/texk/texlive/linked_scripts/Makefile.in
+
+ if {![variant_isset atsui]} {
+ # Force configure to believe that Carbon API is
+ # unavailable. This test is actually used to determine whether
+ # ATSUI should be used.
+ reinplace "s|kpse_cv_have_Carbon=yes|kpse_cv_have_Carbon=no|" ${worksrcpath}/texk/web2c/configure
+ reinplace "s|kpse_cv_have_Carbon=yes|kpse_cv_have_Carbon=no|" ${worksrcpath}/texk/xdv2pdf/configure
+ }
}
@@ -86,7 +92,7 @@
--disable-multiplatform \
--disable-native-texlive-build \
--without-old-mac-fonts \
- --with-tex-banner="TeX Live/MacPorts ${version}" \
+ --with-tex-banner="TeX Live/MacPorts ${version}_${revision}" \
--enable-shared \
--with-system-freetype2 \
--without-system-freetype \
@@ -114,11 +120,12 @@
# work around bug in texlive makefiles where $OBJC is not recorded
# during configure phase
-append_list_to_environment_value build "OBJC" ${configure.objc}
-append_list_to_environment_value build "OBJCFLAGS" ${configure.objcflags}
-append_list_to_environment_value build "OBJCFLAGS" ${configure.objc_archflags}
+pre-build {
+ append_list_to_environment_value build "OBJC" ${configure.objc}
+ append_list_to_environment_value build "OBJCFLAGS" ${configure.objcflags}
+ append_list_to_environment_value build "OBJCFLAGS" ${configure.objc_archflags}
+}
-
post-destroot {
# texmf and texmf-dist will be installed by other texlive ports
delete ${destroot}${prefix}/texmf
@@ -127,6 +134,15 @@
delete ${destroot}${texlive_texmfdist}
}
+post-activate {
+ system "${prefix}/bin/texhash"
+}
+
+variant atsui description {Use ATSUI instead of freetype for XeTeX font rendering (forces 32-bit)} {
+ # force 32-bit build
+ supported_archs i386 ppc
+}
+
if {![variant_isset no_x11] && ![variant_isset motif] && ![variant_isset xaw] && ![variant_isset xaw3d] && ![variant_isset nextaw]} {
default_variants +motif
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100617/2accc946/attachment.html>
More information about the macports-changes
mailing list