Ignore:
Timestamp:
Oct 28, 2010, 2:11:03 AM (9 years ago)
Author:
dports@…
Message:

Start of texlive-bin updates for TL2010:

  • use official distfile now that xz support is available
  • pass texmf.cnf from texlive-common into kpathsea build process so correct search paths are compiled in
  • remove now-unnecessary patchfiles
  • patch icu to not attempt universal build
  • do not install tlmgr symlink (#26310)

Possible build-time conflict with icu port.

Location:
users/dports/ports/tex/texlive-bin
Files:
3 deleted
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • users/dports/ports/tex/texlive-bin/Portfile

    r70558 r72818  
    77
    88name            texlive-bin
    9 version         2009
    10 revision        6
     9version         2010
    1110
    1211categories      tex
     
    2221platforms       darwin
    2322
    24 # distfile is the same as the official one, but recompressed in bz2
    25 master_sites    http://flute.csail.mit.edu/texlive/
    26 set distversion 20091107
     23master_sites    tex_ctan:systems/texlive/Source/
     24set distversion 20100720
    2725distname        texlive-${distversion}-source
    2826worksrcdir      ${distname}
    29 use_bzip2       yes
    30 checksums       md5 34e636c76534d4b3a1b3f06f568ddedc \
    31                 sha1 891434197b1aa60030eb059553697cb40c6ab15b \
    32                 rmd160 e467932d53abe418f4e36a56afb683912ab0caec
     27use_xz          yes
     28checksums       md5     2a2201b84fdbf210032e1df70bc59157 \
     29                sha1    713b861123e3d9e073e2c93d7ed3e13262d82c34 \
     30                rmd160  b1120f3377ca45b4d86911b99a95c2e6e45927b5
    3331
    3432universal_variant no
     
    6058
    6159patchfiles      patch-configure \
     60                patch-libs_icu_icu-4.4_configure.diff \
    6261                patch-libs-freetype-Makefile.in.diff \
    63                 patch-texk_web2c_luatexdir_image_pdftoepdf_cc \
    64                 patch-texk_web2c_pdftexdir_pdftoepdf_cc \
    65                 patch-texk_xdvipdfmx_configure.diff \
    6662                patch-texk_texlive_linked_scripts_Makefile.in.diff
    6763
     
    7066    reinplace "s|@@TEXMFDIST@@|${texlive_texmfdist}|" ${worksrcpath}/texk/texlive/linked_scripts/Makefile.in
    7167
     68    # Link our texmf.cnf in so that the proper paths are compiled into kpathsea
     69    delete ${worksrcpath}/texk/kpathsea/texmf.cnf
     70    ln -s ${texlive_texmfsysconfig}/texmf.cnf ${worksrcpath}/texk/kpathsea/texmf.cnf
     71
    7272    if {![variant_isset atsui]} {
    7373        # Force configure to believe that Carbon API is
    7474        # unavailable. This test is actually used to determine whether
    7575        # ATSUI should be used.
     76        reinplace "s|kpse_cv_have_ApplicationServices=yes|kpse_cv_have_ApplicationServices=no|" ${worksrcpath}/texk/xdvipdfmx/configure
    7677        reinplace "s|kpse_cv_have_Carbon=yes|kpse_cv_have_Carbon=no|" ${worksrcpath}/texk/web2c/configure
    7778        reinplace "s|kpse_cv_have_Carbon=yes|kpse_cv_have_Carbon=no|" ${worksrcpath}/texk/xdv2pdf/configure
     
    132133    delete ${destroot}${prefix}/texmf
    133134    delete ${destroot}${prefix}/texmf-dist
    134     delete ${destroot}${texlive_texmfmain}
    135     delete ${destroot}${texlive_texmfdist}
    136135
    137136    # Do not install symlinks to scripts that we will not install
    138     delete ${destroot}${prefix}/bin/man
    139137    delete ${destroot}${prefix}/bin/latexmk
     138    delete ${destroot}${prefix}/bin/tlmgr
    140139}
    141140
  • users/dports/ports/tex/texlive-bin/files/patch-libs_icu_icu-4.4_configure.diff

    r72722 r72818  
    1 --- configure.orig      2009-10-02 11:50:49.000000000 +0200
    2 +++ configure   2009-10-02 11:54:38.000000000 +0200
     1--- libs/icu/icu-4.4/configure.orig     2009-10-02 11:50:49.000000000 +0200
     2+++ libs/icu/icu-4.4/configure  2009-10-02 11:54:38.000000000 +0200
    33@@ -7034,52 +7034,6 @@
    44   $as_echo_n "(cached) " >&6
  • users/dports/ports/tex/texlive-bin/files/patch-texk_texlive_linked_scripts_Makefile.in.diff

    r68605 r72818  
    1 --- texk/texlive/linked_scripts/Makefile.in     2009-10-14 19:39:50.000000000 -0400
    2 +++ texk/texlive/linked_scripts/Makefile.in     2010-02-02 14:54:01.000000000 -0500
    3 @@ -156,7 +156,7 @@
    4  top_builddir = @top_builddir@
    5  top_srcdir = @top_srcdir@
    6  bin_SCRIPTS =
    7 -scriptxdir = ${prefix}/texmf/scripts
    8 +scriptxdir = @@TEXMFMAIN@@/scripts
    9  nobase_dist_scriptx_SCRIPTS = \
    10         a2ping/a2ping.pl \
    11         getnonfreefonts/getnonfreefonts.pl \
    12 @@ -167,7 +167,7 @@
    13         texlive/rungs.tlu \
    14         texlive/tlmgr.pl
    15  
    16 -scriptdir = ${prefix}/texmf-dist/scripts
    17 +scriptdir = @@TEXMFDIST@@/scripts
    18  nobase_dist_script_SCRIPTS = \
    19         accfonts/mkt1font \
    20         accfonts/vpl2ovp \
    21 @@ -554,16 +554,16 @@
     1--- texk/texlive/linked_scripts/Makefile.in.orig        2010-10-26 23:44:12.000000000 -0400
     2+++ texk/texlive/linked_scripts/Makefile.in     2010-10-26 23:46:18.000000000 -0400
     3@@ -589,16 +589,16 @@
    224          for s in $(nobase_dist_scriptx_SCRIPTS); do \
    235            target=`basename $$s | sed 's,\.[^/]*$$,,' | tr '[A-Z]' '[a-z]'`; \
     
    3820+           $(LN_S) @@TEXMFDIST@@/scripts/$$s $$target; \
    3921          done && \
    40           rm -f rpdfcrop && \
    41           echo "creating link 'rpdfcrop' -> 'pdfcrop'" && \
    42 @@ -575,8 +575,8 @@
    43           echo "creating link 'getnonfreefonts-sys' -> 'getnonfreefonts'" && \
    44           $(LN_S) getnonfreefonts getnonfreefonts-sys && \
    45           rm -f man && \
    46 -         echo "creating link 'man' -> '$(REL)/texmf/doc/man'" && \
    47 -         (ln -s $(REL)/texmf/doc/man man || :)
    48 +         echo "creating link 'man' -> '@@TEXMFMAIN@@/doc/man'" && \
    49 +         (ln -s @@TEXMFMAIN@@/doc/man man || :)
     22          for s in $(bin_links); do \
     23            link=`echo $$s | sed 's,.*:,,'`; \
     24@@ -606,12 +606,7 @@
     25            rm -f $$link; \
     26            echo "creating link '$$link' -> '$$file'"; \
     27            $(LN_S) $$file $$link; \
     28-         done && \
     29-         rm -f man && \
     30-         if test -d $(REL)/texmf/doc/man; then \
     31-           echo "creating link 'man' -> '$(REL)/texmf/doc/man'" && \
     32-           (ln -s $(REL)/texmf/doc/man man || :); \
     33-         else :; fi
     34+         done
    5035 
    5136 uninstall-hook:
Note: See TracChangeset for help on using the changeset viewer.