source: trunk/dports/print/teTeX/Portfile @ 1678

Last change on this file since 1678 was 1678, checked in by fkr, 18 years ago

build.target.all -> build.target
build.target.install -> install.target

  • Property svn:eol-style set to native
File size: 2.7 KB
Line 
1PortSystem 1.0
2name            teTeX
3version         3.14159
4categories      print
5description     TeX and METAFONT
6long_description        teTeX is _the_ TeX distribution for UNIX compatible systems.  It \
7                        contains the latest versions of TeX & friends and nearly everything \
8                        you need for happy TeX'ing.  For more information have a look at \
9                        the lengthy FEATURES file of the distribution.
10platforms       darwin
11maintainers     landonf@opendarwin.org
12
13set tetex_src           teTeX-src-1.0.7.tar.gz
14set tetex_texmf         teTeX-texmf-1.0.2.tar.gz
15set tetex_texmftree     ${prefix}/share/texmf
16
17master_sites    ftp://wuarchive.wustl.edu/packages/TeX/systems/unix/teTeX/1.0/distrib/sources/  \
18                ftp://ftp.funet.fi/pub/TeX/CTAN/systems/unix/teTeX/1.0/distrib/sources/  \
19                ftp://ctan.unsw.edu.au/tex-archive/systems/unix/teTeX/1.0/distrib/sources/ \
20                ftp://ftp.cise.ufl.edu/tex-archive/systems/unix/teTeX/1.0/distrib/sources/ \
21                ftp://ftp.tex.ac.uk/tex-archive/systems/unix/teTeX/1.0/distrib/sources/  \
22                ftp://ftp.kddlabs.co.jp/CTAN/systems/unix/teTeX/1.0/distrib/sources/ \
23                ftp://sunsite.auc.dk/pub/tex/ctan/systems/unix/teTeX/1.0/distrib/sources/ \
24                ftp://ctan.tug.org/tex-archive/systems/unix/teTeX/1.0/distrib/sources/ \
25                ftp://ftp.dante.de/tex-archive/systems/unix/teTeX/1.0/distrib/sources/ \
26                ftp://ftp.dnsbalance.ring.gr.jp/pub/text/CTAN/systems/unix/teTeX/1.0/distrib/sources/ \
27                http://www.dnsbalance.ring.gr.jp/archives/text/CTAN/systems/unix/teTeX/1.0/distrib/sources/ \
28                ftp://ftp.chg.ru/pub/TeX/CTAN/systems/unix/teTeX/1.0/distrib/sources/ \
29                http://www.opendarwin.org/projects/darwinports/distfiles/:lt
30
31dist_subdir     teTeX
32distfiles       ${tetex_src} ${tetex_texmf} ltconfig13:lt ltmain13:lt
33checksums       ${tetex_src} md5 2c6da2a45096c2fdc41b8de6a8af1a52 \
34                ${tetex_texmf} md5 7811ed356cca07b16ea8422f00c3cd34 \
35                ltconfig13 md5 ea53f42a550c9f9e653758a8ed91574e \
36                ltmain13 md5 e094ae92724c4015dbab97de151c2525
37
38extract.only    ${tetex_src}
39worksrcdir      teTeX-1.0
40
41patchfiles      patch-autoconf
42
43post-patch { system "cp ${distpath}/ltconfig13 ${worksrcpath}/config/ltconfig"
44             system "cp ${distpath}/ltmain13 ${worksrcpath}/config/ltmain.sh" }
45
46configure.type  gnu
47configure.args  --disable-multiplatform --without-texinfo --without-dialog \
48                --with-system-ncurses --with-system-zlib --with-system-wwwlib \
49                --with-libwww-libdir=${prefix}/lib \
50                --with-libwww-include=${prefix}/include/w3c-libwww \
51                --with-system-pnglib --with-pnglib-libdir=${prefix}/lib \
52                --with-pnglib-include=${prefix}/include
53# Apple gcc3 bug
54configure.env   CXXFLAGS=-fno-rtti
55
56pre-install { file mkdir ${tetex_texmftree}; cd ${tetex_texmftree}
57              system "tar xfz ${distpath}/${tetex_texmf}" }
58
59install.target  install strip
60
61depends_lib     lib:libpng.3:libpng lib:libwwwcore.0:libwww
62
63include         contents
Note: See TracBrowser for help on using the repository browser.