[68885] trunk/dports/tex/texlive/Portfile
dports at macports.org
dports at macports.org
Wed Jun 16 16:07:44 PDT 2010
Revision: 68885
http://trac.macports.org/changeset/68885
Author: dports at macports.org
Date: 2010-06-16 16:07:44 -0700 (Wed, 16 Jun 2010)
Log Message:
-----------
TeX Live 2009 upgrade (#16492): update texlive metaport
Modified Paths:
--------------
trunk/dports/tex/texlive/Portfile
Modified: trunk/dports/tex/texlive/Portfile
===================================================================
--- trunk/dports/tex/texlive/Portfile 2010-06-16 22:56:37 UTC (rev 68884)
+++ trunk/dports/tex/texlive/Portfile 2010-06-16 23:07:44 UTC (rev 68885)
@@ -1,83 +1,186 @@
+# -*- 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
# $Id$
-PortSystem 1.0
+PortSystem 1.0
name texlive
-version 2007
-revision 6
+version 2009
+
categories tex
-maintainers nomaintainer
-description TeX Live is a TeX distribution
+maintainers dports
+description TeX Live metaport
long_description TeX Live is an easy way to get up and running with TeX. \
- It provides a comprehensive TeX system with binaries for most flavors \
- of Unix, including GNU/Linux, and also Windows. It includes all the \
- major TeX-related programs, macro packages, and fonts that are free \
- software, including support for many languages around the world.
+ It provides a comprehensive TeX system with binaries for most flavors \
+ of Unix, including GNU/Linux, and also Windows. It includes all the \
+ major TeX-related programs, macro packages, and fonts that are free \
+ software, including support for many languages around the world. \
+ \
+ This is a metaport that installs collections of TeX Live packages. \
+ See the variants list for options about which collections to install.
+
homepage http://www.tug.org/texlive/
platforms darwin
-if {[info exists supported_archs]} {
- supported_archs noarch
-}
+supported_archs noarch
-master_sites openbsd:distfiles \
- http://students.dec.bournemouth.ac.uk/ebarrett/texlive/distfiles/
+depends_lib port:texlive-common port:texlive-bin
-depends_lib port:texlive_base
-
-conflicts pTeX
-
distfiles
use_configure no
build {}
+
destroot {
- #Simulate texlinks
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/latex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/etex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdfetex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdflatex
- ln -s ${prefix}/bin/omega ${destroot}${prefix}/bin/lambda
- ln -s ${prefix}/bin/aleph ${destroot}${prefix}/bin/lamed
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/amstex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/platex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdfplatex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/mex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdfmex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/utf8mex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/csplain
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/cslatex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdfcsplain
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdfcslatex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/mltex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/mllatex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/eplain
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/texsis
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/physe
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/phyzzx
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/xmltex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdfxmltex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/jadetex
- ln -s ${prefix}/bin/pdftex ${destroot}${prefix}/bin/pdfjadetex
- ln -s ${prefix}/bin/xetex ${destroot}${prefix}/bin/xelatex
- #system mktexlsr
- #system "fmtutil-sys --all"
- #system "updmap-sys --syncwithtrees"
+ # Create a dummy file so the port can be successfully activated
+ xinstall -d ${destroot}${prefix}/share/doc
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/README.${name}.txt"
}
-#variant minimal description {Only install minimal texmf tree} {
-# depends_lib-delete port:texlive_texmf-full
-#}
+variant minimal \
+ description "Minimal installation scheme (plain TeX only; no LaTeX)" \
+ conflicts basic medium full {
+ depends_lib port:texlive-basic
+}
+variant basic \
+ description "Basic installation scheme for plain TeX or LaTeX documents" \
+ conflicts minimal medium full {
+ depends_lib port:texlive-basic \
+ port:texlive-latex
+}
+
+variant medium \
+ description "Medium installation scheme: plain, latex, recommended packages, some languages" \
+ conflicts minimal basic full {
+ depends_lib port:texlive-basic \
+ port:texlive-bin-extra \
+ port:texlive-context \
+ port:texlive-documentation-english \
+ port:texlive-fontutils \
+ port:texlive-fonts-recommended \
+ port:texlive-lang-czechslovak \
+ port:texlive-lang-dutch \
+ port:texlive-lang-french \
+ port:texlive-lang-german \
+ port:texlive-lang-italian \
+ port:texlive-lang-polish \
+ port:texlive-lang-portuguese \
+ port:texlive-lang-spanish \
+ port:texlive-lang-ukenglish \
+ port:texlive-latex \
+ port:texlive-latex-recommended \
+ port:texlive-math-extra \
+ port:texlive-metapost \
+ port:texlive-xetex \
+ port:texlive-luatex \
+ port:texlive-generic-recommended
+}
+
+variant full \
+ description "Full installation scheme (very large!)" \
+ conflicts minimal basic medium {
+ # should depend on texlive-htmlxml (currently broken)
+ depends_lib port:texlive-basic \
+ port:texlive-bibtex-extra \
+ port:texlive-bin-extra \
+ port:texlive-context \
+ port:texlive-documentation-arabic \
+ port:texlive-documentation-base \
+ port:texlive-documentation-bulgarian \
+ port:texlive-documentation-chinese \
+ port:texlive-documentation-czechslovak \
+ port:texlive-documentation-dutch \
+ port:texlive-documentation-english \
+ port:texlive-documentation-finnish \
+ port:texlive-documentation-french \
+ port:texlive-documentation-german \
+ port:texlive-documentation-italian \
+ port:texlive-documentation-japanese \
+ port:texlive-documentation-korean \
+ port:texlive-documentation-mongolian \
+ port:texlive-documentation-polish \
+ port:texlive-documentation-portuguese \
+ port:texlive-documentation-russian \
+ port:texlive-documentation-slovenian \
+ port:texlive-documentation-spanish \
+ port:texlive-documentation-thai \
+ port:texlive-documentation-turkish \
+ port:texlive-documentation-ukrainian \
+ port:texlive-documentation-vietnamese \
+ port:texlive-fonts-extra \
+ port:texlive-fonts-recommended \
+ port:texlive-fontutils \
+ port:texlive-formats-extra \
+ port:texlive-games \
+ port:texlive-generic-extra \
+ port:texlive-generic-recommended \
+ port:texlive-humanities \
+ port:texlive-lang-african \
+ port:texlive-lang-arabic \
+ port:texlive-lang-armenian \
+ port:texlive-lang-cjk \
+ port:texlive-lang-croatian \
+ port:texlive-lang-cyrillic \
+ port:texlive-lang-czechslovak \
+ port:texlive-lang-danish \
+ port:texlive-lang-dutch \
+ port:texlive-lang-finnish \
+ port:texlive-lang-french \
+ port:texlive-lang-german \
+ port:texlive-lang-greek \
+ port:texlive-lang-hebrew \
+ port:texlive-lang-hungarian \
+ port:texlive-lang-indic \
+ port:texlive-lang-italian \
+ port:texlive-lang-latin \
+ port:texlive-lang-latvian \
+ port:texlive-lang-lithuanian \
+ port:texlive-lang-mongolian \
+ port:texlive-lang-norwegian \
+ port:texlive-lang-other \
+ port:texlive-lang-polish \
+ port:texlive-lang-portuguese \
+ port:texlive-lang-spanish \
+ port:texlive-lang-swedish \
+ port:texlive-lang-tibetan \
+ port:texlive-lang-ukenglish \
+ port:texlive-lang-vietnamese \
+ port:texlive-latex \
+ port:texlive-latex-extra \
+ port:texlive-latex-recommended \
+ port:texlive-latex3 \
+ port:texlive-luatex \
+ port:texlive-math-extra \
+ port:texlive-metapost \
+ port:texlive-music \
+ port:texlive-omega \
+ port:texlive-pictures \
+ port:texlive-plain-extra \
+ port:texlive-pstricks \
+ port:texlive-publishers \
+ port:texlive-science \
+ port:texlive-xetex
+}
+
variant letter description {Set paper format to letter} {
build {
system "texconfig-sys paper letter"
}
}
-variant doc description {Build docs} {
- depends_lib-append port:texlive_texmf-docs
+# These variants are for the underlying texmf ports; list them here so
+# they get shown in 'port variants texlive'
+variant doc description {Install documentation} { }
+variant src description {Install TeX source} { }
+
+default_variants +doc
+
+if {![variant_isset minimal]
+ && ![variant_isset basic]
+ && ![variant_isset full]} {
+ default_variants-append +medium
}
+
livecheck.type regex
livecheck.url ${homepage}acquire.html
livecheck.regex "TeX Live (\[0-9\]+) "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100616/1e3bc4b3/attachment-0001.html>
More information about the macports-changes
mailing list