[31349] trunk/dports/tex
milosh at macports.org
milosh at macports.org
Tue Nov 20 13:32:29 PST 2007
Revision: 31349
http://trac.macosforge.org/projects/macports/changeset/31349
Author: milosh at macports.org
Date: 2007-11-20 13:32:27 -0800 (Tue, 20 Nov 2007)
Log Message:
-----------
texlive is now a meta-port with variants
+doc install pdfs for packages (necessary for texdoc to work)
+minimal install only a minimal texmf tree
+letter configures paper format to US letter
Modified Paths:
--------------
trunk/dports/tex/texlive/Portfile
trunk/dports/tex/texlive_texmf-full/Portfile
Added Paths:
-----------
trunk/dports/tex/texlive_texmf-docs/
trunk/dports/tex/texlive_texmf-docs/Portfile
Removed Paths:
-------------
trunk/dports/tex/texlive/files/
Modified: trunk/dports/tex/texlive/Portfile
===================================================================
--- trunk/dports/tex/texlive/Portfile 2007-11-20 20:43:09 UTC (rev 31348)
+++ trunk/dports/tex/texlive/Portfile 2007-11-20 21:32:27 UTC (rev 31349)
@@ -4,7 +4,7 @@
name texlive
version 2007
-revision 1
+revision 2
categories tex
maintainers milosh openmaintainer
description TeX Live is a TeX distribution
@@ -18,98 +18,32 @@
platforms darwin
master_sites http://students.dec.bournemouth.ac.uk/ebarrett/texlive/distfiles/
-distname ${name}_base-${version}-src
-worksrcdir ${name}_base-${version}
-use_bzip2 yes
-checksums md5 db006e9f0f63e9be72bd5c45d07905f6 \
- sha1 f6f0192c200473c361aedfa8d34691a99e4f7065
-depends_lib port:freetype port:fontconfig port:ncurses port:zlib \
- port:libpng port:texinfo port:texi2html port:ghostscript \
- port:texlive_texmf-minimal
+depends_lib port:texlive_base port:texlive_texmf-full
+use_configure no
+fetch {}
+checksum {}
+extract {}
+build {}
+destroot {
+ touch ${destroot}${prefix}/share/texlive/
+}
-depends_build port:perl5.8
+variant minimal description {Only install minimal texmf tree} {
+ depends_lib-delete port:texlive_texmf-full
+}
-configure.args --mandir=${prefix}/share/man \
- --infodir=${prefix}/share/info \
- --with-system-freetype2 --with-system-ncurses \
- --with-freetype2-libdir=${prefix}/lib \
- --with-freetype2-include=${prefix}/include \
- --with-system-pnglib --with-system-zlib \
- --with-system-gd --with-fontconfig=${prefix} \
- --disable-multiplatform --without-texinfo \
- --without-xdvipdfmx --without-texi2html \
- --without-psutils --without-xetex
-
-post-destroot {
- copy ${destroot}${prefix}/share/texmf/web2c/texmf.cnf \
- ${destroot}${prefix}/share/texmf/web2c/texmf.cnf-dist
- reinplace "s|.*xetex.*||" ${destroot}${prefix}/share/texmf/web2c/fmtutil.cnf
- reinplace "s/^TEXMFSYSCONFIG = .*/TEXMFSYSCONFIG = \$TEXMFMAIN/g" \
- ${destroot}${prefix}/share/texmf/web2c/texmf.cnf
+variant letter description {Set paper format to letter} {
+ post-activate {
+ system "texconfig-sys paper letter"
+ }
}
-post-activate {
- system "mktexlsr"
- system "fmtutil-sys --all"
- system "updmap-sys --syncwithtrees"
- system "texlinks"
+variant doc description {Build docs} {
+ depends_lib-append port:texlive_texmf-docs
}
livecheck.check regex
livecheck.url ${homepage}acquire.html
livecheck.regex "TeX Live (\[0-9\]+) "
-#Include all openBSD patches. Make texlive honor DESTDIR.
-patchfiles patch-Makefile_in\
- patch-libs_icu-xetex_Makefile_in\
- patch-libs_icu-xetex_layout_KernTable_cpp\
- patch-texk_afm2pl_Makefile_in\
- patch-texk_bibtex8_Makefile_in\
- patch-texk_cjkutils_conv_Makefile_in\
- patch-texk_cjkutils_hbf2gf_Makefile_in\
- patch-texk_cjkutils_scripts_Makefile_in\
- patch-texk_detex_Makefile_in\
- patch-texk_dtl_Makefile_in\
- patch-texk_dvi2tty_Makefile_in\
- patch-texk_dvidvi_Makefile_in\
- patch-texk_dviljk_Makefile_in\
- patch-texk_dvipdfm_Makefile_in\
- patch-texk_dvipos_Makefile_in\
- patch-texk_dvipsk_Makefile_in\
- patch-texk_gsftopk_Makefile_in\
- patch-texk_kpathsea_Makefile_in\
- patch-texk_lacheck_Makefile_in\
- patch-texk_make_man_mk\
- patch-texk_makeindexk_Makefile_in\
- patch-texk_musixflx_Makefile_in\
- patch-texk_ps2pkm_Makefile_in\
- patch-texk_seetexk_Makefile_in\
- patch-texk_tetex_Makefile_in\
- patch-texk_tetex_texlinks\
- patch-texk_tex4htk_Makefile_in\
- patch-texk_texlive_Makefile_in\
- patch-texk_ttf2pk_Makefile_in\
- patch-texk_web2c_Makefile_in\
- patch-texk_web2c_alephdir_aleph_mk\
- patch-texk_web2c_doc_Makefile_in\
- patch-texk_web2c_mpware_Makefile_in\
- patch-texk_web2c_omegadir_omega_mk\
- patch-texk_web2c_omegafonts_Makefile_in\
- patch-texk_web2c_otps_Makefile_in\
- patch-texk_web2c_pdftexdir_pdftex_mk\
- patch-texk_web2c_texmfmem_h\
- patch-texk_web2c_xetexdir_XeTeX_ext_c\
- patch-texk_web2c_xetexdir_XeTeX_ext_h\
- patch-texk_web2c_xetexdir_XeTeX_mac_c\
- patch-texk_web2c_xetexdir_jpegimage_c\
- patch-texk_web2c_xetexdir_xetex-new_ch\
- patch-texk_web2c_xetexdir_xetex_defines\
- patch-texk_web2c_xetexdir_xetex_h\
- patch-texk_web2c_xetexdir_xetex_mk\
- patch-texk_xdv2pdf_Makefile_in\
- patch-texk_xdvik_Makefile_in\
- patch-texk_xdvipdfmx_src_tt_cmap_c\
- patch-utils_dialog_Makefile_in\
- patch-utils_ps2eps_Makefile_in\
- patch-utils_psutils_Makefile_in
Added: trunk/dports/tex/texlive_texmf-docs/Portfile
===================================================================
--- trunk/dports/tex/texlive_texmf-docs/Portfile (rev 0)
+++ trunk/dports/tex/texlive_texmf-docs/Portfile 2007-11-20 21:32:27 UTC (rev 31349)
@@ -0,0 +1,50 @@
+# $Id$
+
+PortSystem 1.0
+
+name texlive_texmf-docs
+version 2007
+categories tex
+maintainers milosh openmaintainer
+description Docs for texlive
+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.
+
+homepage http://www.tug.org/texlive/
+platforms darwin
+
+depends_run port:texlive_base
+
+master_sites http://students.dec.bournemouth.ac.uk/ebarrett/texlive/distfiles/
+distname ${name}-${version}
+worksrcdir ${name}-${version}
+
+checksums md5 9065e19a4d3cace19ef0d7442936d80d \
+ sha1 44bab787daff2575e2c38b9c26fed2f5319f467c
+
+use_configure no
+
+build {
+ delete ${worksrcpath}/texmf/doc/bibtex8/00readme.txt \
+ ${worksrcpath}/texmf/doc/bibtex8/HISTORY \
+ ${worksrcpath}/texmf/doc/bibtex8/csfile.txt \
+ ${worksrcpath}/texmf/doc/bibtex8/file_id.diz \
+ ${worksrcpath}/texmf/doc/tetex/TETEXDOC.pdf \
+ ${worksrcpath}/texmf/doc/tetex/teTeX-FAQ
+}
+
+destroot {
+ copy ${worksrcpath}/texmf ${destroot}${prefix}/share
+ copy ${worksrcpath}/texmf-dist ${destroot}${prefix}/share
+}
+
+post-activate {
+ system "mktexlsr"
+}
+
+livecheck.check regex
+livecheck.url ${homepage}acquire.html
+livecheck.regex "TeX Live (\[0-9\]+) "
Property changes on: trunk/dports/tex/texlive_texmf-docs/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Modified: trunk/dports/tex/texlive_texmf-full/Portfile
===================================================================
--- trunk/dports/tex/texlive_texmf-full/Portfile 2007-11-20 20:43:09 UTC (rev 31348)
+++ trunk/dports/tex/texlive_texmf-full/Portfile 2007-11-20 21:32:27 UTC (rev 31349)
@@ -16,7 +16,7 @@
homepage http://www.tug.org/texlive/
platforms darwin
-depends_run port:texlive
+depends_run port:texlive_base
master_sites http://students.dec.bournemouth.ac.uk/ebarrett/texlive/distfiles/
distname ${name}-${version}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071120/f8bb83c0/attachment-0001.html
More information about the macports-changes
mailing list