summaryrefslogtreecommitdiff
path: root/print/teTeX2-bin
diff options
context:
space:
mode:
authorkei <kei>2003-02-23 04:59:20 +0000
committerkei <kei>2003-02-23 04:59:20 +0000
commitcd501b4fae7eb888d60bbdd1eee9daaf5ffc5a38 (patch)
treeb681ed91cdf0d668439eb2bb67b6595544e1c281 /print/teTeX2-bin
parenta26f3ed315e25abc76fc2f5a22973b4d38ef5340 (diff)
downloadpkgsrc-cd501b4fae7eb888d60bbdd1eee9daaf5ffc5a38.tar.gz
Initial import of teTeX2-2.0.1 and related packages to the NetBSD
packages collection. For coexist with teTeX-1.0.7 in the package source tree, newly imported packages are named `teTeX2'.
Diffstat (limited to 'print/teTeX2-bin')
-rw-r--r--print/teTeX2-bin/DESCR3
-rwxr-xr-xprint/teTeX2-bin/INSTALL17
-rw-r--r--print/teTeX2-bin/Makefile33
-rw-r--r--print/teTeX2-bin/Makefile.common63
-rw-r--r--print/teTeX2-bin/PLIST386
-rw-r--r--print/teTeX2-bin/distinfo8
-rw-r--r--print/teTeX2-bin/kpathsea.buildlink2.mk20
-rw-r--r--print/teTeX2-bin/patches/patch-ac13
-rw-r--r--print/teTeX2-bin/patches/patch-ad13
-rw-r--r--print/teTeX2-bin/patches/patch-ap92
-rw-r--r--print/teTeX2-bin/patches/patch-aq16
11 files changed, 664 insertions, 0 deletions
diff --git a/print/teTeX2-bin/DESCR b/print/teTeX2-bin/DESCR
new file mode 100644
index 00000000000..b3dca66fb57
--- /dev/null
+++ b/print/teTeX2-bin/DESCR
@@ -0,0 +1,3 @@
+This package contains the executables for the teTeX installation
+as well as other files that were created when generating the binaries:
+info files, format files and manual pages.
diff --git a/print/teTeX2-bin/INSTALL b/print/teTeX2-bin/INSTALL
new file mode 100755
index 00000000000..debac7ff1d9
--- /dev/null
+++ b/print/teTeX2-bin/INSTALL
@@ -0,0 +1,17 @@
+#! /bin/sh
+#
+# $NetBSD: INSTALL,v 1.1.1.1 2003/02/23 04:59:25 kei Exp $
+
+case ${STAGE} in
+POST-INSTALL)
+ ${CAT} << EOT
+===========================================================================
+You may consider running ${PKG_PREFIX}/bin/texconfig to adjust for your
+local environment, e.g. configure font generation to use a temporary
+directory.
+
+For further information have a look at ${PKG_PREFIX}/share/texmf/doc/tetex/.
+===========================================================================
+EOT
+ ;;
+esac
diff --git a/print/teTeX2-bin/Makefile b/print/teTeX2-bin/Makefile
new file mode 100644
index 00000000000..a1d48f31732
--- /dev/null
+++ b/print/teTeX2-bin/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/02/23 04:59:25 kei Exp $
+
+DISTNAME= tetex-src-${TETEX_BIN_VERS}
+PKGNAME= teTeX2-bin-${TETEX_BIN_VERS}
+PKGREVISION= # empty
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/2.0/distrib/}
+
+MAINTAINER= kei@netbsd.org
+HOMEPAGE= http://www.tug.org/tetex/
+COMMENT= TeX distribution for UNIX compatible systems - executables, version 2
+
+BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
+DEPENDS+= teTeX2-share>=2.0.1:../teTeX2-share
+DEPENDS+= dialog-0.6z:../../misc/dialog
+
+CONFLICTS+= omega-[0-9]*
+
+INFO_FILES= latex.info dvips.info web2c.info kpathsea.info
+
+post-install:
+ @${RM} ${PREFIX}/share/texmf/web2c/*.log
+ ### someone needs to adjust papersize to this:
+ #${LOCALBASE}/bin/texconfig dvips paper a4
+ #${LOCALBASE}/bin/texconfig xdvi a4
+ ${LOCALBASE}/bin/texconfig font ro
+ ${LOCALBASE}/bin/texconfig font vardir /var/spool/texfonts
+ ${LOCALBASE}/bin/texconfig font options appendonlydir varfonts
+
+.include "../../print/teTeX2-bin/Makefile.common"
+
+.include "../../mk/texinfo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/teTeX2-bin/Makefile.common b/print/teTeX2-bin/Makefile.common
new file mode 100644
index 00000000000..4d0836043f9
--- /dev/null
+++ b/print/teTeX2-bin/Makefile.common
@@ -0,0 +1,63 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2003/02/23 04:59:25 kei Exp $
+
+TETEX_BIN_VERS= 2.0.1
+DIST_SUBDIR= teTeX
+ALL_TARGET= all
+INSTALL_TARGET= install strip
+
+USE_BUILDLINK2= yes
+USE_GMAKE= yes
+USE_X11= yes
+CFLAGS+= -Dunix
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --without-texinfo
+CONFIGURE_ARGS+= --without-dialog
+CONFIGURE_ARGS+= --disable-multiplatform
+CONFIGURE_ARGS+= --enable-ipc
+CONFIGURE_ARGS+= --with-epsfwin
+CONFIGURE_ARGS+= --with-hp2627win
+CONFIGURE_ARGS+= --with-mftalkwin
+CONFIGURE_ARGS+= --with-x11
+CONFIGURE_ARGS+= --with-system-wwwlib
+CONFIGURE_ARGS+= --with-libwww-config=${LOCALBASE}/bin/libwww-config
+CONFIGURE_ARGS+= --with-system-ncurses
+CONFIGURE_ARGS+= --with-ncurses-include=${BUILDLINK_PREFIX.ncurses}/include
+CONFIGURE_ARGS+= --with-ncurses-libdir=${BUILDLINK_PREFIX.ncurses}/lib
+CONFIGURE_ARGS+= --with-system-pnglib
+CONFIGURE_ARGS+= --with-pnglib-include=${BUILDLINK_PREFIX.png}/include
+CONFIGURE_ARGS+= --with-pnglib-libdir=${BUILDLINK_PREFIX.png}/lib
+CONFIGURE_ARGS+= --with-system-t1lib
+CONFIGURE_ARGS+= --with-t1lib-include=${BUILDLINK_PREFIX.t1lib}/include
+CONFIGURE_ARGS+= --with-t1lib-libdir=${BUILDLINK_PREFIX.t1lib}/lib
+CONFIGURE_ARGS+= --with-system-zlib
+CONFIGURE_ARGS+= --with-zlib-include=${BUILDLINK_PREFIX.zlib}/include
+CONFIGURE_ARGS+= --with-zlib-libdir=${BUILDLINK_PREFIX.zlib}/lib
+
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(PAPERSIZE) && ${PAPERSIZE} != "A4"
+CONFIGURE_ARGS+= --disable-a4
+.endif
+
+.if ${OPSYS} != "SunOS"
+CONFIGURE_ARGS+= --enable-auto-core
+.endif
+
+CONFIGURE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
+ INSTALL_DATA="${INSTALL_DATA}"
+
+TEXFONTSDIR= /var/spool/texfonts
+OWN_DIRS= ${TEXFONTSDIR}
+OWN_DIRS_PERMS= ${TEXFONTSDIR}/pk ${ROOT_USER} ${ROOT_GROUP} 1777
+OWN_DIRS_PERMS+= ${TEXFONTSDIR}/source ${ROOT_USER} ${ROOT_GROUP} 1777
+OWN_DIRS_PERMS+= ${TEXFONTSDIR}/tfm ${ROOT_USER} ${ROOT_GROUP} 1777
+
+.include "../../www/libwww/buildlink2.mk"
+.include "../../graphics/png/buildlink2.mk"
+.include "../../fonts/t1lib/buildlink2.mk"
+.include "../../devel/zlib/buildlink2.mk"
+.include "../../devel/ncurses/buildlink2.mk"
+
+.include "../../mk/bsd.pkg.install.mk"
diff --git a/print/teTeX2-bin/PLIST b/print/teTeX2-bin/PLIST
new file mode 100644
index 00000000000..46cd5225efd
--- /dev/null
+++ b/print/teTeX2-bin/PLIST
@@ -0,0 +1,386 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/23 04:59:25 kei Exp $
+@comment There are three files in this package that teTeX-share installs
+@comment and that teTeX-bin modifies. Take care of this:
+bin/MakeTeXPK
+bin/access
+bin/afm2tfm
+bin/allcm
+bin/allec
+bin/allneeded
+bin/bibtex
+bin/ctangle
+bin/cweave
+bin/dmp
+bin/dvi2fax
+bin/dvicopy
+bin/dvihp
+bin/dvilj
+bin/dvilj2p
+bin/dvilj4
+bin/dvilj4l
+bin/dvilj6
+bin/dvipdfm
+bin/dvipdft
+bin/dvips
+bin/dvired
+bin/dvitomp
+bin/dvitype
+bin/e2pall
+bin/ebb
+bin/einitex
+bin/elatex
+bin/epstopdf
+bin/etex
+bin/evirtex
+bin/fdf2tan
+bin/fmtutil
+bin/fontexport
+bin/fontimport
+bin/fontinst
+bin/gftodvi
+bin/gftopk
+bin/gftype
+bin/gsftopk
+bin/inimf
+bin/inimpost
+bin/iniomega
+bin/initex
+bin/kpsepath
+bin/kpsestat
+bin/kpsetool
+bin/kpsewhich
+bin/kpsexpand
+bin/lambda
+bin/latex
+bin/mag
+bin/makeindex
+bin/makempx
+bin/makempy
+bin/mf
+bin/mf-nowin
+bin/mft
+bin/mfw
+bin/mkfontdesc
+bin/mkindex
+bin/mkocp
+bin/mkofm
+bin/mktexfmt
+bin/mktexlsr
+bin/mktexmf
+bin/mktexpk
+bin/mktextfm
+bin/mpost
+bin/mpto
+bin/mptopdf
+bin/newer
+bin/odvicopy
+bin/odvips
+bin/odvitype
+bin/ofm2opl
+bin/omega
+bin/omfonts
+bin/opl2ofm
+bin/otangle
+bin/otp2ocp
+bin/outocp
+bin/ovf2ovp
+bin/ovp2ovf
+bin/oxdvi
+bin/oxdvi.bin
+bin/patgen
+bin/pdfeinitex
+bin/pdfelatex
+bin/pdfetex
+bin/pdfevirtex
+bin/pdfinitex
+bin/pdflatex
+bin/pdftex
+bin/pdftosrc
+bin/pdfvirtex
+bin/pfb2pfa
+bin/pk2bm
+bin/pktogf
+bin/pktype
+bin/pltotf
+bin/pooltype
+bin/ps2frag
+bin/ps2pk
+bin/pslatex
+bin/readlink
+bin/rubibtex
+bin/rumakeindex
+bin/t1mapper
+bin/tangle
+bin/tex
+bin/texconfig
+bin/texdoc
+bin/texdoctk
+bin/texexec
+bin/texfind
+bin/texfont
+bin/texhash
+bin/texi2pdf
+bin/texlinks
+bin/texshow
+bin/texutil
+bin/tftopl
+bin/thumbpdf
+bin/tie
+bin/ttf2afm
+bin/updmap
+bin/vftovp
+bin/virmf
+bin/virmpost
+bin/viromega
+bin/virtex
+bin/vptovf
+bin/weave
+bin/xdvi
+bin/xdvi.bin
+bin/xdvizilla
+include/kpathsea/absolute.h
+include/kpathsea/c-auto.h
+include/kpathsea/c-ctype.h
+include/kpathsea/c-dir.h
+include/kpathsea/c-errno.h
+include/kpathsea/c-fopen.h
+include/kpathsea/c-limits.h
+include/kpathsea/c-memstr.h
+include/kpathsea/c-minmax.h
+include/kpathsea/c-namemx.h
+include/kpathsea/c-pathch.h
+include/kpathsea/c-pathmx.h
+include/kpathsea/c-proto.h
+include/kpathsea/c-stat.h
+include/kpathsea/c-std.h
+include/kpathsea/c-unistd.h
+include/kpathsea/c-vararg.h
+include/kpathsea/cnf.h
+include/kpathsea/concatn.h
+include/kpathsea/config.h
+include/kpathsea/db.h
+include/kpathsea/debug.h
+include/kpathsea/default.h
+include/kpathsea/expand.h
+include/kpathsea/fn.h
+include/kpathsea/fontmap.h
+include/kpathsea/getopt.h
+include/kpathsea/hash.h
+include/kpathsea/kpathsea.h
+include/kpathsea/lib.h
+include/kpathsea/line.h
+include/kpathsea/magstep.h
+include/kpathsea/paths.h
+include/kpathsea/pathsearch.h
+include/kpathsea/proginit.h
+include/kpathsea/progname.h
+include/kpathsea/readable.h
+include/kpathsea/str-list.h
+include/kpathsea/str-llist.h
+include/kpathsea/systypes.h
+include/kpathsea/tex-file.h
+include/kpathsea/tex-glyph.h
+include/kpathsea/tex-hush.h
+include/kpathsea/tex-make.h
+include/kpathsea/tilde.h
+include/kpathsea/truncate.h
+include/kpathsea/types.h
+include/kpathsea/variable.h
+include/kpathsea/xopendir.h
+include/kpathsea/xstat.h
+@unexec ${INSTALL_INFO} --delete %D/info/latex.info %D/info/dir
+@unexec ${INSTALL_INFO} --delete %D/info/dvips.info %D/info/dir
+@unexec ${INSTALL_INFO} --delete %D/info/web2c.info %D/info/dir
+@unexec ${INSTALL_INFO} --delete %D/info/kpathsea.info %D/info/dir
+info/latex.info-3
+info/latex.info-2
+info/latex.info-1
+info/latex.info
+info/dvips.info-4
+info/dvips.info-3
+info/dvips.info-2
+info/dvips.info-1
+info/dvips.info
+info/web2c.info-4
+info/web2c.info-3
+info/web2c.info-2
+info/web2c.info-1
+info/web2c.info
+info/kpathsea.info
+@exec ${INSTALL_INFO} %D/info/latex.info %D/info/dir
+@exec ${INSTALL_INFO} %D/info/dvips.info %D/info/dir
+@exec ${INSTALL_INFO} %D/info/web2c.info %D/info/dir
+@exec ${INSTALL_INFO} %D/info/kpathsea.info %D/info/dir
+man/man1/MakeTeXPK.1
+man/man1/access.1
+man/man1/afm2tfm.1
+man/man1/allcm.1
+man/man1/allec.1
+man/man1/allneeded.1
+man/man1/amstex.1
+man/man1/bibtex.1
+man/man1/cont-de.1
+man/man1/cont-en.1
+man/man1/cont-nl.1
+man/man1/cweb.1
+man/man1/dmp.1
+man/man1/dvi2fax.1
+man/man1/dvicopy.1
+man/man1/dvihp.1
+man/man1/dvilj.1
+man/man1/dvipdfm.1
+man/man1/dvips.1
+man/man1/dvired.1
+man/man1/dvitomp.1
+man/man1/dvitype.1
+man/man1/e2pall.1
+man/man1/einitex.1
+man/man1/elatex.1
+man/man1/eplain.1
+man/man1/epstopdf.1
+man/man1/etex.1
+man/man1/evirtex.1
+man/man1/fontexport.1
+man/man1/fontimport.1
+man/man1/fontinst.1
+man/man1/gftodvi.1
+man/man1/gftopk.1
+man/man1/gftype.1
+man/man1/gsftopk.1
+man/man1/inimf.1
+man/man1/inimpost.1
+man/man1/iniomega.1
+man/man1/initex.1
+man/man1/kpsestat.1
+man/man1/kpsetool.1
+man/man1/kpsewhich.1
+man/man1/lambda.1
+man/man1/latex.1
+man/man1/mag.1
+man/man1/makeindex.1
+man/man1/makempx.1
+man/man1/mf.1
+man/man1/mft.1
+man/man1/mkindex.1
+man/man1/mktexlsr.1
+man/man1/mktexmf.1
+man/man1/mktexpk.1
+man/man1/mktextfm.1
+man/man1/mpost.1
+man/man1/mpto.1
+man/man1/newer.1
+man/man1/omega.1
+man/man1/patgen.1
+man/man1/pdfetex.1
+man/man1/pdfinitex.1
+man/man1/pdflatex.1
+man/man1/pdftex.1
+man/man1/pdfvirtex.1
+man/man1/pfb2pfa.1
+man/man1/pk2bm.1
+man/man1/pktogf.1
+man/man1/pktype.1
+man/man1/pltotf.1
+man/man1/pooltype.1
+man/man1/ps2frag.1
+man/man1/ps2pk.1
+man/man1/pslatex.1
+man/man1/readlink.1
+man/man1/rubibtex.1
+man/man1/rumakeindex.1
+man/man1/t1mapper.1
+man/man1/tangle.1
+man/man1/tex.1
+man/man1/texconfig.1
+man/man1/texdoc.1
+man/man1/texdoctk.1
+man/man1/texexec.1
+man/man1/texhash.1
+man/man1/texi2pdf.1
+man/man1/texshow.1
+man/man1/texutil.1
+man/man1/tftopl.1
+man/man1/thumbpdf.1
+man/man1/tie.1
+man/man1/updmap.1
+man/man1/vftovp.1
+man/man1/virmf.1
+man/man1/virmpost.1
+man/man1/viromega.1
+man/man1/virtex.1
+man/man1/vptovf.1
+man/man1/weave.1
+man/man1/xdvi.1
+man/man1/xdvizilla.1
+man/man5/fmtutil.cnf.5
+man/man8/fmtutil.8
+man/man8/mkfontdesc.8
+man/man8/texlinks.8
+share/texmf/doc/tetex/TETEXDOC.dvi
+share/texmf/doc/tetex/TETEXDOC.pdf
+share/texmf/doc/tetex/TETEXDOC.ps
+share/texmf/doc/tetex/teTeX-FAQ
+share/texmf/dvips/base/color.pro
+share/texmf/dvips/base/crop.pro
+share/texmf/dvips/base/finclude.pro
+share/texmf/dvips/base/hps.pro
+share/texmf/dvips/base/special.pro
+share/texmf/dvips/base/tex.pro
+share/texmf/dvips/base/texc.pro
+share/texmf/dvips/base/texps.pro
+share/texmf/dvips/gsftopk/render.ps
+share/texmf/texconfig/README
+share/texmf/texconfig/g/generic
+share/texmf/texconfig/generic
+share/texmf/texconfig/v/vt100
+share/texmf/texconfig/x/xterm
+share/texmf/web2c/cont-en.efmt
+share/texmf/web2c/elatex.efmt
+share/texmf/web2c/etex-pl.pool
+share/texmf/web2c/etex.efmt
+share/texmf/web2c/etex.pool
+share/texmf/web2c/fmtutil.cnf
+share/texmf/web2c/lambda.oft
+share/texmf/web2c/latex.fmt
+share/texmf/web2c/metafun.mem
+share/texmf/web2c/mf-nowin.base
+share/texmf/web2c/mf.base
+share/texmf/web2c/mf.pool
+share/texmf/web2c/mfw.base
+share/texmf/web2c/mktex.cnf
+share/texmf/web2c/mktex.opt
+share/texmf/web2c/mktexdir
+share/texmf/web2c/mktexdir.opt
+share/texmf/web2c/mktexnam
+share/texmf/web2c/mktexnam.opt
+share/texmf/web2c/mktexupd
+share/texmf/web2c/mp.pool
+share/texmf/web2c/mpost.mem
+share/texmf/web2c/mptopdf.efmt
+share/texmf/web2c/omega.oft
+share/texmf/web2c/omega.pool
+share/texmf/web2c/pdfelatex.efmt
+share/texmf/web2c/pdfetex-pl.pool
+share/texmf/web2c/pdfetex.efmt
+share/texmf/web2c/pdfetex.pool
+share/texmf/web2c/pdflatex.fmt
+share/texmf/web2c/pdftex-pl.pool
+share/texmf/web2c/pdftex.fmt
+share/texmf/web2c/pdftex.pool
+share/texmf/web2c/plain.base
+share/texmf/web2c/plain.fmt
+share/texmf/web2c/plain.mem
+share/texmf/web2c/tex-pl.pool
+share/texmf/web2c/tex.fmt
+share/texmf/web2c/tex.pool
+share/texmf/web2c/texmf.cnf
+share/texmf/xdvi/xdvi.cfg
+@dirrm share/texmf/texconfig/x
+@dirrm share/texmf/texconfig/v
+@dirrm share/texmf/texconfig/g
+@dirrm share/texmf/texconfig
+@dirrm share/texmf/dvips/gsftopk
+@dirrm include/kpathsea
+@comment The next file is changed by various sub-pkgs (hugetex, ...)
+@exec %D/bin/mktexlsr
+@unexec ${RM} -f %D/share/texmf/ls-R
diff --git a/print/teTeX2-bin/distinfo b/print/teTeX2-bin/distinfo
new file mode 100644
index 00000000000..7c4e26aacde
--- /dev/null
+++ b/print/teTeX2-bin/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/02/23 04:59:25 kei Exp $
+
+SHA1 (teTeX/tetex-src-2.0.1.tar.gz) = cdd6bd2d7f1b2b39aabd28b5b08d68f7c8a80422
+Size (teTeX/tetex-src-2.0.1.tar.gz) = 11702968 bytes
+SHA1 (patch-ac) = 7e96a7a14090a6b3009d3562b18ee8383d50d3e0
+SHA1 (patch-ad) = 377f52b45ea66b88f682aaa7f0dd72dee8f986fb
+SHA1 (patch-ap) = 7f1ecc287e7ccb250f971c84d0363a2ad8161bd8
+SHA1 (patch-aq) = 5ccfccf7c6e60bd45cf4041776f9dffc2cca3d62
diff --git a/print/teTeX2-bin/kpathsea.buildlink2.mk b/print/teTeX2-bin/kpathsea.buildlink2.mk
new file mode 100644
index 00000000000..fab3f34df18
--- /dev/null
+++ b/print/teTeX2-bin/kpathsea.buildlink2.mk
@@ -0,0 +1,20 @@
+# $NetBSD: kpathsea.buildlink2.mk,v 1.1.1.1 2003/02/23 04:59:25 kei Exp $
+
+.if !defined(KPATHSEA_BUILDLINK2_MK)
+KPATHSEA_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= kpathsea
+BUILDLINK_DEPENDS.kpathsea?= teTeX-bin>=2.0.1
+BUILDLINK_PKGSRCDIR.kpathsea?= ../../print/teTeX2-bin
+BUILDLINK_DEPMETHOD.kpathsea?= build
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.kpathsea=teTeX-bin
+BUILDLINK_PREFIX.kpathsea_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.kpathsea= include/kpathsea/*
+BUILDLINK_FILES.kpathsea+= lib/libkpathsea.*
+
+BUILDLINK_TARGETS+= kpathsea-buildlink
+
+kpathsea-buildlink: _BUILDLINK_USE
+
+.endif # KPATHSEA_BUILDLINK2_MK
diff --git a/print/teTeX2-bin/patches/patch-ac b/print/teTeX2-bin/patches/patch-ac
new file mode 100644
index 00000000000..ab79dcc3e33
--- /dev/null
+++ b/print/teTeX2-bin/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/02/23 04:59:25 kei Exp $
+
+--- texk/oxdvik/Makefile.in.orig Mon Feb 3 03:53:12 2003
++++ texk/oxdvik/Makefile.in Fri Feb 21 10:20:33 2003
+@@ -20,7 +20,7 @@
+ x_ext_lib = @x_ext_lib@
+ # Follow the library order used in X11R6 itself:
+ # -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 (some may not be present).
+-x_link = $(LDLIBWWW) $(LDLIBT1) $(x_ldflags) $(x_tool_libs) $(x_pre_libs) $(x_ext_lib) -lX11 $(x_extra_libs)
++x_link = $(LDLIBWWW) $(LDLIBT1) $(x_ldflags) $(x_tool_libs) $(x_pre_libs) $(x_ext_lib) -lX11 $(x_extra_libs) -lz
+
+ LDLIBWWW=@LDLIBWWW@
+ LIBWWWCPPFLAGS=@LIBWWWCPPFLAGS@
diff --git a/print/teTeX2-bin/patches/patch-ad b/print/teTeX2-bin/patches/patch-ad
new file mode 100644
index 00000000000..2cd844a76da
--- /dev/null
+++ b/print/teTeX2-bin/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2003/02/23 04:59:25 kei Exp $
+
+--- texk/xdvik/Makefile.in.orig Mon Feb 3 03:53:22 2003
++++ texk/xdvik/Makefile.in Fri Feb 21 10:22:23 2003
+@@ -20,7 +20,7 @@
+ x_ext_lib = @x_ext_lib@
+ # Follow the library order used in X11R6 itself:
+ # -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 (some may not be present).
+-x_link = $(LDLIBWWW) $(LDLIBT1) $(x_ldflags) $(x_tool_libs) $(x_pre_libs) $(x_ext_lib) -lX11 $(x_extra_libs)
++x_link = $(LDLIBWWW) $(LDLIBT1) $(x_ldflags) $(x_tool_libs) $(x_pre_libs) $(x_ext_lib) -lX11 $(x_extra_libs) -lz
+
+ LDLIBWWW=@LDLIBWWW@
+ LIBWWWCPPFLAGS=@LIBWWWCPPFLAGS@
diff --git a/print/teTeX2-bin/patches/patch-ap b/print/teTeX2-bin/patches/patch-ap
new file mode 100644
index 00000000000..2ca23fd6c78
--- /dev/null
+++ b/print/teTeX2-bin/patches/patch-ap
@@ -0,0 +1,92 @@
+$NetBSD: patch-ap,v 1.1.1.1 2003/02/23 04:59:26 kei Exp $
+
+--- texk/tetex/texconfig.orig Sun Feb 16 04:04:56 2003
++++ texk/tetex/texconfig Fri Feb 21 10:25:36 2003
+@@ -7,8 +7,6 @@
+ # Thomas Esser, te@dbs.uni-hannover.de
+ # Copyright: Thomas Esser, 1994, 1995, 1996, 1997, 1999, 2002. Public domain.
+
+-# You may override DIALOG_TERMINFO and DIALOG_TERM in your environment.
+-
+ version=teTeX
+ #version='TeX Live'
+
+@@ -192,29 +190,11 @@
+ cleanup
+ exit 1
+ }
+-
+-# Some systems have their own dialog. Use it then and do not use
+-# faked TERM and TERMINFO variables when calling that dialog.
+-find_dialogtype()
+-{
+- { u=`uname -s`; } 2>/dev/null
+- case "$u" in
+- FreeBSD|Linux)
+- test -f /usr/bin/whiptail && DIALOG_PROG=/usr/bin/whiptail
+- test -f /usr/bin/dialog && DIALOG_PROG=/usr/bin/dialog
+- test -f /bin/dialog && DIALOG_PROG=/bin/dialog
+- ;;
+- esac
+-}
+
+ run_dialog()
+ {
+ test -z "$NO_CLEAR" && tty >/dev/null 2>&1 && clear;
+- if test -n "$DIALOG_PROG"; then
+- $DIALOG_PROG --title "$version setup utility" ${1+"$@"}
+- else
+- TERM=$DIALOG_TERM TERMINFO=$DIALOG_TERMINFO tcdialog --title "$version setup utility" ${1+"$@"}
+- fi
++ dialog --title "$version setup utility" "$@"
+ }
+
+ check_environ()
+@@ -293,22 +273,6 @@
+ echo "Done." >&2
+ }
+
+-check_terminal()
+-{
+- terminfo=${DIALOG_TERMINFO-/usr/lib/terminfo}
+-
+- test -f $terminfo/`echo $DIALOG_TERM | sed 's/\(.\).*/\1/'`/$DIALOG_TERM \
+- && return
+-
+- cat >&2 <<eof
+-TERM=$DIALOG_TERM is not supported by your terminfo system.
+-See terminfo(5), tic(1m) and term(5) for help.
+-
+-$progname failed. Program aborted.
+-eof
+- exit_return 1
+-}
+-
+ fix_pager_more()
+ {
+ case "$PAGER" in
+@@ -1737,7 +1701,6 @@
+ needsCleanup=false
+ find_echo
+ find_fmt
+-find_dialogtype
+ check_environ
+ require_binary kpsewhich pwd
+
+@@ -1813,8 +1776,6 @@
+
+ # The fallback directory for private scripts and config files.
+ : ${TEXMF=`kpsewhich -expand-var '$TEXMF'`}
+-: ${DIALOG_TERMINFO=$TC_TEXMFMAIN/texconfig}
+-: ${DIALOG_TERM=generic}
+
+ formats=$TC_VARTEXMF/web2c
+ xdvi_app_dir=$TC_VARTEXMF/xdvi
+@@ -1975,7 +1936,6 @@
+ # fmtutil --missing
+ # texlinks --multiplatform
+
+-check_terminal
+ cat <<eof
+
+ The interactive texconfig utility will be started now. Make sure your
diff --git a/print/teTeX2-bin/patches/patch-aq b/print/teTeX2-bin/patches/patch-aq
new file mode 100644
index 00000000000..a371a5e646b
--- /dev/null
+++ b/print/teTeX2-bin/patches/patch-aq
@@ -0,0 +1,16 @@
+$NetBSD: patch-aq,v 1.1.1.1 2003/02/23 04:59:26 kei Exp $
+
+--- texk/tetex/Makefile.in.orig Sun Feb 16 02:57:16 2003
++++ texk/tetex/Makefile.in Fri Feb 21 10:27:14 2003
+@@ -8,9 +8,9 @@
+ man5dir = $(mandir)/man5
+ man8dir = $(mandir)/man8
+
+-SCRIPTS= dvi2fax ps2frag texconfig dvired pslatex texi2html allcm allneeded fontexport fontimport kpsetool mkfontdesc MakeTeXPK fontinst rubibtex rumakeindex fmtutil texdoc texlinks texexec texdoctk updmap
++SCRIPTS= dvi2fax ps2frag texconfig dvired pslatex allcm allneeded fontexport fontimport kpsetool mkfontdesc MakeTeXPK fontinst rubibtex rumakeindex fmtutil texdoc texlinks texexec texdoctk updmap
+ PDFSCRIPTS=e2pall epstopdf texi2pdf thumbpdf
+-manpgs= allcm allec allneeded dvi2fax dvired e2pall epstopdf fontexport fontimport fontinst kpsepath kpsetool kpsexpand ps2frag pslatex rubibtex rumakeindex texconfig texdoc texexec texi2html texi2pdf texshow texutil thumbpdf texdoctk updmap
++manpgs= allcm allec allneeded dvi2fax dvired e2pall epstopdf fontexport fontimport fontinst kpsepath kpsetool kpsexpand ps2frag pslatex rubibtex rumakeindex texconfig texdoc texexec texi2pdf texshow texutil thumbpdf texdoctk updmap
+
+ INFOFILES= latex.info latex.info-1 latex.info-2 latex.info-3
+ POOLFILES = etex-pl.pool pdfetex-pl.pool pdftex-pl.pool tex-pl.pool