Ticket #16492: tex.diff

File tex.diff, 5.0 KB (added by raphael@…, 14 years ago)
  • tex/texlive_texmf-full/files/patch-texmf.cnf.diff

     
     1--- texmf/web2c/texmf.cnf.orig  2009-11-26 11:01:52.000000000 +0100
     2+++ texmf/web2c/texmf.cnf       2009-11-26 11:05:03.000000000 +0100
     3@@ -53,15 +53,15 @@
     4 
     5 % The tree containing the runtime files closely related to the specific
     6 % program version used:
     7-TEXMFMAIN = $SELFAUTOPARENT/texmf
     8+TEXMFMAIN = @@PREFIX@@/share/texmf
     9 
     10 % The main distribution tree:
     11-TEXMFDIST = $SELFAUTOPARENT/texmf-dist
     12+TEXMFDIST = @@PREFIX@@/share/texmf-dist
     13 
     14 % A place for local additions to a "standard" texmf tree.
     15 % This tree is not used for local configuration maintained by
     16 % texconfig, it uses TEXMFCONFIG below.
     17-TEXMFLOCAL = $SELFAUTOPARENT/../texmf-local
     18+TEXMFLOCAL = @@PREFIX@@/share/texmf-local
     19 
     20 % TEXMFSYSVAR, where texconfig-sys stores variable runtime data.
     21 % With teTeX-3.0 or later, this must be set.
     22@@ -69,7 +69,7 @@
     23 %   TEXMFSYSVAR = $TEXMFMAIN
     24 % For using a separate tree:
     25 %   TEXMFSYSVAR = $SELFAUTOPARENT/texmf-var
     26-TEXMFSYSVAR = $SELFAUTOPARENT/texmf-var
     27+TEXMFSYSVAR = @@PREFIX@@/share/texmf-var
     28 
     29 % TEXMFSYSCONFIG, where texconfig-sys stores configuration data.
     30 % With teTeX-3.0 or later, this must be set.
     31@@ -77,7 +77,7 @@
     32 %   TEXMFSYSCONFIG = $TEXMFMAIN
     33 % For using a separate tree:
     34 %   TEXMFSYSCONFIG = $SELFAUTOPARENT/texmf-config
     35-TEXMFSYSCONFIG = $SELFAUTOPARENT/texmf-config
     36+TEXMFSYSCONFIG = @@PREFIX@@/share/texmf-config
     37 
     38 % User texmf trees are allowed as follows.
     39 % This used to be HOMETEXMF.
  • tex/texlive_texmf-full/Portfile

     
    3030               sha1    a85d33e2915fd2bfad86e5a1ce498058a380d959 \
    3131               rmd160  c932eaf4b3412275e769cfefd3271b864a546087
    3232use_configure  no
     33patchfiles     patch-texmf.cnf.diff
     34post-patch {   reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/texmf/web2c/texmf.cnf
     35}
    3336build       {}
    3437#        reinplace "s|^OBSD_TMF.*$|OBSD_TMF = ${prefix}/share|" \
    3538#            ${worksrcpath}/texmf/web2c/texmf.cnf
     
    5255livecheck.type     regex
    5356livecheck.url       ${homepage}acquire.html
    5457livecheck.regex     "TeX Live (\[0-9\]+) "
    55 
  • tex/texlive_base/Portfile

     
    3434depends_lib     port:freetype port:fontconfig port:ncurses port:zlib \
    3535                port:libpng port:texinfo port:texi2html port:ghostscript \
    3636                port:ps2eps port:psutils port:gd2 port:t1lib \
    37                 port:xorg-libXp \
     37                port:xorg-libXp port:clisp port:ffcall \
    3838                port:texlive_texmf-full
    3939
    4040#Note: macports' icu conflict with texlive's build
    4141
    4242depends_build-append   path:bin/perl:perl5
    4343
    44 configure.args  --mandir=${prefix}/share/man \
     44configure.args  --with-tex-banner='TeX Live 2009/MacPorts' \
     45                --mandir=${prefix}/share/man \
    4546                --infodir=${prefix}/share/info \
    4647                --datadir=${prefix}/share \
    4748                --disable-native-texlive-build \
    4849                --disable-dialog \
    49                 --disable-xdv2pdf --disable-xdvik --disable-xdvipdfmx \
     50                --disable-xdv2pdf --disable-xdvik \
    5051                --with-system-freetype2 \
    51                 --with-freetype2-libdir=${prefix}/lib \
    52                 --with-freetype2-include=${prefix}/include \
    5352                --with-system-t1lib \
    54                 --with-t1lib-libdir=${prefix}/lib \
    55                 --with-t1lib-include=${prefix}/include \
    56                 #--with-icu-libdir=${prefix}/lib \
    57                 #--with-icu-include=${prefix}/include \
    58                 --with-system-pnglib --with-system-zlib \
     53                --with-system-libpng --with-system-zlib \
    5954                --with-system-gd --with-fontconfig=${prefix} \
    6055                --with-system-ncurses --without-texi2html \
    6156                --disable-multiplatform --disable-threads --without-texinfo \
    62                 --without-xdvipdfmx --without-texi2html --without-ps2eps \
    63                 --without-luatex --without-xindy --without-t1utils \
    64                 --without-x --without-detex --without-psutils \
     57                --disable-xdvipdfmx --disable-ps2eps \
     58                --disable-t1utils \
     59                --without-x --disable-psutils \
    6560                --without-dvi2tty
    6661
    6762if { ! [variant_isset no_x11] } {
     
    8075}
    8176
    8277post-activate   {
    83         system "mktexlsr"
    84         system "fmtutil-sys --missing"
    85         system "updmap-sys --syncwithtrees"
     78        system "${prefix}/bin/mktexlsr"
     79        system "${prefix}/bin/fmtutil-sys --all"
     80        system "${prefix}/bin/updmap-sys --syncwithtrees"
    8681}
    8782
    8883if {![variant_isset no_x11] && ![variant_isset motif] && ![variant_isset xaw] && ![variant_isset xaw3d] && ![variant_isset nextaw]} {