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

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

A tentative texlive port.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 4.0 KB
Line 
1# $Id: Portfile 30880 2007-11-10 06:43:34Z milosh@macports.org $
2
3PortSystem 1.0
4
5name                    texlive
6version                 2007
7categories              tex
8maintainers             milosh openmaintainer
9description             TeX Live is a TeX distribution
10long_description        TeX Live is an easy way to get up and running with TeX. \
11    It provides a comprehensive TeX system with binaries for most flavors \
12    of Unix, including GNU/Linux, and also Windows. It includes all the \
13    major TeX-related programs, macro packages, and fonts that are free \
14    software, including support for many languages around the world.
15
16homepage                http://www.tug.org/texlive
17platforms               darwin
18
19master_sites    http://students.dec.bournemouth.ac.uk/ebarrett/texlive/distfiles/
20distname        ${name}_base-${version}-src
21worksrcdir      ${name}_base-${version}
22use_bzip2       yes
23
24checksums       md5 db006e9f0f63e9be72bd5c45d07905f6 \
25                sha1 f6f0192c200473c361aedfa8d34691a99e4f7065
26depends_lib     port:freetype port:fontconfig port:ncurses port:zlib \
27                port:libpng port:texinfo port:texi2html port:ghostscript \
28                port:texlive_texmf-minimal
29
30configure.args  --mandir=${prefix}/share/man \
31                --infodir=${prefix}/share/info \
32                --with-system-freetype2 --with-system-ncurses \
33                --with-freetype2-libdir=${prefix}/lib \
34                --with-freetype2-include=${prefix}/include \
35                --with-system-pnglib --with-system-zlib \
36                --with-system-gd --with-fontconfig=${prefix} \
37                --disable-multiplatform --without-texinfo \
38                --without-xdvipdfmx --without-texi2html \
39                --without-psutils
40
41post-destroot   {
42    copy ${destroot}${prefix}/share/texmf/web2c/texmf.cnf \
43        ${destroot}${prefix}/share/texmf/web2c/texmf.cnf-dist
44    reinplace "s/^TEXMFSYSCONFIG = .*/TEXMFSYSCONFIG = \$TEXMFMAIN/g" \
45        ${destroot}${prefix}/share/texmf/web2c/texmf.cnf
46}
47
48post-activate   {
49        system "mktexlsr"
50        system "fmtutil-sys --all"
51        system "updmap-sys --syncwithtrees"
52        system "texlinks"
53}
54
55#Include all openBSD patches. Make texlive honor DESTDIR.
56patchfiles      patch-Makefile_in\
57    patch-libs_icu-xetex_Makefile_in\
58    patch-libs_icu-xetex_layout_KernTable_cpp\
59    patch-texk_afm2pl_Makefile_in\
60    patch-texk_bibtex8_Makefile_in\
61    patch-texk_cjkutils_conv_Makefile_in\
62    patch-texk_cjkutils_hbf2gf_Makefile_in\
63    patch-texk_cjkutils_scripts_Makefile_in\
64    patch-texk_detex_Makefile_in\
65    patch-texk_dtl_Makefile_in\
66    patch-texk_dvi2tty_Makefile_in\
67    patch-texk_dvidvi_Makefile_in\
68    patch-texk_dviljk_Makefile_in\
69    patch-texk_dvipdfm_Makefile_in\
70    patch-texk_dvipos_Makefile_in\
71    patch-texk_dvipsk_Makefile_in\
72    patch-texk_gsftopk_Makefile_in\
73    patch-texk_kpathsea_Makefile_in\
74    patch-texk_lacheck_Makefile_in\
75    patch-texk_make_man_mk\
76    patch-texk_makeindexk_Makefile_in\
77    patch-texk_musixflx_Makefile_in\
78    patch-texk_ps2pkm_Makefile_in\
79    patch-texk_seetexk_Makefile_in\
80    patch-texk_tetex_Makefile_in\
81    patch-texk_tetex_texlinks\
82    patch-texk_tex4htk_Makefile_in\
83    patch-texk_texlive_Makefile_in\
84    patch-texk_ttf2pk_Makefile_in\
85    patch-texk_web2c_Makefile_in\
86    patch-texk_web2c_alephdir_aleph_mk\
87    patch-texk_web2c_doc_Makefile_in\
88    patch-texk_web2c_mpware_Makefile_in\
89    patch-texk_web2c_omegadir_omega_mk\
90    patch-texk_web2c_omegafonts_Makefile_in\
91    patch-texk_web2c_otps_Makefile_in\
92    patch-texk_web2c_pdftexdir_pdftex_mk\
93    patch-texk_web2c_texmfmem_h\
94    patch-texk_web2c_xetexdir_XeTeX_ext_c\
95    patch-texk_web2c_xetexdir_XeTeX_ext_h\
96    patch-texk_web2c_xetexdir_XeTeX_mac_c\
97    patch-texk_web2c_xetexdir_jpegimage_c\
98    patch-texk_web2c_xetexdir_xetex-new_ch\
99    patch-texk_web2c_xetexdir_xetex_defines\
100    patch-texk_web2c_xetexdir_xetex_h\
101    patch-texk_web2c_xetexdir_xetex_mk\
102    patch-texk_xdv2pdf_Makefile_in\
103    patch-texk_xdvik_Makefile_in\
104    patch-texk_xdvipdfmx_src_tt_cmap_c\
105    patch-utils_dialog_Makefile_in\
106    patch-utils_ps2eps_Makefile_in\
107    patch-utils_psutils_Makefile_in
Note: See TracBrowser for help on using the repository browser.