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

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

texlive-basic: fix typo that resulted in installing a redundant (but
mostly harmless) copy of fmtutil.cnf

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.8 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 80557 2011-07-15 02:58:50Z dports@macports.org $
3
4PortSystem          1.0
5PortGroup           texlive 1.0
6
7name                texlive-basic
8version             19496
9revision            4
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     6567670360b103ee02ce6c8899bcfa75 \
17                    sha1    a55f91271a8c99ca5f1a87f4df62540e9421dc48 \
18                    rmd160  40eeb3f3fc1b25a0e40c80273acd8d513c6a24b6
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/fmtutil.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                    texmf/fonts/map/dvipdfm/updmap \
49                    texmf/fonts/map/dvips/updmap \
50                    texmf/fonts/map/pdftex/updmap
51
52
53patchfiles          patch-runfiles_texmf_dvipdfm_config_config.diff \
54                    patch-runfiles_texmf_dvipdfmx_dvipdfmx.cfg
55
56pre-activate {
57    set deactivate_proc registry_deactivate_composite
58    if {[info commands registry_deactivate_composite] == {}} {
59        set deactivate_proc registry_deactivate
60    }
61    # If texlive 2007 metaport is installed, deactivate it to avoid
62    # conflicts on $prefix/bin/etex etc.
63    if {[file exists $prefix/bin/etex] 
64        && ![catch {set vers [lindex [registry_active texlive] 0]}]
65        && [rpm-vercomp [lindex $vers 1] 2009] < 0} {
66        $deactivate_proc texlive "" [list ports_nodepcheck 1]
67    }
68
69    # Deactivate texlive-fontutils to avoid conflicts on mft from the
70    # 2009->2010 update
71    if {![catch {set vers [lindex [registry_active texlive-fontutils] 0]}]
72        && [rpm-vercomp [lindex $vers 1] 16392] < 0} {
73        $deactivate_proc texlive-fontutils "" [list ports_nodepcheck 1]
74    }
75
76    # Deactivate 2009 version of texlive-lang-mongolian if it's
77    # installed; its hyphenation references a file that no longer
78    # exists, causing format generation to fail (see #27339)
79    if {![catch {set vers [lindex [registry_active texlive-lang-mongolian] 0]}]
80         && [rpm-vercomp [lindex $vers 1] 14727] == 0
81         && [lindex $vers 2] < 2} {
82        $deactivate_proc texlive-lang-mongolian "" [list ports_nodepcheck 1]
83    }
84
85}
86
87texlive.forceupdatecnf yes
88
89texlive.texmfport
Note: See TracBrowser for help on using the repository browser.