aboutsummaryrefslogtreecommitdiffstats
path: root/print/tex
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-09-29 16:56:20 +0800
committerjkh <jkh@FreeBSD.org>1994-09-29 16:56:20 +0800
commitd6cb0ac3d47fffd3b1a965c5afbf3dbf960bd627 (patch)
treefcdf072775d5df850f3f10be3772385c7bbf5b8c /print/tex
parentd08f7ab673a23dfc721b78f5b35e45c3f7b757f3 (diff)
downloadfreebsd-ports-gnome-d6cb0ac3d47fffd3b1a965c5afbf3dbf960bd627.tar.gz
freebsd-ports-gnome-d6cb0ac3d47fffd3b1a965c5afbf3dbf960bd627.tar.zst
freebsd-ports-gnome-d6cb0ac3d47fffd3b1a965c5afbf3dbf960bd627.zip
Bring in Jean-Marc Zucconi's tex port. The Makefile is kind of weird,
and he has his own ftp-get routine, but knowing how complex the TeX distribution is, I suspect that all of this obfuscation is probably justified! Submitted by: jmz
Diffstat (limited to 'print/tex')
-rw-r--r--print/tex/Makefile182
-rw-r--r--print/tex/pkg-comment1
-rw-r--r--print/tex/pkg-descr5
-rw-r--r--print/tex/pkg-plist288
-rw-r--r--print/tex/scripts/configure14
5 files changed, 490 insertions, 0 deletions
diff --git a/print/tex/Makefile b/print/tex/Makefile
new file mode 100644
index 000000000000..886ab5b1edb0
--- /dev/null
+++ b/print/tex/Makefile
@@ -0,0 +1,182 @@
+#define this if you want to build LaTeX too
+#MAKE_LATEX= yes
+
+DISTFILES= web2c.tar.gz web.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
+ mf_lib.tar.gz cm_mf.tar.gz modes.mf
+
+EXTRACT_ONLY= web2c.tar.gz web.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
+ mf_lib.tar.gz cm_mf.tar.gz
+
+
+FTPGET= ${WRKDIR}/ftpget
+TEXDIR= ${.CURDIR}
+
+
+DISTNAME= web2c-6.1
+
+#other equivalent sites: ftp.shsu.edu dtp.dante.de
+CTAN= ftp.tex.ac.uk
+
+
+.if defined (MAKE_LATEX)
+DISTFILES+= latex_mf.tar.gz latex_tfm.tar.gz latex_base.tar.gz
+EXTRACT_ONLY+= latex_base.tar.gz latex_mf.tar.gz latex_tfm.tar.gz
+.endif
+
+BASES= mf.base cmmf.base
+FORMATS= tex.fmt
+
+CFLAGS= -O2
+PREFIX= /usr/local
+
+pre-fetch:
+ @if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi
+ @mkdir -p ${WRKDIR}
+ @${SCRIPTDIR}/ftpget magic ${WRKDIR}
+
+fetch: pre-fetch ${DISTFILES}
+
+fetch-file:
+ @echo ">> ${file_out} doesn't seem to exist on this system.";
+ @echo ">> Attempting to fetch it from a master site.";
+ @${FTPGET} ${CTAN} ${ftp_dir} ${file_in} ${file_out}
+ @if [ ! -f ${file_out} ]; then \
+ echo ">> Couldn't fetch it - please try to retreive this";\
+ echo ">> port manually into ${DISTDIR} and try again."; \
+ exit 1; \
+ else \
+ echo ">> ${file_out} Fetched!" ; \
+ fi;
+
+web2c.tar.gz:
+ @(cd ${DISTDIR}; if [ ! -f $@ ]; then \
+ make -f ${TEXDIR}/Makefile fetch-file FTPGET=${FTPGET} \
+ ftp_dir=/tex-archive/systems/web2c file_in=web2c.tar.gz file_out=$@; \
+ fi;)
+web.tar.gz:
+ @(cd ${DISTDIR}; if [ ! -f $@ ]; then \
+ make -f ${TEXDIR}/Makefile fetch-file FTPGET=${FTPGET} \
+ ftp_dir=/tex-archive/systems/web2c file_in=web.tar.gz file_out=$@; \
+ fi;)
+cm_mf.tar.gz:
+ @(cd ${DISTDIR}; if [ ! -f $@ ]; then \
+ make -f ${TEXDIR}/Makefile fetch-file FTPGET=${FTPGET} \
+ ftp_dir=/tex-archive/fonts file_in=cm/mf.tar.gz file_out=$@; \
+ fi;)
+cm_tfm.tar.gz:
+ @(cd ${DISTDIR}; if [ ! -f $@ ]; then \
+ make -f ${TEXDIR}/Makefile fetch-file FTPGET=${FTPGET} \
+ ftp_dir=/tex-archive/fonts file_in=cm/tfm.tar.gz file_out=$@; \
+ fi;)
+mf_lib.tar.gz:
+ @(cd ${DISTDIR}; if [ ! -f $@ ]; then \
+ make -f ${TEXDIR}/Makefile fetch-file FTPGET=${FTPGET} \
+ ftp_dir=/tex-archive/systems/knuth file_in=lib.tar.gz file_out=$@; \
+ fi;)
+modes.mf:
+ @(cd ${DISTDIR}; if [ ! -f $@ ]; then \
+ make -f ${TEXDIR}/Makefile fetch-file FTPGET=${FTPGET} \
+ ftp_dir=/tex-archive/systems/web2c file_in=modes.mf file_out=$@; \
+ fi;)
+tex_base.tar.gz:
+ @(cd ${DISTDIR}; if [ ! -f $@ ]; then \
+ make -f ${TEXDIR}/Makefile fetch-file FTPGET=${FTPGET} \
+ ftp_dir=/tex-archive/macros file_in=plain/base.tar.gz file_out=$@; \
+ fi;)
+latex_base.tar.gz:
+ @(cd ${DISTDIR}; if [ ! -f $@ ]; then \
+ make -f ${TEXDIR}/Makefile fetch-file FTPGET=${FTPGET} \
+ ftp_dir=/tex-archive/macros file_in=latex/base.tar.gz file_out=$@; \
+ fi;)
+latex_mf.tar.gz:
+ @(cd ${DISTDIR}; if [ ! -f $@ ]; then \
+ make -f ${TEXDIR}/Makefile fetch-file FTPGET=${FTPGET} \
+ ftp_dir=/tex-archive/fonts file_in=latex/mf.tar.gz file_out=$@; \
+ fi;)
+latex_tfm.tar.gz:
+ @(cd ${DISTDIR}; if [ ! -f $@ ]; then \
+ make -f ${TEXDIR}/Makefile fetch-file FTPGET=${FTPGET} \
+ ftp_dir=/tex-archive/fonts file_in=latex/tfm.tar.gz file_out=$@; \
+ fi;)
+
+
+CONFIGURE_COOKIE= ${.CURDIR}/.configure_done
+
+configure: extract ${CONFIGURE_COOKIE}
+
+${CONFIGURE_COOKIE}:
+ @echo "===> Configuring for ${DISTNAME}"
+ @if [ -f ${SCRIPTDIR}/configure ]; then \
+ sh ${SCRIPTDIR}/configure ${PORTSDIR} ${.CURDIR} ${WRKSRC}; \
+ fi
+ @(cd ${WRKSRC}; LEX=lex; YACC=yacc; export LEX YACC; \
+ ./configure --prefix=${PREFIX})
+ @(cd ${WRKDIR}; rm -rf mf; mkdir mf; cd mf; \
+ for f in `find ../cm -name \*.mf -print`; do \
+ if [ ! -f `basename $$f` ]; then \
+ ln -s $$f; \
+ fi; \
+ done;\
+ for f in `find ../lib -name \*.mf -print`; do \
+ if [ ! -f `basename $$f` ]; then \
+ ln -s $$f; \
+ fi; \
+ done;\
+ cp ${DISTDIR}/modes.mf .; )
+.if defined (MAKE_LATEX)
+ @(cd ${WRKDIR}/mf; \
+ for f in `find ../latex -name \*.mf -print`; do \
+ if [ ! -f `basename $$f` ]; then \
+ ln -s $$f; \
+ fi; \
+ done;)
+.endif
+ @touch -f ${CONFIGURE_COOKIE}
+
+build: configure
+ @echo "===> Building for ${DISTNAME}"
+ @(cd ${WRKSRC}/web2c; make triptrap)
+ @(cd ${WRKSRC}/web2c; make run-triptrap)
+ @(cd ${WRKSRC}/web2c; make clean-triptrap)
+ @(cd ${WRKSRC}; make CFLAGS="${CFLAGS}" programs)
+ @(cd ${WRKSRC}; MFINPUTS=${WRKDIR}/mf; export MFINPUTS;\
+ make bases="${BASES}" bases)
+.if defined (MAKE_LATEX)
+ @(cd ${WRKDIR}/latex/base; TEXPOOL=${WRKSRC}/web2c/tex; export TEXPOOL; \
+ ${WRKSRC}/web2c/tex/initex unpack.ins)
+ @(cd ${WRKDIR}/latex/base; TEXFONTS=${WRKSRC}/cm/tfm:${WRKSRC}/latex/tfm; \
+ export TEXFONTS; TEXINPUTS={WRKDIR}/lib:.; export TEXINPUTS; \
+ ${WRKSRC}/web2c/tex/initex latex.ltx)
+.endif
+ @(cd ${WRKSRC}/web2c; TEXINPUTS=${WRKDIR}/lib:${WRKSRC}; export TEXINPUTS;\
+ TEXFONTS=${WRKDIR}/cm/tfm:${WRKDIR}/latex/tfm; export TEXFONTS; \
+ make fmts="${FORMATS}" fmts)
+
+install:
+ @echo "===> Installing for ${DISTNAME}"
+ @(cd ${WRKSRC}/web2c; make install-exec INSTALL_PROGRAM="/usr/bin/install -c -s")
+.if defined(MAKE_LATEX)
+ @(/usr/bin/install -c -m 644 ${WRKDIR}/latex/base/latex.fmt \
+ ${PREFIX}/lib/texmf/ini/)
+.endif
+ @(cd ${WRKSRC}/web2c; make install-manpages)
+ @(cd ${WRKSRC}/web2c; make install-data bases="${BASES}" fmts="${FORMATS}")
+ @mkdir -p ${PREFIX}/lib/texmf/fonts/tfm
+ @(cd ${WRKDIR}/cm/tfm; install -c -m 644 *.tfm ${PREFIX}/lib/texmf/fonts/tfm)
+.if defined(MAKE_LATEX)
+ @(cd ${WRKDIR}/latex/tfm; install -c -m 644 *.tfm ${PREFIX}/lib/texmf/fonts/tfm)
+.endif
+ @mkdir -p ${PREFIX}/lib/texmf/mf
+ @(cd ${WRKDIR}/mf; install -c -m 644 *.mf ${PREFIX}/lib/texmf/mf)
+ @mkdir -p ${PREFIX}/lib/texmf/tex
+ @(cd ${WRKDIR}/lib; install -c -m 644 *.tex ${PREFIX}/lib/texmf/tex)
+ @(cd ${WRKDIR}/plain/base; install -c -m 644 *.tex ${PREFIX}/lib/texmf/tex)
+.if defined(MAKE_LATEX)
+ @(cd ${WRKDIR}/latex/base; install -c -m 644 latexbug.tex testpage.tex \
+ lablst.tex idx.tex nfssfont.tex small2e.tex sample2e.tex docstrip.tex \
+ *.cls *.clo *.sty *.fd *.def *.cfg ${PREFIX}/lib/texmf/tex)
+ @mkdir -p ${PREFIX}/lib/texmf/MakeIndex
+ @(cd ${WRKDIR}/latex/base; install -c -m 644 *.ist ${PREFIX}/lib/texmf/tex)
+.endif
+
+.include <bsd.port.mk>
diff --git a/print/tex/pkg-comment b/print/tex/pkg-comment
new file mode 100644
index 000000000000..86ea7d1ca8c5
--- /dev/null
+++ b/print/tex/pkg-comment
@@ -0,0 +1 @@
+This is TeX, Version 3.1415 (C version 6.1) and METAFONT, Version 2.71
diff --git a/print/tex/pkg-descr b/print/tex/pkg-descr
new file mode 100644
index 000000000000..8043676c1f38
--- /dev/null
+++ b/print/tex/pkg-descr
@@ -0,0 +1,5 @@
+TeX is "the" typesetting package. It was designed with no limiting
+application in mind. It was intended to be able to prepare practically
+any document - from a single page letter to a full book with formulae,
+tables, figures, etc. The expertise of generations of professional
+printers has been captured in TeX.
diff --git a/print/tex/pkg-plist b/print/tex/pkg-plist
new file mode 100644
index 000000000000..a0bd57bf0479
--- /dev/null
+++ b/print/tex/pkg-plist
@@ -0,0 +1,288 @@
+@cd /usr/local
+@owner bin
+@mode 755
+bin/tex
+bin/mf
+bin/latex
+bin/cmmf
+bin/dvicopy
+bin/dvitype
+bin/gftodvi
+bin/gftopk
+bin/mft
+bin/pktogf
+bin/pktype
+bin/vftovp
+bin/vptovf
+bin/gftype
+bin/pltotf
+bin/tftopl
+bin/initex
+bin/virtex
+bin/patgen
+bin/inimf
+bin/virmf
+bin/bibtex
+bin/tangle
+bin/weave
+bin/pooltype
+@mode 644
+lib/texmf/fonts/texfonts.map
+lib/texmf/fonts/tfm
+lib/texmf/fonts/tfm/cmb10.tfm
+lib/texmf/fonts/tfm/cmbsy10.tfm
+lib/texmf/fonts/tfm/cmbx10.tfm
+lib/texmf/fonts/tfm/cmbx12.tfm
+lib/texmf/fonts/tfm/cmbx5.tfm
+lib/texmf/fonts/tfm/cmbx6.tfm
+lib/texmf/fonts/tfm/cmbx7.tfm
+lib/texmf/fonts/tfm/cmbx8.tfm
+lib/texmf/fonts/tfm/cmbx9.tfm
+lib/texmf/fonts/tfm/cmbxsl10.tfm
+lib/texmf/fonts/tfm/cmbxti10.tfm
+lib/texmf/fonts/tfm/cmcsc10.tfm
+lib/texmf/fonts/tfm/cmdunh10.tfm
+lib/texmf/fonts/tfm/cmex10.tfm
+lib/texmf/fonts/tfm/cmff10.tfm
+lib/texmf/fonts/tfm/cmfib8.tfm
+lib/texmf/fonts/tfm/cminch.tfm
+lib/texmf/fonts/tfm/cmitt10.tfm
+lib/texmf/fonts/tfm/cmmi10.tfm
+lib/texmf/fonts/tfm/cmmi12.tfm
+lib/texmf/fonts/tfm/cmmi5.tfm
+lib/texmf/fonts/tfm/cmmi6.tfm
+lib/texmf/fonts/tfm/cmmi7.tfm
+lib/texmf/fonts/tfm/cmmi8.tfm
+lib/texmf/fonts/tfm/cmmi9.tfm
+lib/texmf/fonts/tfm/cmmib10.tfm
+lib/texmf/fonts/tfm/cmr10.tfm
+lib/texmf/fonts/tfm/cmr12.tfm
+lib/texmf/fonts/tfm/cmr17.tfm
+lib/texmf/fonts/tfm/cmr5.tfm
+lib/texmf/fonts/tfm/cmr6.tfm
+lib/texmf/fonts/tfm/cmr7.tfm
+lib/texmf/fonts/tfm/cmr8.tfm
+lib/texmf/fonts/tfm/cmr9.tfm
+lib/texmf/fonts/tfm/cmsa10.tfm
+lib/texmf/fonts/tfm/cmsl10.tfm
+lib/texmf/fonts/tfm/cmsl12.tfm
+lib/texmf/fonts/tfm/cmsl8.tfm
+lib/texmf/fonts/tfm/cmsl9.tfm
+lib/texmf/fonts/tfm/cmsltt10.tfm
+lib/texmf/fonts/tfm/cmss10.tfm
+lib/texmf/fonts/tfm/cmss12.tfm
+lib/texmf/fonts/tfm/cmss17.tfm
+lib/texmf/fonts/tfm/cmss8.tfm
+lib/texmf/fonts/tfm/cmss9.tfm
+lib/texmf/fonts/tfm/cmssbx10.tfm
+lib/texmf/fonts/tfm/cmssdc10.tfm
+lib/texmf/fonts/tfm/cmssi10.tfm
+lib/texmf/fonts/tfm/cmssi12.tfm
+lib/texmf/fonts/tfm/cmssi17.tfm
+lib/texmf/fonts/tfm/cmssi8.tfm
+lib/texmf/fonts/tfm/cmssi9.tfm
+lib/texmf/fonts/tfm/cmssq8.tfm
+lib/texmf/fonts/tfm/cmssqi8.tfm
+lib/texmf/fonts/tfm/cmsy10.tfm
+lib/texmf/fonts/tfm/cmsy5.tfm
+lib/texmf/fonts/tfm/cmsy6.tfm
+lib/texmf/fonts/tfm/cmsy7.tfm
+lib/texmf/fonts/tfm/cmsy8.tfm
+lib/texmf/fonts/tfm/cmsy9.tfm
+lib/texmf/fonts/tfm/cmtcsc10.tfm
+lib/texmf/fonts/tfm/cmtex10.tfm
+lib/texmf/fonts/tfm/cmtex8.tfm
+lib/texmf/fonts/tfm/cmtex9.tfm
+lib/texmf/fonts/tfm/cmti10.tfm
+lib/texmf/fonts/tfm/cmti12.tfm
+lib/texmf/fonts/tfm/cmti7.tfm
+lib/texmf/fonts/tfm/cmti8.tfm
+lib/texmf/fonts/tfm/cmti9.tfm
+lib/texmf/fonts/tfm/cmtt10.tfm
+lib/texmf/fonts/tfm/cmtt12.tfm
+lib/texmf/fonts/tfm/cmtt8.tfm
+lib/texmf/fonts/tfm/cmtt9.tfm
+lib/texmf/fonts/tfm/cmu10.tfm
+lib/texmf/fonts/tfm/cmvtt10.tfm
+lib/texmf/fonts/tfm/dummy.tfm
+lib/texmf/fonts/tfm/manfnt.tfm
+lib/texmf/fonts/tfm/old_manfnt.tfm
+lib/texmf/mf/modes.mf
+lib/texmf/mf/3test.mf
+lib/texmf/mf/6test.mf
+lib/texmf/mf/expr.mf
+lib/texmf/mf/grayf.mf
+lib/texmf/mf/io.mf
+lib/texmf/mf/null.mf
+lib/texmf/mf/plain.mf
+lib/texmf/mf/rtest.mf
+lib/texmf/mf/slant.mf
+lib/texmf/mf/test.mf
+lib/texmf/mf/waits.mf
+lib/texmf/mf/ztest.mf
+lib/texmf/mf/logo.mf
+lib/texmf/mf/logo10.mf
+lib/texmf/mf/logo8.mf
+lib/texmf/mf/logo9.mf
+lib/texmf/mf/logobf10.mf
+lib/texmf/mf/logosl10.mf
+lib/texmf/mf/manfnt.mf
+lib/texmf/mf/accent.mf
+lib/texmf/mf/bigacc.mf
+lib/texmf/mf/bigdel.mf
+lib/texmf/mf/bigop.mf
+lib/texmf/mf/calu.mf
+lib/texmf/mf/cmb10.mf
+lib/texmf/mf/cmbase.mf
+lib/texmf/mf/cmbsy10.mf
+lib/texmf/mf/cmbx10.mf
+lib/texmf/mf/cmbx12.mf
+lib/texmf/mf/cmbx5.mf
+lib/texmf/mf/cmbx6.mf
+lib/texmf/mf/cmbx7.mf
+lib/texmf/mf/cmbx8.mf
+lib/texmf/mf/cmbx9.mf
+lib/texmf/mf/cmbxsl10.mf
+lib/texmf/mf/cmbxti10.mf
+lib/texmf/mf/cmcsc10.mf
+lib/texmf/mf/cmdunh10.mf
+lib/texmf/mf/cmex10.mf
+lib/texmf/mf/cmex9.mf
+lib/texmf/mf/cmff10.mf
+lib/texmf/mf/cmfi10.mf
+lib/texmf/mf/cmfib8.mf
+lib/texmf/mf/cminch.mf
+lib/texmf/mf/cmitt10.mf
+lib/texmf/mf/cmmi10.mf
+lib/texmf/mf/cmmi12.mf
+lib/texmf/mf/cmmi5.mf
+lib/texmf/mf/cmmi6.mf
+lib/texmf/mf/cmmi7.mf
+lib/texmf/mf/cmmi8.mf
+lib/texmf/mf/cmmi9.mf
+lib/texmf/mf/cmmib10.mf
+lib/texmf/mf/cmplain.mf
+lib/texmf/mf/cmr10.mf
+lib/texmf/mf/cmr12.mf
+lib/texmf/mf/cmr17.mf
+lib/texmf/mf/cmr5.mf
+lib/texmf/mf/cmr6.mf
+lib/texmf/mf/cmr7.mf
+lib/texmf/mf/cmr8.mf
+lib/texmf/mf/cmr9.mf
+lib/texmf/mf/cmsl10.mf
+lib/texmf/mf/cmsl12.mf
+lib/texmf/mf/cmsl8.mf
+lib/texmf/mf/cmsl9.mf
+lib/texmf/mf/cmsltt10.mf
+lib/texmf/mf/cmss10.mf
+lib/texmf/mf/cmss12.mf
+lib/texmf/mf/cmss17.mf
+lib/texmf/mf/cmss8.mf
+lib/texmf/mf/cmss9.mf
+lib/texmf/mf/cmssbx10.mf
+lib/texmf/mf/cmssdc10.mf
+lib/texmf/mf/cmssi10.mf
+lib/texmf/mf/cmssi12.mf
+lib/texmf/mf/cmssi17.mf
+lib/texmf/mf/cmssi8.mf
+lib/texmf/mf/cmssi9.mf
+lib/texmf/mf/cmssq8.mf
+lib/texmf/mf/cmssqi8.mf
+lib/texmf/mf/cmsy10.mf
+lib/texmf/mf/cmsy5.mf
+lib/texmf/mf/cmsy6.mf
+lib/texmf/mf/cmsy7.mf
+lib/texmf/mf/cmsy8.mf
+lib/texmf/mf/cmsy9.mf
+lib/texmf/mf/cmtcsc10.mf
+lib/texmf/mf/cmtex10.mf
+lib/texmf/mf/cmtex8.mf
+lib/texmf/mf/cmtex9.mf
+lib/texmf/mf/cmti10.mf
+lib/texmf/mf/cmti12.mf
+lib/texmf/mf/cmti7.mf
+lib/texmf/mf/cmti8.mf
+lib/texmf/mf/cmti9.mf
+lib/texmf/mf/cmtt10.mf
+lib/texmf/mf/cmtt12.mf
+lib/texmf/mf/cmtt8.mf
+lib/texmf/mf/cmtt9.mf
+lib/texmf/mf/cmu10.mf
+lib/texmf/mf/cmvtt10.mf
+lib/texmf/mf/comlig.mf
+lib/texmf/mf/csc.mf
+lib/texmf/mf/cscspu.mf
+lib/texmf/mf/greekl.mf
+lib/texmf/mf/greeku.mf
+lib/texmf/mf/itald.mf
+lib/texmf/mf/italig.mf
+lib/texmf/mf/itall.mf
+lib/texmf/mf/italms.mf
+lib/texmf/mf/sym.mf
+lib/texmf/mf/italp.mf
+lib/texmf/mf/italsp.mf
+lib/texmf/mf/mathex.mf
+lib/texmf/mf/mathit.mf
+lib/texmf/mf/mathsy.mf
+lib/texmf/mf/olddig.mf
+lib/texmf/mf/punct.mf
+lib/texmf/mf/roman.mf
+lib/texmf/mf/romand.mf
+lib/texmf/mf/romanl.mf
+lib/texmf/mf/romanp.mf
+lib/texmf/mf/romanu.mf
+lib/texmf/mf/romlig.mf
+lib/texmf/mf/romms.mf
+lib/texmf/mf/romspl.mf
+lib/texmf/mf/romspu.mf
+lib/texmf/mf/romsub.mf
+lib/texmf/mf/symbol.mf
+lib/texmf/mf/texset.mf
+lib/texmf/mf/textit.mf
+lib/texmf/mf/title.mf
+lib/texmf/mf/tset.mf
+lib/texmf/mf/tsetsl.mf
+lib/texmf/mf/white_setup.mf
+lib/texmf/tex/hyphen.tex
+lib/texmf/tex/manmac.tex
+lib/texmf/tex/mftmac.tex
+lib/texmf/tex/null.tex
+lib/texmf/tex/plain.tex
+lib/texmf/tex/story.tex
+lib/texmf/tex/testfont.tex
+lib/texmf/tex/webmac.tex
+lib/texmf/ini
+lib/texmf/ini/tex.fmt
+lib/texmf/ini/plain.fmt
+lib/texmf/ini/mf.base
+lib/texmf/ini/cmmf.base
+lib/texmf/ini/plain.base
+lib/texmf/ini/tex.pool
+lib/texmf/ini/mf.pool
+man/man1/bibtex.1
+man/man1/dvitype.1
+man/man1/gftodvi.1
+man/man1/gftopk.1
+man/man1/gftype.1
+man/man1/latex.1
+man/man1/mf.1
+man/man1/mft.1
+man/man1/pktogf.1
+man/man1/pktype.1
+man/man1/pltotf.1
+man/man1/slitex.1
+man/man1/tangle.1
+man/man1/tex.1
+man/man1/tftopl.1
+man/man1/vftovp.1
+man/man1/vptovf.1
+man/man1/weave.1
+man/man1/etex.1
+man/man1/amslatex.1
+man/man1/amstex.1
+man/man1/initex.1
+man/man1/lamstex.1
+man/man1/patgen.1
+man/man1/pooltype.1
+man/man1/virtex.1
diff --git a/print/tex/scripts/configure b/print/tex/scripts/configure
new file mode 100644
index 000000000000..d4d90c14bc7c
--- /dev/null
+++ b/print/tex/scripts/configure
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+if [ $# != 3 ]; then exit 1; fi
+
+#
+# The subdirectory searching in kpathsearch sometimes fails (don't know why)
+# so let's disable the feature (It can be reenabled with the proper environment
+# variables though.
+#
+cd $3/kpathsea || exit 1;
+mv paths.h.in paths.h.in.orig || exit 1;
+sed -e s://:/: <paths.h.in.orig >paths.h.in || exit 1;
+
+exit 0; \ No newline at end of file