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

Last change on this file since 33079 was 33079, checked in by milosh@…, 13 years ago

Move some post-activate instructions from texlive_base to destroot phase from texlive.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1# $Id: Portfile 33079 2008-01-17 16:38:23Z milosh@macports.org $
2
3PortSystem 1.0
4
5name            texlive
6version         2007
7revision        3
8categories      tex
9maintainers     milosh openmaintainer
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    http://students.dec.bournemouth.ac.uk/ebarrett/texlive/distfiles/
21
22depends_lib     port:texlive_base port:texlive_texmf-full
23use_configure   no
24fetch           {}
25checksum        {}
26extract         {}
27build           {}
28destroot        {
29    #Simulate texlinks
30    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/latex
31    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/etex
32    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/pdfetex
33    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/pdflatex
34    ln -s ${prefix}/bin/omega  ${destroot}${prefix}/lambda
35    ln -s ${prefix}/bin/aleph  ${destroot}${prefix}/lamed
36    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/amstex
37    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/platex
38    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/pdfplatex
39    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/mex
40    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/pdfmex
41    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/utf8mex
42    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/csplain
43    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/cslatex
44    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/pdfcsplain
45    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/pdfcslatex
46    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/mltex
47    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/mllatex
48    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/eplain
49    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/texsis
50    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/physe
51    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/phyzzx
52    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/xmltex
53    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/pdfxmltex
54    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/jadetex
55    ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/pdfjadetex
56    #system mktexlsr
57    #system "fmtutil-sys --all"
58    #system "updmap-sys --syncwithtrees"
59}
60
61variant minimal description {Only install minimal texmf tree} {
62        depends_lib-delete  port:texlive_texmf-full
63}
64
65variant letter description {Set paper format to letter} {
66    build   {
67        system "texconfig-sys paper letter"
68    }
69}
70
71variant doc description {Build docs} {
72    depends_lib-append  port:texlive_texmf-docs
73}
74
75livecheck.check     regex
76livecheck.url       ${homepage}acquire.html
77livecheck.regex     "TeX Live (\[0-9\]+) "
78
Note: See TracBrowser for help on using the repository browser.