Ticket #16492: tex.diff
File tex.diff, 5.0 KB (added by raphael@…, 15 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
30 30 sha1 a85d33e2915fd2bfad86e5a1ce498058a380d959 \ 31 31 rmd160 c932eaf4b3412275e769cfefd3271b864a546087 32 32 use_configure no 33 patchfiles patch-texmf.cnf.diff 34 post-patch { reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/texmf/web2c/texmf.cnf 35 } 33 36 build {} 34 37 # reinplace "s|^OBSD_TMF.*$|OBSD_TMF = ${prefix}/share|" \ 35 38 # ${worksrcpath}/texmf/web2c/texmf.cnf … … 52 55 livecheck.type regex 53 56 livecheck.url ${homepage}acquire.html 54 57 livecheck.regex "TeX Live (\[0-9\]+) " 55 -
tex/texlive_base/Portfile
34 34 depends_lib port:freetype port:fontconfig port:ncurses port:zlib \ 35 35 port:libpng port:texinfo port:texi2html port:ghostscript \ 36 36 port:ps2eps port:psutils port:gd2 port:t1lib \ 37 port:xorg-libXp \37 port:xorg-libXp port:clisp port:ffcall \ 38 38 port:texlive_texmf-full 39 39 40 40 #Note: macports' icu conflict with texlive's build 41 41 42 42 depends_build-append path:bin/perl:perl5 43 43 44 configure.args --mandir=${prefix}/share/man \ 44 configure.args --with-tex-banner='TeX Live 2009/MacPorts' \ 45 --mandir=${prefix}/share/man \ 45 46 --infodir=${prefix}/share/info \ 46 47 --datadir=${prefix}/share \ 47 48 --disable-native-texlive-build \ 48 49 --disable-dialog \ 49 --disable-xdv2pdf --disable-xdvik --disable-xdvipdfmx\50 --disable-xdv2pdf --disable-xdvik \ 50 51 --with-system-freetype2 \ 51 --with-freetype2-libdir=${prefix}/lib \52 --with-freetype2-include=${prefix}/include \53 52 --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 \ 59 54 --with-system-gd --with-fontconfig=${prefix} \ 60 55 --with-system-ncurses --without-texi2html \ 61 56 --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 \ 65 60 --without-dvi2tty 66 61 67 62 if { ! [variant_isset no_x11] } { … … 80 75 } 81 76 82 77 post-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" 86 81 } 87 82 88 83 if {![variant_isset no_x11] && ![variant_isset motif] && ![variant_isset xaw] && ![variant_isset xaw3d] && ![variant_isset nextaw]} {