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
RevLine 
[30880]1# $Id: Portfile 33079 2008-01-17 16:38:23Z milosh@macports.org $
2
3PortSystem 1.0
4
[31088]5name            texlive
6version         2007
[33079]7revision        3
[31088]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. \
[30880]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
[31088]17homepage        http://www.tug.org/texlive/
18platforms       darwin
[30880]19
20master_sites    http://students.dec.bournemouth.ac.uk/ebarrett/texlive/distfiles/
21
[31349]22depends_lib     port:texlive_base port:texlive_texmf-full
23use_configure   no
24fetch           {}
25checksum        {}
26extract         {}
27build           {}
28destroot        {
[33079]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"
[31349]59}
[30880]60
[31349]61variant minimal description {Only install minimal texmf tree} {
62        depends_lib-delete  port:texlive_texmf-full
63}
[30881]64
[31349]65variant letter description {Set paper format to letter} {
[33079]66    build   {
[31349]67        system "texconfig-sys paper letter"
68    }
[30880]69}
70
[31349]71variant doc description {Build docs} {
72    depends_lib-append  port:texlive_texmf-docs
[30880]73}
74
[30961]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.