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

Last change on this file since 75626 was 75626, checked in by rmstonecipher@…, 6 years ago

19 ports dependent on poppler, increased revision due to library version change in r75618 (ref: #28000)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.7 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 75626 2011-02-01 20:18:30Z rmstonecipher@macports.org $
3
4PortSystem          1.0
5PortGroup           texlive 1.0
6
7name                texlive-basic
8version             19496
9revision            1
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/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                    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    # If texlive 2007 metaport is installed, deactivate it to avoid
58    # conflicts on $prefix/bin/etex etc.
59    if {[file exists $prefix/bin/etex] 
60        && ![catch {set vers [lindex [registry_active texlive] 0]}]
61        && [rpm-vercomp [lindex $vers 1] 2009] < 0} {
62        registry_deactivate texlive "" [list ports_nodepcheck 1]
63    }
64
65    # Deactivate texlive-fontutils to avoid conflicts on mft from the
66    # 2009->2010 update
67    if {![catch {set vers [lindex [registry_active texlive-fontutils] 0]}]
68        && [rpm-vercomp [lindex $vers 1] 16392] < 0} {
69        registry_deactivate texlive-fontutils "" [list ports_nodepcheck 1]
70    }
71
72    # Deactivate 2009 version of texlive-lang-mongolian if it's
73    # installed; its hyphenation references a file that no longer
74    # exists, causing format generation to fail (see #27339)
75    if {![catch {set vers [lindex [registry_active texlive-lang-mongolian] 0]}]
76         && [rpm-vercomp [lindex $vers 1] 14727] == 0
77         && [lindex $vers 2] < 2} {
78        registry_deactivate texlive-lang-mongolian "" [list ports_nodepcheck 1]
79    }
80
81}
82
83texlive.forceupdatecnf yes
84
85texlive.texmfport
Note: See TracBrowser for help on using the repository browser.