source: trunk/dports/tex/texlive/Portfile @ 64558

Last change on this file since 64558 was 64558, checked in by takanori@…, 11 years ago

pTeX and texlive, texlive_base, texlive_texmf-minimal, texlive_texmf-full, texlive_texmf-docs: declare conflicts

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.1 KB
Line 
1# $Id: Portfile 64558 2010-03-09 09:10:48Z takanori@macports.org $
2
3PortSystem 1.0
4
5name            texlive
6version         2007
7revision        6
8categories      tex
9maintainers     nomaintainer
10description     TeX Live is a TeX distribution
11long_description    TeX Live is an easy way to get up and running with TeX. \
12    It provides a comprehensive TeX system with binaries for most flavors \
13    of Unix, including GNU/Linux, and also Windows. It includes all the \
14    major TeX-related programs, macro packages, and fonts that are free \
15    software, including support for many languages around the world.
16
17homepage        http://www.tug.org/texlive/
18platforms       darwin
19
20master_sites    openbsd:distfiles \
21                                http://students.dec.bournemouth.ac.uk/ebarrett/texlive/distfiles/
22
23depends_lib     port:texlive_base
24
25conflicts       pTeX
26
27distfiles
28use_configure   no
29build           {}
30destroot        {
31    #Simulate texlinks
32    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/latex
33    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/etex
34    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdfetex
35    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdflatex
36    ln -s ${prefix}/bin/omega  ${destroot}${prefix}/bin/lambda
37    ln -s ${prefix}/bin/aleph  ${destroot}${prefix}/bin/lamed
38    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/amstex
39    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/platex
40    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdfplatex
41    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/mex
42    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdfmex
43    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/utf8mex
44    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/csplain
45    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/cslatex
46    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdfcsplain
47    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdfcslatex
48    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/mltex
49    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/mllatex
50    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/eplain
51    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/texsis
52    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/physe
53    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/phyzzx
54    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/xmltex
55    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdfxmltex
56    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/jadetex
57    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdfjadetex
58    ln -s ${prefix}/bin/xetex ${destroot}${prefix}/bin/xelatex
59    #system mktexlsr
60    #system "fmtutil-sys --all"
61    #system "updmap-sys --syncwithtrees"
62}
63
64#variant minimal description {Only install minimal texmf tree} {
65#        depends_lib-delete  port:texlive_texmf-full
66#}
67
68variant letter description {Set paper format to letter} {
69    build   {
70        system "texconfig-sys paper letter"
71    }
72}
73
74variant doc description {Build docs} {
75    depends_lib-append  port:texlive_texmf-docs
76}
77
78livecheck.type      regex
79livecheck.url       ${homepage}acquire.html
80livecheck.regex     "TeX Live (\[0-9\]+) "
81
Note: See TracBrowser for help on using the repository browser.