diff options
author | minskim <minskim@pkgsrc.org> | 2009-01-26 21:04:33 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2009-01-26 21:04:33 +0000 |
commit | be32062735052439ee984b710dea42a601849396 (patch) | |
tree | 89070b5784d247c1c056fdf45f57112ab3df462a /print | |
parent | 0e2db88d7309ab760c2d9802b4cef7489222b728 (diff) | |
download | pkgsrc-be32062735052439ee984b710dea42a601849396.tar.gz |
Import texlive-tetex-2008 as print/texlive-tetex.
This is a collection of scripts included in teTeX. The development of
the original teTeX ceased in 2006, and these scripts are now
maintained in TeX Live.
Diffstat (limited to 'print')
-rw-r--r-- | print/texlive-tetex/DEINSTALL | 34 | ||||
-rw-r--r-- | print/texlive-tetex/DESCR | 3 | ||||
-rw-r--r-- | print/texlive-tetex/INSTALL | 7 | ||||
-rw-r--r-- | print/texlive-tetex/Makefile | 60 | ||||
-rw-r--r-- | print/texlive-tetex/PLIST | 89 | ||||
-rw-r--r-- | print/texlive-tetex/distinfo | 7 | ||||
-rw-r--r-- | print/texlive-tetex/files/fmtutil.cnf | 24 | ||||
-rw-r--r-- | print/texlive-tetex/files/format-deinstall.tmpl | 41 | ||||
-rw-r--r-- | print/texlive-tetex/files/format-install.tmpl | 23 | ||||
-rw-r--r-- | print/texlive-tetex/files/map-deinstall.tmpl | 26 | ||||
-rw-r--r-- | print/texlive-tetex/files/map-install.tmpl | 22 | ||||
-rw-r--r-- | print/texlive-tetex/files/updmap.cfg | 89 | ||||
-rw-r--r-- | print/texlive-tetex/format.mk | 23 | ||||
-rw-r--r-- | print/texlive-tetex/map.mk | 26 | ||||
-rw-r--r-- | print/texlive-tetex/patches/patch-aa | 44 | ||||
-rw-r--r-- | print/texlive-tetex/patches/patch-ab | 20 |
16 files changed, 538 insertions, 0 deletions
diff --git a/print/texlive-tetex/DEINSTALL b/print/texlive-tetex/DEINSTALL new file mode 100644 index 00000000000..cf372205d7c --- /dev/null +++ b/print/texlive-tetex/DEINSTALL @@ -0,0 +1,34 @@ +# $NetBSD: DEINSTALL,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $ + +TEXMFSYSVAR="@VARBASE@/lib/texmf" + +case "${STAGE}" in +DEINSTALL) + # Remove font map files generated by updmap-sys. The list of + # files is taken from the updmap man page and matches the + # "output files" for updmap. + ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvipdfm/updmap/dvipdfm.map + ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvipdfm/updmap/dvipdfm_dl14.map + ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvipdfm/updmap/dvipdfm_ndl14.map + ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/builtin35.map + ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/download35.map + ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/ps2pk.map + ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/psfonts.map + ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/psfonts_pk.map + ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/psfonts_t1.map + ${RM} -f ${TEXMFSYSVAR}/fonts/map/pdftex/updmap/pdftex.map + ${RM} -f ${TEXMFSYSVAR}/fonts/map/pdftex/updmap/pdftex_dl14.map + ${RM} -f ${TEXMFSYSVAR}/fonts/map/pdftex/updmap/pdftex_ndl14.map + ${RM} -f ${TEXMFSYSVAR}/web2c/updmap.log + + # Remove stray directories. + for dir in \ + ${TEXMFSYSVAR}/web2c \ + ${TEXMFSYSVAR}/fonts/map/dvipdfm/updmap \ + ${TEXMFSYSVAR}/fonts/map/dvips/updmap \ + ${TEXMFSYSVAR}/fonts/map/pdftex/updmap + do + @RMDIR@ -p "$dir" 2>/dev/null || @TRUE@ + done + ;; +esac diff --git a/print/texlive-tetex/DESCR b/print/texlive-tetex/DESCR new file mode 100644 index 00000000000..cb3320a374c --- /dev/null +++ b/print/texlive-tetex/DESCR @@ -0,0 +1,3 @@ +This is a collection of scripts included in teTeX. The development of +the original teTeX ceased in 2006, and these scripts are now +maintained in TeX Live. diff --git a/print/texlive-tetex/INSTALL b/print/texlive-tetex/INSTALL new file mode 100644 index 00000000000..cf458c9ff42 --- /dev/null +++ b/print/texlive-tetex/INSTALL @@ -0,0 +1,7 @@ +# $NetBSD: INSTALL,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $ + +case "${STAGE}" in +POST-INSTALL) + @UPDMAP_SYS@ + ;; +esac diff --git a/print/texlive-tetex/Makefile b/print/texlive-tetex/Makefile new file mode 100644 index 00000000000..a1c04bb10f2 --- /dev/null +++ b/print/texlive-tetex/Makefile @@ -0,0 +1,60 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $ + +DISTNAME= texlive-20080816-source +PKGNAME= texlive-tetex-2008 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/} +EXTRACT_SUFX= .tar.lzma + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= http://www.tug.org/texlive/ +COMMENT= Scripts included in teTeX + +CONFLICTS+= teTeX-bin<=3.0nb22 +DEPENDS+= dialog>=1.0:../../misc/dialog +DEPENDS+= tex-bin-tetex-[0-9]*:../../print/tex-bin-tetex + +EXTRACT_ELEMENTS= ${DISTNAME}/texk/tetex \ + ${DISTNAME}/texk/make \ + ${DISTNAME}/texk/install.sh \ + ${DISTNAME}/texk/mkinstalldirs + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/${DISTNAME}/texk/tetex + +PKG_SYSCONFSUBDIR= texmf + +MAKE_DIRS+= ${PKG_SYSCONFDIR}/web2c +CONF_FILES+= ${PREFIX}/share/texmf/web2c/fmtutil.cnf \ + ${PKG_SYSCONFDIR}/web2c/fmtutil.cnf +CONF_FILES+= ${PREFIX}/share/texmf/web2c/updmap.cfg \ + ${PKG_SYSCONFDIR}/web2c/updmap.cfg +FILES_SUBST+= UPDMAP_SYS=${PREFIX}/bin/updmap-sys + +FIND_PREFIX:= DIALOG_PREFIX=dialog +.include "../../mk/find-prefix.mk" + +SUBST_CLASSES+= paths +SUBST_MESSAGE.paths= Setting a path to dialog. +SUBST_STAGE.paths= pre-configure +SUBST_FILES.paths= texconfig-dialog +SUBST_SED.paths= -e 's,@DIALOG_PREFIX@,${DIALOG_PREFIX},g' + +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \ + mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} + +TEX_TEXMF_DIRS+= ${PKG_SYSCONFDIR} +TEX_TEXMF_DIRS+= ${PREFIX}/share/texmf + +.include "../../print/kpathsea/buildlink3.mk" +.include "../../print/kpathsea/texmf.mk" + +post-install: +.for f in fmtutil.cnf updmap.cfg + ${INSTALL_DATA} ${FILESDIR}/${f} \ + ${DESTDIR}${PREFIX}/share/texmf/web2c +.endfor + +.include "../../mk/bsd.pkg.mk" diff --git a/print/texlive-tetex/PLIST b/print/texlive-tetex/PLIST new file mode 100644 index 00000000000..8b10ee0af5d --- /dev/null +++ b/print/texlive-tetex/PLIST @@ -0,0 +1,89 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $ +bin/allcm +bin/allec +bin/allneeded +bin/dvi2fax +bin/dvired +bin/fmtutil +bin/fmtutil-sys +bin/fontinst +bin/kpsepath +bin/kpsetool +bin/kpsewhere +bin/kpsexpand +bin/mktexfmt +bin/ps2frag +bin/ps4pdf +bin/pslatex +bin/rubibtex +bin/rumakeindex +bin/texconfig +bin/texconfig-dialog +bin/texconfig-sys +bin/texhash +bin/texlinks +bin/updmap +bin/updmap-sys +man/man1/allcm.1 +man/man1/allec.1 +man/man1/allneeded.1 +man/man1/ctxtools.1 +man/man1/dvi2fax.1 +man/man1/dvired.1 +man/man1/e2pall.1 +man/man1/epstopdf.1 +man/man1/fmtutil-sys.1 +man/man1/fmtutil.1 +man/man1/fontinst.1 +man/man1/kpsepath.1 +man/man1/kpsetool.1 +man/man1/kpsewhere.1 +man/man1/kpsexpand.1 +man/man1/makempy.1 +man/man1/mkjobtexmf.1 +man/man1/mkocp.1 +man/man1/mkofm.1 +man/man1/mktexfmt.1 +man/man1/mptopdf.1 +man/man1/ofm2opl.1 +man/man1/opl2ofm.1 +man/man1/otp2ocp.1 +man/man1/outocp.1 +man/man1/ovf2ovp.1 +man/man1/ovp2ovf.1 +man/man1/pdftools.1 +man/man1/ps2frag.1 +man/man1/pslatex.1 +man/man1/pstopdf.1 +man/man1/rubibtex.1 +man/man1/rumakeindex.1 +man/man1/texconfig-sys.1 +man/man1/texconfig.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/texmfstart.1 +man/man1/textools.1 +man/man1/texutil.1 +man/man1/thumbpdf.1 +man/man1/ttf2afm.1 +man/man1/updmap-sys.1 +man/man1/updmap.1 +man/man5/fmtutil.cnf.5 +man/man5/updmap.cfg.5 +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/fmtutil.cnf +share/texmf/web2c/updmap.cfg +@dirrm share/texmf/texconfig/x +@dirrm share/texmf/texconfig/v +@dirrm share/texmf/texconfig/g +@dirrm share/texmf/texconfig diff --git a/print/texlive-tetex/distinfo b/print/texlive-tetex/distinfo new file mode 100644 index 00000000000..3f1e20535b5 --- /dev/null +++ b/print/texlive-tetex/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $ + +SHA1 (texlive-20080816-source.tar.lzma) = 730986c628bd658b5062face9e400f61203d6b8d +RMD160 (texlive-20080816-source.tar.lzma) = 629784b111c0d4bc9fac9f9131f63203d6e1dd38 +Size (texlive-20080816-source.tar.lzma) = 23175835 bytes +SHA1 (patch-aa) = 1149fc9a373825f52194f6c815ff24f412e84db5 +SHA1 (patch-ab) = c73c30b82530c57c0f832e2ddcf32697e2e50d04 diff --git a/print/texlive-tetex/files/fmtutil.cnf b/print/texlive-tetex/files/fmtutil.cnf new file mode 100644 index 00000000000..63c3c1b43b2 --- /dev/null +++ b/print/texlive-tetex/files/fmtutil.cnf @@ -0,0 +1,24 @@ +# The format of the table is: +# +# format engine pattern-file arguments +# +# The last "argument" must be the name of the file on which to run +# the ini-engine (such as initex). If the ini-engine is e-TeX, and the +# e-TeX extensions should be enabled, the filename must be prefixed with +# a * character. +# +# fmtutil always passes the -ini option to the engine. +# If no pattern-file is desired, use -. +# Either spaces or tabs can be used as separators. +# +# Other notes: +# 1) tex and amstex just load hyphen.tex. No customization. +# You can have your own customized (via babel's hyphen.cfg) +# formats on top of plain by using "bplain.tex" instead of +# plain.tex (see e.g. bplain.ini file for bplain format). +# +# 2) etex-based formats load language.def, not language.dat. +# +# 3) The symbolic link to the right engines (e.g. bplain -> tex) +# is generated by the "texlinks" script. +# diff --git a/print/texlive-tetex/files/format-deinstall.tmpl b/print/texlive-tetex/files/format-deinstall.tmpl new file mode 100644 index 00000000000..628ed55cef6 --- /dev/null +++ b/print/texlive-tetex/files/format-deinstall.tmpl @@ -0,0 +1,41 @@ +# $NetBSD: format-deinstall.tmpl,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $ +# +# Delete format files. +# + +FMTUTIL_CNF=${PKG_SYSCONFBASE}/texmf/web2c/fmtutil.cnf + +case ${STAGE} in +DEINSTALL) + format_names="@FORMAT_NAMES@" + for f in $format_names ; do + @CAT@ @PREFIX@/share/texmf/fmtutil/format.$f.cnf | + @GREP@ "^[^#]" | + while read format engine junk; do + ${GREP} -v "^${format}[[:space:]][[:space:]]*${engine}[[:space:]]" ${FMTUTIL_CNF} > \ + ${FMTUTIL_CNF}.tmp && + ${MV} ${FMTUTIL_CNF}.tmp ${FMTUTIL_CNF} + case "$engine" in + mpost) + fmtfile="$format.mem" + texengine=metapost + ;; + mf*) + fmtfile="$format.base" + texengine=metafont + ;; + *) + fmtfile="$format.fmt" + texengine=$engine + ;; + esac + @RM@ -f @VARBASE@/lib/texmf/web2c/$texengine/$fmtfile + @RM@ -f @VARBASE@/lib/texmf/web2c/$texengine/$format.log + done + done + @FIND@ -d @VARBASE@/lib/texmf -type d -empty -exec @RMDIR@ {} \; + @MKTEXLSR@ @VARBASE@/lib/texmf + ;; +*) + ;; +esac diff --git a/print/texlive-tetex/files/format-install.tmpl b/print/texlive-tetex/files/format-install.tmpl new file mode 100644 index 00000000000..7ab9a67db1f --- /dev/null +++ b/print/texlive-tetex/files/format-install.tmpl @@ -0,0 +1,23 @@ +# $NetBSD: format-install.tmpl,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $ +# +# Create format files. +# + +FMTUTIL_CNF=${PKG_SYSCONFBASE}/texmf/web2c/fmtutil.cnf + +case ${STAGE} in +POST-INSTALL) + format_names="@FORMAT_NAMES@" + for f in $format_names ; do + ${GREP} -v "^#" @PREFIX@/share/texmf/fmtutil/format.$f.cnf | + ${GREP} "...." >> ${FMTUTIL_CNF} + @CAT@ @PREFIX@/share/texmf/fmtutil/format.$f.cnf | + @GREP@ "^[^#]" | + while read format engine junk; do + @FMTUTIL_SYS@ --byfmt $format + done + done + ;; +*) + ;; +esac diff --git a/print/texlive-tetex/files/map-deinstall.tmpl b/print/texlive-tetex/files/map-deinstall.tmpl new file mode 100644 index 00000000000..2edc166b6d1 --- /dev/null +++ b/print/texlive-tetex/files/map-deinstall.tmpl @@ -0,0 +1,26 @@ +# $NetBSD: map-deinstall.tmpl,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $ +# +# Disable font maps and remove entries from updmap.cfg. +# + +UPDMAP_CFG=${PKG_SYSCONFBASE}/texmf/web2c/updmap.cfg + +case ${STAGE} in +DEINSTALL) + map_files="@MAP_FILES@" + for map in $map_files ; do + ${GREP} -v "^Map ${map}" ${UPDMAP_CFG} > \ + ${UPDMAP_CFG}.tmp && + ${MV} ${UPDMAP_CFG}.tmp ${UPDMAP_CFG} + done + mixedmap_files="@MIXEDMAP_FILES@" + for map in $mixedmap_files ; do + ${GREP} -v "^MixedMap ${map}" ${UPDMAP_CFG} > \ + ${UPDMAP_CFG}.tmp && + ${MV} ${UPDMAP_CFG}.tmp ${UPDMAP_CFG} + done + @UPDMAP_SYS@ + ;; +*) + ;; +esac diff --git a/print/texlive-tetex/files/map-install.tmpl b/print/texlive-tetex/files/map-install.tmpl new file mode 100644 index 00000000000..6dee4ae75c5 --- /dev/null +++ b/print/texlive-tetex/files/map-install.tmpl @@ -0,0 +1,22 @@ +# $NetBSD: map-install.tmpl,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $ +# +# Enable font maps. +# + +UPDMAP_CFG=${PKG_SYSCONFBASE}/texmf/web2c/updmap.cfg + +case ${STAGE} in +POST-INSTALL) + map_files="@MAP_FILES@" + for map in $map_files ; do + echo "Map ${map}" >> ${UPDMAP_CFG} + done + mixedmap_files="@MIXEDMAP_FILES@" + for map in $mixedmap_files ; do + echo "MixedMap ${map}" >> ${UPDMAP_CFG} + done + @UPDMAP_SYS@ + ;; +*) + ;; +esac diff --git a/print/texlive-tetex/files/updmap.cfg b/print/texlive-tetex/files/updmap.cfg new file mode 100644 index 00000000000..f17a2d566df --- /dev/null +++ b/print/texlive-tetex/files/updmap.cfg @@ -0,0 +1,89 @@ +# $Id: updmap.cfg,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $ +# +# The full updmap.cfg is generated by concatenating updmap-hdr.cfg with +# all the Map and MixedMap lines from an installation, possibly +# appending a local configuration file. +# +# To make local customizations to the map files, please use the +# following method: +# +# call +# updmap-sys --enable Map=foo.map +# for each map file. (Or MixedMap instead of Map, if your font has +# both Metafont and outline definitions.) See the updmap --help +# documentation. + + +################################################################ +# OPTIONS +################################################################ + +# +# dvipsPreferOutline +# +# Should dvips (by default) prefer bitmap fonts or outline fonts +# if both are available? Independent of this setting, outlines +# can be forced by putting "p psfonts_t1.map" into a config file +# that dvips reads. Bitmaps (for the fonts in question) can +# be forced by putting "p psfonts_pk.map" into a config file. +# We provide such config files which can be enabled via +# dvips -Poutline ... resp. dvips -Ppk ... +# +# Valid settings for dvipsPreferOutline are true / false: +dvipsPreferOutline true + +# +# LW35 +# +# Which fonts for the "Basic 35 Laserwriter Fonts" do you want to use and +# how are the filenames chosen? Valid settings: +# URW: URW fonts with "vendor" filenames (e.g. n019064l.pfb) +# URWkb: URW fonts with "berry" filenames (e.g. uhvbo8ac.pfb) +# ADOBE: Adobe fonts with "vendor" filenames (e.g. hvnbo___.pfb) +# ADOBEkb: Adobe fonts with "berry" filenames (e.g. phvbo8an.pfb) +LW35 URWkb + +# +# dvipsDownloadBase35 +# +# Should dvips (by default) download the standard 35 LaserWriter fonts +# with the document (then set dvipsDownloadBase35 true) or should these +# fonts be used from the ps interpreter / printer? +# Whatever the default is, the user can override it by specifying +# dvips -Pdownload35 ... resp. dvips -Pbuiltin35 ... to either download +# the LW35 fonts resp. use the built-in fonts. +# +# Valid settings are true / false: +dvipsDownloadBase35 false + +# +# pdftexDownloadBase14 +# +# Should pdftex download the base 14 pdf fonts? Since some configurations +# (ps / pdf tools / printers) use bad default fonts, it is safer to download +# the fonts. The pdf files will get bigger, though. +# Valid settings are true (download the fonts) or false (don't download +# the fonts). Adobe recommends embedding all fonts. +pdftexDownloadBase14 true + +# +# dvipdfmDownloadBase14 +# +# Should dvipdfm download the base 14 pdf fonts? Since some configurations +# (ps / pdf tools / printers) use bad default fonts, it is safer to download +# the fonts. The pdf files will get bigger, though. +# Valid settings are true (download the fonts) or false (don't download +# the fonts). +dvipdfmDownloadBase14 true + +################################################################ +# Map files. +################################################################ +# +# There are two possible entries: Map and MixedMap. Both have one additional +# argument: the filename of the map file. MixedMap ("mixed" means that +# the font is available as bitmap and as outline) lines will not be used +# in the default map of dvips if dvipsPreferOutline is false. Inactive +# Map files should be marked by "#! " (without the quotes), not just #. +# + diff --git a/print/texlive-tetex/format.mk b/print/texlive-tetex/format.mk new file mode 100644 index 00000000000..a4965686280 --- /dev/null +++ b/print/texlive-tetex/format.mk @@ -0,0 +1,23 @@ +# $NetBSD: format.mk,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $ +# +# This Makefile fragment is intended to be included by packages that +# install TeX format files. It creates format files at +# (de)installation time. +# +# The following variable can be defined: +# +# TEX_FORMAT_NAMES - A list of format names. +# + +.if !defined(TEX_FORMAT_MK) +TEX_FORMAT_MK= # defined + +DEPENDS+= texlive-tetex>=2008:../../print/texlive-tetex + +EVAL_PREFIX+= TETEX_PREFIX=texlive-tetex +FILES_SUBST+= FMTUTIL_SYS=${TETEX_PREFIX:Q}/bin/fmtutil-sys +FILES_SUBST+= FORMAT_NAMES=${TEX_FORMAT_NAMES:Q} +INSTALL_TEMPLATES+= ../../print/texlive-tetex/files/format-install.tmpl +DEINSTALL_TEMPLATES+= ../../print/texlive-tetex/files/format-deinstall.tmpl + +.endif # TEX_FORMAT_MK diff --git a/print/texlive-tetex/map.mk b/print/texlive-tetex/map.mk new file mode 100644 index 00000000000..ebc1d8fffe4 --- /dev/null +++ b/print/texlive-tetex/map.mk @@ -0,0 +1,26 @@ +# $NetBSD: map.mk,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $ +# +# This Makefile fragment is intended to be included by packages that +# install font maps for TeX. It updates font map entries in updmap.cfg +# at (de)installation time. +# +# The following variables can be defined: +# +# TEX_MAP_FILES - A list of map files. +# +# TEX_MIXEDMAP_FILES - A list of mixed map files. +# + +.if !defined(TEX_MAP_MK) +TEX_MAP_MK= # defined + +DEPENDS+= texlive-tetex>=2008:../../print/texlive-tetex + +EVAL_PREFIX+= TETEX_PREFIX=texlive-tetex +FILES_SUBST+= UPDMAP_SYS=${TETEX_PREFIX:Q}/bin/updmap-sys +FILES_SUBST+= MAP_FILES=${TEX_MAP_FILES:Q} +FILES_SUBST+= MIXEDMAP_FILES=${TEX_MIXEDMAP_FILES:Q} +INSTALL_TEMPLATES+= ../../print/texlive-tetex/files/map-install.tmpl +DEINSTALL_TEMPLATES+= ../../print/texlive-tetex/files/map-deinstall.tmpl + +.endif # TEX_MAP_MK diff --git a/print/texlive-tetex/patches/patch-aa b/print/texlive-tetex/patches/patch-aa new file mode 100644 index 00000000000..e06813db81f --- /dev/null +++ b/print/texlive-tetex/patches/patch-aa @@ -0,0 +1,44 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $ + +--- Makefile.in.orig 2008-07-05 09:43:44.000000000 -0700 ++++ Makefile.in +@@ -34,7 +34,7 @@ install: install-data install-exec + + # Auxiliary files. + install-data:: +- $(SHELL) $(top_srcdir)/../mkinstalldirs $(man1dir) $(man5dir) $(texpooldir) $(texmf)/doc/tetex ++ $(SHELL) $(top_srcdir)/../mkinstalldirs $(man1dir) $(man5dir) $(texpooldir) + for p in $(manpgs); do \ + $(INSTALL_DATA) $(srcdir)/$$p.man $(man1dir)/$$p.$(manext); \ + done +@@ -53,22 +53,12 @@ install-data:: + updmap-sys.$(manext) mktexfmt.$(manext) fmtutil-sys.$(manext) + ln -s allcm.$(manext) $(man1dir)/allec.$(manext) + ln -s mktexlsr.$(manext) $(man1dir)/texhash.$(manext) +- ln -s omega.$(manext) $(man1dir)/lambda.$(manext) +- ln -s pdftex.$(manext) $(man1dir)/pdflatex.$(manext) + ln -s kpsetool.$(manext) $(man1dir)/kpsepath.$(manext) + ln -s kpsetool.$(manext) $(man1dir)/kpsexpand.$(manext) +- ln -s mf.$(manext) $(man1dir)/mf-nowin.$(manext) +- ln -s cweb.$(manext) $(man1dir)/ctangle.$(manext) +- ln -s cweb.$(manext) $(man1dir)/cweave.$(manext) +- ln -s dvicopy.$(manext) $(man1dir)/odvicopy.$(manext) +- ln -s dvitype.$(manext) $(man1dir)/odvitype.$(manext) + ln -s texconfig.$(manext) $(man1dir)/texconfig-sys.$(manext) + ln -s updmap.$(manext) $(man1dir)/updmap-sys.$(manext) + ln -s fmtutil.$(manext) $(man1dir)/mktexfmt.$(manext) + ln -s fmtutil.$(manext) $(man1dir)/fmtutil-sys.$(manext) +- for p in TETEXDOC.pdf TETEXDOC.ps TETEXDOC.dvi teTeX-FAQ; do \ +- $(INSTALL_DATA) $(srcdir)/doc/$$p $(texmf)/doc/tetex; \ +- done + $(SHELL) $(top_srcdir)/../mkinstalldirs $(texmf)/texconfig $(texmf)/texconfig/g $(texmf)/texconfig/v $(texmf)/texconfig/x + $(INSTALL_DATA) $(srcdir)/texmf/texconfig/g/generic $(texmf)/texconfig/g + $(INSTALL_DATA) $(srcdir)/texmf/texconfig/v/vt100 $(texmf)/texconfig/v +@@ -77,7 +67,6 @@ install-data:: + $(INSTALL_DATA) $(srcdir)/texmf/texconfig/generic $(texmf)/texconfig + $(INSTALL_SCRIPT) $(srcdir)/tcfmgr $(texmf)/texconfig/tcfmgr + $(INSTALL_DATA) $(srcdir)/tcfmgr.map $(texmf)/texconfig/tcfmgr.map +- $(INSTALL_DATA) $(srcdir)/fmtutil.cnf $(texmf)/web2c/fmtutil.cnf + + install-exec: + -$(SHELL) $(srcdir)/../mkinstalldirs $(scriptdir) diff --git a/print/texlive-tetex/patches/patch-ab b/print/texlive-tetex/patches/patch-ab new file mode 100644 index 00000000000..0a012281c05 --- /dev/null +++ b/print/texlive-tetex/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $ + +--- texconfig-dialog.orig 2007-07-16 10:08:10.000000000 -0700 ++++ texconfig-dialog +@@ -83,14 +83,7 @@ logexec() + runDialog() + { + termCtl clear +- if test -n "$DIALOG_PROG"; then +- $DIALOG_PROG --title "TeX setup utility" ${1+"$@"} +- runDialogRc=$? +- else +- TERM=$DIALOG_TERM TERMINFO=$DIALOG_TERMINFO \ +- tcdialog --title "TeX setup utility" ${1+"$@"} +- runDialogRc=$? +- fi ++ @DIALOG_PREFIX@/bin/dialog --title "TeX setup utility" ${1+"$@"} + termCtl clear + (exit $runDialogRc) + return $runDialogRc |