source: trunk/dports/tex/texlive-basic/Portfile @ 73314

Last change on this file since 73314 was 73314, checked in by dports@…, 10 years ago

Merge texlive 2010 update from /users/dports to /trunk

texlive: update to TeX Live 2010 (#26430)

  • generate texmf.cnf from contents of $prefix/etc/texmf/texmf.cnf.d (#24204)
  • build binaries in texlive-bin but stage them in $prefix/libexec/texlive/binaries until they are activated by other ports when their support files are installed (#25460, #25875)
  • symlink binaries to $prefix/libexec/texlive/texbin for MacTeX support (#26784)
  • fix up some dependency problems, including pulling pgf out of texlive-pictures so texlive-latex-recommended can depend on it (#25478)
  • add pre-activate hooks to deactivate texlive 2009 ports when necessary to avoid conflicts during upgrade
  • remove asymptote and xindy texmf files so that we can have separate ports someday
  • many minor changes to packaging
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.1 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 73314 2010-11-10 04:19:13Z dports@macports.org $
3
4PortSystem          1.0
5PortGroup           texlive 1.0
6
7name                texlive-basic
8version             17228
9revision            0
10
11categories          tex
12maintainers         dports
13description         TeX Live: Essential programs and files
14long_description    These files are regarded as basic for any TeX system, covering plain TeX macros, Computer Modern fonts, and configuration for common drivers\; no LaTeX.
15
16checksums           md5     cd34562742f998e23be31c3f90aaf8d5 \
17                    sha1    1547529eac5d2a2fa7015ac7e12a5eb049969efb \
18                    rmd160  d45ce7124c1c3a15991b8988e83587f348076047
19
20depends_lib         port:texlive-documentation-base
21
22texlive.formats      \
23    {1 luatex luatex language.def,language.dat.lua {luatex.ini}} \
24    {1 dviluatex luatex language.def,language.dat.lua {dviluatex.ini}} \
25    {1 mf mf-nowin - {-translate-file=cp227.tcx mf.ini}} \
26    {1 pdftex pdftex language.def {-translate-file=cp227.tcx *pdfetex.ini}} \
27    {1 etex pdftex language.def {-translate-file=cp227.tcx *etex.ini}} \
28    {1 pdfetex pdftex language.def {-translate-file=cp227.tcx *pdfetex.ini}} \
29    {1 tex tex - {tex.ini}}
30
31texlive.maps      \
32    {MixedMap cm.map} \
33    {MixedMap cmextra.map} \
34    {MixedMap cyrillic.map} \
35    {Map euler.map} \
36    {MixedMap latxfont.map} \
37    {MixedMap symbols.map} \
38    {MixedMap cmtext-bsr-interpolated.map} \
39    {MixedMap mflogo.map}
40
41texlive.binaries    afm2tfm allcm allec allneeded bibtex dvi2fax dvipdfm dvipdfmx dvipdft dvips dvired ebb extractbb fmtutil fmtutil-sys gftodvi gftopk gftype gsftopk kpseaccess kpsepath kpsereadlink kpsestat kpsetool kpsewhere kpsewhich kpsexpand luatex makeindex mf-nowin mft mkindex mkocp mkofm mktexfmt mktexlsr mktexmf mktexpk mktextfm pdftex pktogf pktype simpdftex tcdialog tex texconfig texconfig-dialog texconfig-sys texhash texlinks texlua texluac updmap updmap-sys xdvi
42
43texlive.exclude     texmf/web2c/fmutil.cnf \
44                    texmf/web2c/texmf.cnf \
45                    texmf/web2c/updmap.cfg \
46                    texmf/tex/generic/config/language.dat \
47                    texmf/tex/generic/config/language.def
48
49patchfiles          patch-runfiles_texmf_dvipdfm_config_config.diff \
50                    patch-runfiles_texmf_dvipdfmx_dvipdfmx.cfg
51
52pre-activate {
53    # If texlive 2007 metaport is installed, deactivate it to avoid
54    # conflicts on $prefix/bin/etex etc.
55    if {[file exists $prefix/bin/etex] 
56        && ![catch {set vers [lindex [registry_active texlive] 0]}]
57        && [rpm-vercomp [lindex $vers 1] 2009] < 0} {
58        registry_deactivate texlive "" [list ports_nodepcheck 1]
59    }
60
61    # Deactivate texlive-fontutils to avoid conflicts on mft from the
62    # 2009->2010 update
63    if {![catch {set vers [lindex [registry_active texlive-fontutils] 0]}]
64        && [rpm-vercomp [lindex $vers 1] 16392] < 0} {
65        registry_deactivate texlive-fontutils "" [list ports_nodepcheck 1]
66    }
67}
68
69texlive.forceupdatecnf yes
70
71texlive.texmfport
Note: See TracBrowser for help on using the repository browser.