summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorhubertf <hubertf>2005-03-31 22:09:18 +0000
committerhubertf <hubertf>2005-03-31 22:09:18 +0000
commit09f98bccf18c6e7f0499e030b14d383a845c84d6 (patch)
tree79de52e55ef1f147fa3af1f3ede8be1a327b717f /print
parent37d5f5de35e4c47bda0df41cecc8c228aa782a79 (diff)
downloadpkgsrc-09f98bccf18c6e7f0499e030b14d383a845c84d6.tar.gz
Import teTeX-bin-3.0: TeX distribution for UNIX compatible systems - binaries
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.
Diffstat (limited to 'print')
-rw-r--r--print/teTeX3-bin/DESCR3
-rw-r--r--print/teTeX3-bin/MESSAGE10
-rw-r--r--print/teTeX3-bin/Makefile46
-rw-r--r--print/teTeX3-bin/Makefile.common63
-rw-r--r--print/teTeX3-bin/PLIST404
-rw-r--r--print/teTeX3-bin/distinfo12
-rw-r--r--print/teTeX3-bin/kpathsea.buildlink3.mk19
-rw-r--r--print/teTeX3-bin/patches/patch-aa14
-rw-r--r--print/teTeX3-bin/patches/patch-ab178
-rw-r--r--print/teTeX3-bin/patches/patch-ad13
-rw-r--r--print/teTeX3-bin/patches/patch-ae12
-rw-r--r--print/teTeX3-bin/patches/patch-af36
-rw-r--r--print/teTeX3-bin/patches/patch-aj37
-rw-r--r--print/teTeX3-bin/patches/patch-ak67
-rw-r--r--print/teTeX3-bin/patches/patch-ap43
15 files changed, 957 insertions, 0 deletions
diff --git a/print/teTeX3-bin/DESCR b/print/teTeX3-bin/DESCR
new file mode 100644
index 00000000000..b3dca66fb57
--- /dev/null
+++ b/print/teTeX3-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/teTeX3-bin/MESSAGE b/print/teTeX3-bin/MESSAGE
new file mode 100644
index 00000000000..194399d903d
--- /dev/null
+++ b/print/teTeX3-bin/MESSAGE
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/03/31 22:09:18 hubertf Exp $
+
+You should consider running ${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 ${PREFIX}/share/texmf/doc/tetex/.
+
+===========================================================================
diff --git a/print/teTeX3-bin/Makefile b/print/teTeX3-bin/Makefile
new file mode 100644
index 00000000000..9d8558f8c1c
--- /dev/null
+++ b/print/teTeX3-bin/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/03/31 22:09:18 hubertf Exp $
+
+DISTNAME= tetex-src-3.0
+PKGNAME= ${DISTNAME:C/tetex/teTeX/:C/src/bin/}
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/3.0/distrib/}
+
+MAINTAINER= kei@NetBSD.org
+HOMEPAGE= http://www.tug.org/tetex/
+COMMENT= TeX distribution for UNIX compatible systems - binaries
+
+BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
+DEPENDS+= teTeX-texmf>=3.0:../teTeX3-texmf
+DEPENDS+= dialog-0.6z*:../../misc/dialog
+
+# games/omega previously installed an omega executable too
+CONFLICTS+= omega<0.90.4nb1
+
+INFO_FILES= latex.info dvips.info web2c.info kpathsea.info
+
+REPLACE_PERL= texk/xdvik/t1mapper \
+ texk/oxdvik/t1mapper
+
+CONFIGURE_ARGS+= --without-texinfo --without-texi2html
+
+.if defined(PAPERSIZE)
+LOWER_PAPERSIZE!= ${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]'
+.endif
+
+post-install:
+ @${RM} -f ${PREFIX}/share/texmf/web2c/*.log
+.if defined(PAPERSIZE)
+ ${LOCALBASE}/bin/texconfig dvips paper ${LOWER_PAPERSIZE}
+. if ${PAPERSIZE} == "Letter"
+ ${LOCALBASE}/bin/texconfig xdvi us
+. else
+ ${LOCALBASE}/bin/texconfig xdvi ${LOWER_PAPERSIZE}
+. endif
+.endif
+ ${LOCALBASE}/bin/texconfig font rw
+ ${LOCALBASE}/bin/texconfig font vardir ${VARBASE}/spool/texfonts
+
+.include "../../print/teTeX-bin/Makefile.common"
+.include "../../mk/xaw.buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/teTeX3-bin/Makefile.common b/print/teTeX3-bin/Makefile.common
new file mode 100644
index 00000000000..4032d3a8f46
--- /dev/null
+++ b/print/teTeX3-bin/Makefile.common
@@ -0,0 +1,63 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2005/03/31 22:09:18 hubertf Exp $
+
+TETEX_BIN_VERS= 3.0
+DIST_SUBDIR= teTeX
+BUILD_TARGET= all
+INSTALL_TARGET= install strip
+
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+USE_LANGUAGES= c c++
+USE_PKGINSTALL= 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= ${VARBASE}/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/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../fonts/t1lib/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
diff --git a/print/teTeX3-bin/PLIST b/print/teTeX3-bin/PLIST
new file mode 100644
index 00000000000..4c2dfe266b4
--- /dev/null
+++ b/print/teTeX3-bin/PLIST
@@ -0,0 +1,404 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/31 22:09:18 hubertf Exp $
+bin/a2ping
+bin/afm2tfm
+bin/aleph
+bin/allcm
+bin/allec
+bin/allneeded
+bin/bibtex
+bin/ctangle
+bin/ctie
+bin/cweave
+bin/dmp
+bin/dvi2fax
+bin/dvicopy
+bin/dvigif
+bin/dvihp
+bin/dvilj
+bin/dvilj2p
+bin/dvilj4
+bin/dvilj4l
+bin/dvilj6
+bin/dvipdfm
+bin/dvipdft
+bin/dvipng
+bin/dvips
+bin/dvired
+bin/dvitomp
+bin/dvitype
+bin/e2pall
+bin/ebb
+bin/epstopdf
+bin/etex
+bin/fdf2tan
+bin/fdf2tex
+bin/fmtutil
+bin/fmtutil-sys
+bin/fontinst
+bin/gftodvi
+bin/gftopk
+bin/gftype
+bin/gsftopk
+bin/kpseaccess
+bin/kpsepath
+bin/kpsereadlink
+bin/kpsestat
+bin/kpsetool
+bin/kpsewhere
+bin/kpsewhich
+bin/kpsexpand
+bin/lambda
+bin/lamed
+bin/latex
+bin/mag
+bin/makeindex
+bin/makempx
+bin/makempy
+bin/mf
+bin/mf-nowin
+bin/mft
+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/patgen
+bin/pdfcrop
+bin/pdfetex
+bin/pdflatex
+bin/pdftex
+bin/pdfxtex
+bin/pfb2pfa
+bin/pk2bm
+bin/pktogf
+bin/pktype
+bin/pltotf
+bin/pooltype
+bin/ps2frag
+bin/ps2pk
+bin/ps4pdf
+bin/pslatex
+bin/rubibtex
+bin/rumakeindex
+bin/tangle
+bin/tex
+bin/texconfig
+bin/texconfig-dialog
+bin/texconfig-sys
+bin/texdoc
+bin/texdoctk
+bin/texexec
+bin/texfind
+bin/texfont
+bin/texhash
+bin/texlinks
+bin/texshow
+bin/texutil
+bin/tftopl
+bin/thumbpdf
+bin/tie
+bin/ttf2afm
+bin/uniqleaf
+bin/updmap
+bin/updmap-sys
+bin/vftovp
+bin/vptovf
+bin/weave
+bin/xdvi
+bin/xdvi-xaw.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
+lib/libkpathsea.la
+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/ctangle.1
+man/man1/ctie.1
+man/man1/cweave.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/dvilj2p.1
+man/man1/dvilj4.1
+man/man1/dvilj4l.1
+man/man1/dvilj6.1
+man/man1/dvipdfm.1
+man/man1/dvipdft.1
+man/man1/dvipng.1
+man/man1/dvips.1
+man/man1/dvired.1
+man/man1/dvitomp.1
+man/man1/dvitype.1
+man/man1/e2pall.1
+man/man1/ebb.1
+man/man1/eplain.1
+man/man1/epstopdf.1
+man/man1/etex.1
+man/man1/fdf2tex.1
+man/man1/fmtutil-sys.1
+man/man1/fmtutil.1
+man/man1/fontinst.1
+man/man1/gftodvi.1
+man/man1/gftopk.1
+man/man1/gftype.1
+man/man1/gsftopk.1
+man/man1/kpseaccess.1
+man/man1/kpsepath.1
+man/man1/kpsereadlink.1
+man/man1/kpsestat.1
+man/man1/kpsetool.1
+man/man1/kpsewhere.1
+man/man1/kpsewhich.1
+man/man1/kpsexpand.1
+man/man1/lambda.1
+man/man1/latex.1
+man/man1/mag.1
+man/man1/makeindex.1
+man/man1/makempx.1
+man/man1/makempy.1
+man/man1/mf-nowin.1
+man/man1/mf.1
+man/man1/mft.1
+man/man1/mkindex.1
+man/man1/mkocp.1
+man/man1/mkofm.1
+man/man1/mktexfmt.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/odvicopy.1
+man/man1/odvips.1
+man/man1/odvitype.1
+man/man1/ofm2opl.1
+man/man1/omega.1
+man/man1/opl2ofm.1
+man/man1/otp2ocp.1
+man/man1/outocp.1
+man/man1/ovf2ovp.1
+man/man1/ovp2ovf.1
+man/man1/oxdvi.1
+man/man1/patgen.1
+man/man1/pdfetex.1
+man/man1/pdflatex.1
+man/man1/pdftex.1
+man/man1/pdfxtex.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/rubibtex.1
+man/man1/rumakeindex.1
+man/man1/tangle.1
+man/man1/tex.1
+man/man1/texconfig-sys.1
+man/man1/texconfig.1
+man/man1/texdoc.1
+man/man1/texdoctk.1
+man/man1/texexec.1
+man/man1/texfind.1
+man/man1/texfont.1
+man/man1/texhash.1
+man/man1/texlinks.1
+man/man1/texshow.1
+man/man1/texutil.1
+man/man1/tftopl.1
+man/man1/thumbpdf.1
+man/man1/tie.1
+man/man1/ttf2afm.1
+man/man1/updmap-sys.1
+man/man1/updmap.1
+man/man1/vftovp.1
+man/man1/vptovf.1
+man/man1/weave.1
+man/man1/xdvi.1
+man/man1/xdvizilla.1
+man/man5/fmtutil.cnf.5
+share/texmf-var/fonts/map/dvipdfm/updmap/dvipdfm.map
+share/texmf-var/fonts/map/dvipdfm/updmap/dvipdfm_dl14.map
+share/texmf-var/fonts/map/dvipdfm/updmap/dvipdfm_ndl14.map
+share/texmf-var/fonts/map/dvips/updmap/builtin35.map
+share/texmf-var/fonts/map/dvips/updmap/download35.map
+share/texmf-var/fonts/map/dvips/updmap/ps2pk.map
+share/texmf-var/fonts/map/dvips/updmap/psfonts.map
+share/texmf-var/fonts/map/dvips/updmap/psfonts_pk.map
+share/texmf-var/fonts/map/dvips/updmap/psfonts_t1.map
+share/texmf-var/fonts/map/pdftex/updmap/pdftex.map
+share/texmf-var/fonts/map/pdftex/updmap/pdftex_dl14.map
+share/texmf-var/fonts/map/pdftex/updmap/pdftex_ndl14.map
+share/texmf-var/web2c/aleph.fmt
+share/texmf-var/web2c/aleph.log
+share/texmf-var/web2c/cont-en.fmt
+share/texmf-var/web2c/cont-en.log
+share/texmf-var/web2c/etex.fmt
+share/texmf-var/web2c/etex.log
+share/texmf-var/web2c/lambda.fmt
+share/texmf-var/web2c/lambda.log
+share/texmf-var/web2c/lamed.fmt
+share/texmf-var/web2c/lamed.log
+share/texmf-var/web2c/latex.fmt
+share/texmf-var/web2c/latex.log
+share/texmf-var/web2c/metafun.log
+share/texmf-var/web2c/metafun.mem
+share/texmf-var/web2c/mf.base
+share/texmf-var/web2c/mf.log
+share/texmf-var/web2c/mpost.log
+share/texmf-var/web2c/mpost.mem
+share/texmf-var/web2c/mptopdf.fmt
+share/texmf-var/web2c/mptopdf.log
+share/texmf-var/web2c/omega.fmt
+share/texmf-var/web2c/omega.log
+share/texmf-var/web2c/pdfetex.fmt
+share/texmf-var/web2c/pdfetex.log
+share/texmf-var/web2c/pdflatex.fmt
+share/texmf-var/web2c/pdflatex.log
+share/texmf-var/web2c/pdftex.fmt
+share/texmf-var/web2c/pdftex.log
+share/texmf-var/web2c/tex.fmt
+share/texmf-var/web2c/tex.log
+share/texmf-var/web2c/updmap.log
+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/ls-R
+share/texmf/release-tetex-src.txt
+share/texmf/texconfig/README
+share/texmf/texconfig/g/generic
+share/texmf/texconfig/generic
+share/texmf/texconfig/tcfmgr
+share/texmf/texconfig/tcfmgr.map
+share/texmf/texconfig/v/vt100
+share/texmf/texconfig/x/xterm
+share/texmf/web2c/aleph.pool
+share/texmf/web2c/fmtutil.cnf
+share/texmf/web2c/mf.pool
+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/omega.pool
+share/texmf/web2c/pdfetex-pl.pool
+share/texmf/web2c/pdfetex.pool
+share/texmf/web2c/pdfxtex.pool
+share/texmf/web2c/tex.pool
+share/texmf/web2c/texmf.cnf
+share/texmf/xdvi/XDvi
+share/texmf/xdvi/pixmaps/toolbar.xpm
+share/texmf/xdvi/pixmaps/toolbar2.xpm
+share/texmf/xdvi/xdvi.cfg
+@dirrm share/texmf/xdvi/pixmaps
+@dirrm share/texmf/xdvi
+@comment In teTeX-texmf: @dirrm share/texmf/web2c
+@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 share/texmf/dvips/base
+@comment In teTeX-texmf: @dirrm share/texmf/doc/tetex
+@dirrm share/texmf-var/web2c
+@dirrm share/texmf-var/fonts/map/pdftex/updmap
+@dirrm share/texmf-var/fonts/map/dvips/updmap
+@dirrm share/texmf-var/fonts/map/dvipdfm/updmap
+@dirrm share/texmf-var
+@comment In teTeX-texmf: @dirrm share/texmf
+@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/teTeX3-bin/distinfo b/print/teTeX3-bin/distinfo
new file mode 100644
index 00000000000..fb3db23026f
--- /dev/null
+++ b/print/teTeX3-bin/distinfo
@@ -0,0 +1,12 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/03/31 22:09:18 hubertf Exp $
+
+SHA1 (teTeX/tetex-src-3.0.tar.gz) = 7637789f7f4929694aed1b89820f5bad4753e8fc
+Size (teTeX/tetex-src-3.0.tar.gz) = 12749314 bytes
+SHA1 (patch-aa) = 77feabef32c612ac5d0250b1e4db50a3fc497990
+SHA1 (patch-ab) = af4e90102afeb6e6dbd46ffbec51e14dd6d4fed5
+SHA1 (patch-ad) = 23d8e8729bc10748cceba5be3272484ab50f34e6
+SHA1 (patch-ae) = 68825699db129b82f476c37ba3b6e20a8831ad6e
+SHA1 (patch-af) = d5fd0e1b30b1ea9fd96fe5983088df5a723f04b7
+SHA1 (patch-aj) = e9e62bdb9f956f0f8a9dc4fe9988309b7c6aa767
+SHA1 (patch-ak) = ba06c10c1151173e04f3a6cc44d44a89f1933bb8
+SHA1 (patch-ap) = 0ca7341b416842fbc00a935d6cfdb0531c4169ba
diff --git a/print/teTeX3-bin/kpathsea.buildlink3.mk b/print/teTeX3-bin/kpathsea.buildlink3.mk
new file mode 100644
index 00000000000..3d8f6afa742
--- /dev/null
+++ b/print/teTeX3-bin/kpathsea.buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: kpathsea.buildlink3.mk,v 1.1.1.1 2005/03/31 22:09:18 hubertf Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+TETEX_BIN_BUILDLINK3_MK:= ${TETEX_BIN_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= teTeX-bin
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NteTeX-bin}
+BUILDLINK_PACKAGES+= teTeX-bin
+
+.if !empty(TETEX_BIN_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.teTeX-bin+= teTeX-bin>=3.0
+BUILDLINK_PKGSRCDIR.teTeX-bin?= ../../print/teTeX3-bin
+
+.endif # TETEX_BIN_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/print/teTeX3-bin/patches/patch-aa b/print/teTeX3-bin/patches/patch-aa
new file mode 100644
index 00000000000..0ae7c75134a
--- /dev/null
+++ b/print/teTeX3-bin/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/03/31 22:09:18 hubertf Exp $
+
+--- texk/configure.in.orig Mon Jan 13 11:32:40 2003
++++ texk/configure.in
+@@ -29,6 +29,9 @@ dnl Pass this down from the top level so
+ dnl install kpathsea a command line value is propagated.
+ AC_PROG_INSTALL
+
++AC_CONFIG_HEADER(ac_config.h)
++AC_HEADER_SYS_WAIT
++
+ dnl If the other programs ever acquire their own --with or --enable
+ dnl options, they must be added, so configure --help at the top level
+ dnl will show all the options.
diff --git a/print/teTeX3-bin/patches/patch-ab b/print/teTeX3-bin/patches/patch-ab
new file mode 100644
index 00000000000..62d9f141fdf
--- /dev/null
+++ b/print/teTeX3-bin/patches/patch-ab
@@ -0,0 +1,178 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/03/31 22:09:18 hubertf Exp $
+
+--- texk/configure.orig 2005-02-06 18:27:03.000000000 +0000
++++ texk/configure
+@@ -1463,6 +1463,50 @@
+ # as few characters as possible. Prefer GNU sed if found.
+
+
++echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
++echo "configure:1070: checking for sys/wait.h that is POSIX.1 compatible" >&5
++if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
++ echo $ac_n "(cached) $ac_c" 1>&6
++else
++ cat > conftest.$ac_ext <<EOF
++#line 1075 "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#include <sys/wait.h>
++#ifndef WEXITSTATUS
++#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
++#endif
++#ifndef WIFEXITED
++#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
++#endif
++int main() {
++int s;
++wait (&s);
++s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
++; return 0; }
++EOF
++if { (eval echo configure:1091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
++ rm -rf conftest*
++ ac_cv_header_sys_wait_h=yes
++else
++ echo "configure: failed program was:" >&5
++ cat conftest.$ac_ext >&5
++ rm -rf conftest*
++ ac_cv_header_sys_wait_h=no
++fi
++rm -f conftest*
++fi
++
++echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
++if test $ac_cv_header_sys_wait_h = yes; then
++ cat >> confdefs.h <<\EOF
++#define HAVE_SYS_WAIT_H 1
++EOF
++
++fi
++
++
++
+
+ # Check whether --with-bibtex8 or --without-bibtex8 was given.
+ if test "${with_bibtex8+set}" = set; then
+@@ -6711,7 +6755,7 @@
+ ac_given_srcdir=$srcdir
+ ac_given_INSTALL="$INSTALL"
+
+-trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
++trap 'rm -fr `echo "Makefile ac_config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+ EOF
+ cat >> $CONFIG_STATUS <<EOF
+
+@@ -6913,6 +6957,113 @@
+ fi; done
+ rm -f conftest.s*
+
++# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
++# NAME is the cpp macro being defined and VALUE is the value it is being given.
++#
++# ac_d sets the value in "#define NAME VALUE" lines.
++ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
++ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
++ac_dC='\3'
++ac_dD='%g'
++# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
++ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
++ac_uB='\([ ]\)%\1#\2define\3'
++ac_uC=' '
++ac_uD='\4%g'
++# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
++ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
++ac_eB='$%\1#\2define\3'
++ac_eC=' '
++ac_eD='%g'
++
++if test "${CONFIG_HEADERS+set}" != set; then
++EOF
++cat >> $CONFIG_STATUS <<EOF
++ CONFIG_HEADERS="ac_config.h"
++EOF
++cat >> $CONFIG_STATUS <<\EOF
++fi
++for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
++ # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
++ case "$ac_file" in
++ *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
++ ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
++ *) ac_file_in="${ac_file}.in" ;;
++ esac
++
++ echo creating $ac_file
++
++ rm -f conftest.frag conftest.in conftest.out
++ ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
++ cat $ac_file_inputs > conftest.in
++
++EOF
++
++# Transform confdefs.h into a sed script conftest.vals that substitutes
++# the proper values into ac_config.h.in to produce ac_config.h. And first:
++# Protect against being on the right side of a sed subst in config.status.
++# Protect against being in an unquoted here document in config.status.
++rm -f conftest.vals
++cat > conftest.hdr <<\EOF
++s/[\\&%]/\\&/g
++s%[\\$`]%\\&%g
++s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
++s%ac_d%ac_u%gp
++s%ac_u%ac_e%gp
++EOF
++sed -n -f conftest.hdr confdefs.h > conftest.vals
++rm -f conftest.hdr
++
++# This sed command replaces #undef with comments. This is necessary, for
++# example, in the case of _POSIX_SOURCE, which is predefined and required
++# on some systems where configure will not decide to define it.
++cat >> conftest.vals <<\EOF
++s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
++EOF
++
++# Break up conftest.vals because some shells have a limit on
++# the size of here documents, and old seds have small limits too.
++
++rm -f conftest.tail
++while :
++do
++ ac_lines=`grep -c . conftest.vals`
++ # grep -c gives empty output for an empty file on some AIX systems.
++ if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
++ # Write a limited-size here document to conftest.frag.
++ echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
++ sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
++ echo 'CEOF
++ sed -f conftest.frag conftest.in > conftest.out
++ rm -f conftest.in
++ mv conftest.out conftest.in
++' >> $CONFIG_STATUS
++ sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
++ rm -f conftest.vals
++ mv conftest.tail conftest.vals
++done
++rm -f conftest.vals
++
++cat >> $CONFIG_STATUS <<\EOF
++ rm -f conftest.frag conftest.h
++ echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
++ cat conftest.in >> conftest.h
++ rm -f conftest.in
++ if cmp -s $ac_file conftest.h 2>/dev/null; then
++ echo "$ac_file is unchanged"
++ rm -f conftest.h
++ else
++ # Remove last slash and all that follows it. Not all systems have dirname.
++ ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
++ if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
++ # The file is in a subdirectory.
++ test ! -d "$ac_dir" && mkdir "$ac_dir"
++ fi
++ rm -f $ac_file
++ mv conftest.h $ac_file
++ fi
++fi; done
++
+ EOF
+ cat >> $CONFIG_STATUS <<EOF
+
diff --git a/print/teTeX3-bin/patches/patch-ad b/print/teTeX3-bin/patches/patch-ad
new file mode 100644
index 00000000000..fb884c84175
--- /dev/null
+++ b/print/teTeX3-bin/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2005/03/31 22:09:18 hubertf Exp $
+
+--- texk/xdvik/Makefile.in.orig 2005-01-23 23:17:52.000000000 +0000
++++ texk/xdvik/Makefile.in
+@@ -29,7 +29,7 @@ x_ext_lib=@x_ext_lib@
+ # It seems that on Cygwin, libXaw needs _XpmReadFileToPixmap, so we put
+ # x_xpm_libs last.
+ # Xmu needs to come before Xt and after the toolkit libs.
+-x_link = $(LDLIBT1) $(x_ldflags) $(x_tool_libs) $(x_xmu_lib) -lXt $(x_pre_libs) $(x_ext_lib) -lX11 $(x_extra_libs) $(x_xpm_libs)
++x_link = $(LDLIBT1) $(x_ldflags) $(x_tool_libs) $(x_xmu_lib) -lXt $(x_pre_libs) $(x_ext_lib) -lX11 $(x_extra_libs) $(x_xpm_libs) -lz
+
+ LDLIBT1=@LDLIBT1@
+ LIBT1CPPFLAGS=@LIBT1CPPFLAGS@
diff --git a/print/teTeX3-bin/patches/patch-ae b/print/teTeX3-bin/patches/patch-ae
new file mode 100644
index 00000000000..eea3021089d
--- /dev/null
+++ b/print/teTeX3-bin/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1.1.1 2005/03/31 22:09:18 hubertf Exp $
+
+--- texk/ac_config.h.in.orig Sun Oct 10 22:15:08 2004
++++ texk/ac_config.h.in
+@@ -0,0 +1,7 @@
++/* ac_config.h.in. Generated automatically from configure.in by autoheader. */
++
++/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
++#undef HAVE_SYS_WAIT_H
++
++/* Define if you need to in order for stat and other things to work. */
++#undef _POSIX_SOURCE
diff --git a/print/teTeX3-bin/patches/patch-af b/print/teTeX3-bin/patches/patch-af
new file mode 100644
index 00000000000..bc4c6dfb9db
--- /dev/null
+++ b/print/teTeX3-bin/patches/patch-af
@@ -0,0 +1,36 @@
+$NetBSD: patch-af,v 1.1.1.1 2005/03/31 22:09:18 hubertf Exp $
+
+--- texk/web2c/lib/coredump.c.orig Thu Jan 16 13:51:12 1997
++++ texk/web2c/lib/coredump.c
+@@ -9,6 +9,7 @@
+ you. Perl has some things to say about these days. */
+
+ #include "config.h"
++#include "ac_config.h"
+
+ /* Do not try to compile this Unix-y unportable stuff unless it's needed. */
+
+@@ -29,7 +30,11 @@ funny_core_dump P1H(void)
+ }
+ #else /* !__EMX__ */
+ int pid, w;
++#ifdef HAVE_SYS_WAIT_H
++ int status;
++#else
+ union wait status;
++#endif
+
+ switch (pid = fork ())
+ {
+@@ -48,7 +53,11 @@ funny_core_dump P1H(void)
+ default: /* parent */
+ while ((w = wait (&status)) != pid && w != -1)
+ ;
++#ifdef HAVE_SYS_WAIT_H
++ if (WCOREDUMP(status))
++#else
+ if (status.w_coredump)
++#endif
+ exit (0);
+ (void) write (2, "attempt to dump core failed\n", 28);
+ exit (1);
diff --git a/print/teTeX3-bin/patches/patch-aj b/print/teTeX3-bin/patches/patch-aj
new file mode 100644
index 00000000000..87022ae50da
--- /dev/null
+++ b/print/teTeX3-bin/patches/patch-aj
@@ -0,0 +1,37 @@
+$NetBSD: patch-aj,v 1.1.1.1 2005/03/31 22:09:18 hubertf Exp $
+
+--- libs/xpdf/xpdf/Catalog.cc.orig 2004-01-22 01:26:45.000000000 +0000
++++ libs/xpdf/xpdf/Catalog.cc
+@@ -22,6 +22,7 @@
+ #include "Error.h"
+ #include "Link.h"
+ #include "Catalog.h"
++#include <limits.h>
+
+ //------------------------------------------------------------------------
+ // Catalog
+@@ -64,6 +65,12 @@ Catalog::Catalog(XRef *xrefA) {
+ }
+ pagesSize = numPages0 = (int)obj.getNum();
+ obj.free();
++ if ((pagesSize >= INT_MAX / sizeof(Page *)) ||
++ (pagesSize >= INT_MAX / sizeof(Ref))) {
++ error(-1, "Invalid 'pagesSize'");
++ ok = gFalse;
++ return;
++ }
+ pages = (Page **)gmalloc(pagesSize * sizeof(Page *));
+ pageRefs = (Ref *)gmalloc(pagesSize * sizeof(Ref));
+ for (i = 0; i < pagesSize; ++i) {
+@@ -191,6 +198,11 @@ int Catalog::readPageTree(Dict *pagesDic
+ }
+ if (start >= pagesSize) {
+ pagesSize += 32;
++ if ((pagesSize >= INT_MAX/sizeof(Page *)) ||
++ (pagesSize >= INT_MAX/sizeof(Ref))) {
++ error(-1, "Invalid 'pagesSize' parameter.");
++ goto err3;
++ }
+ pages = (Page **)grealloc(pages, pagesSize * sizeof(Page *));
+ pageRefs = (Ref *)grealloc(pageRefs, pagesSize * sizeof(Ref));
+ for (j = pagesSize - 32; j < pagesSize; ++j) {
diff --git a/print/teTeX3-bin/patches/patch-ak b/print/teTeX3-bin/patches/patch-ak
new file mode 100644
index 00000000000..63a38848477
--- /dev/null
+++ b/print/teTeX3-bin/patches/patch-ak
@@ -0,0 +1,67 @@
+$NetBSD: patch-ak,v 1.1.1.1 2005/03/31 22:09:18 hubertf Exp $
+
+--- libs/xpdf/xpdf/XRef.cc.orig 2005-01-19 12:09:57.000000000 +0000
++++ libs/xpdf/xpdf/XRef.cc
+@@ -28,6 +28,7 @@
+ #include "Error.h"
+ #include "ErrorCodes.h"
+ #include "XRef.h"
++#include <limits.h>
+
+ //------------------------------------------------------------------------
+
+@@ -388,6 +389,10 @@ GBool XRef::readXRefTable(Parser *parser
+ if (newSize < 0) {
+ goto err1;
+ }
++ if (newSize >= INT_MAX/sizeof(XRefEntry)) {
++ error(-1, "Invalid 'newSize'");
++ goto err1;
++ }
+ entries = (XRefEntry *)grealloc(entries, newSize * sizeof(XRefEntry));
+ for (i = size; i < newSize; ++i) {
+ entries[i].offset = 0xffffffff;
+@@ -493,6 +498,10 @@ GBool XRef::readXRefStream(Stream *xrefS
+ goto err1;
+ }
+ if (newSize > size) {
++ if (newSize >= INT_MAX/sizeof(XRefEntry)) {
++ error(-1, "Invalid 'newSize'");
++ goto err1;
++ }
+ entries = (XRefEntry *)grealloc(entries, newSize * sizeof(XRefEntry));
+ for (i = size; i < newSize; ++i) {
+ entries[i].offset = 0xffffffff;
+@@ -583,6 +592,10 @@ GBool XRef::readXRefStreamSection(Stream
+ if (newSize < 0) {
+ return gFalse;
+ }
++ if (newSize >= INT_MAX / sizeof(XRefEntry)) {
++ error(-1, "Invalid 'obj' parameters.");
++ return gFalse;
++ }
+ entries = (XRefEntry *)grealloc(entries, newSize * sizeof(XRefEntry));
+ for (i = size; i < newSize; ++i) {
+ entries[i].offset = 0xffffffff;
+@@ -718,6 +731,10 @@ GBool XRef::constructXRef() {
+ error(-1, "Bad object number");
+ return gFalse;
+ }
++ if (newSize >= INT_MAX / sizeof(XRefEntry)) {
++ error(-1, "Invalid 'newSize' parameters.");
++ return gFalse;
++ }
+ entries = (XRefEntry *)
+ grealloc(entries, newSize * sizeof(XRefEntry));
+ for (i = size; i < newSize; ++i) {
+@@ -741,6 +758,10 @@ GBool XRef::constructXRef() {
+ } else if (!strncmp(p, "endstream", 9)) {
+ if (streamEndsLen == streamEndsSize) {
+ streamEndsSize += 64;
++ if (streamEndsSize >= INT_MAX/sizeof(int)) {
++ error(-1, "Invalid 'streamEndSize' parameter.");
++ return gFalse;
++ }
+ streamEnds = (Guint *)grealloc(streamEnds,
+ streamEndsSize * sizeof(int));
+ }
diff --git a/print/teTeX3-bin/patches/patch-ap b/print/teTeX3-bin/patches/patch-ap
new file mode 100644
index 00000000000..87497d09c5b
--- /dev/null
+++ b/print/teTeX3-bin/patches/patch-ap
@@ -0,0 +1,43 @@
+$NetBSD: patch-ap,v 1.1.1.1 2005/03/31 22:09:18 hubertf Exp $
+
+--- texk/tetex/texconfig.orig 2005-02-06 18:20:53.000000000 +0000
++++ texk/tetex/texconfig
+@@ -157,36 +157,13 @@ checkForBinary()
+ }
+
+ ###############################################################################
+-# findDialogProg(void)
+-# Some systems have their own dialog. Use it then and do not use
+-# faked TERM and TERMINFO variables when calling that dialog.
+-###############################################################################
+-findDialogProg()
+-{
+- { u=`uname -s`; } 2>/dev/null
+- case "$u" in
+- FreeBSD|Linux|cygwin*|CYGWIN*)
+- 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
+-}
+-
+-###############################################################################
+ # runDialog(args)
+-# call either tcdialog or $DIALOG_PROG
++# call dialog
+ ###############################################################################
+ runDialog()
+ {
+ test -z "$NO_CLEAR" && tty -s && clear
+- case "$DIALOG_PROG" in
+- "")
+- TERM=$DIALOG_TERM TERMINFO=$DIALOG_TERMINFO \
+- tcdialog --title "$progname setup utility" ${1+"$@"};;
+- *)
+- $DIALOG_PROG --title "$progname setup utility" ${1+"$@"};;
+- esac
++ dialog --title "$progname setup utility" ${1+"$@"}
+ }
+
+