summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2013-08-07 00:51:43 +0000
committerminskim <minskim@pkgsrc.org>2013-08-07 00:51:43 +0000
commitdedc799c59bba340ca2d5fa197800bc742b7e249 (patch)
tree63da1e668ba7c2867aaaa63daf788b212f6c269e /print
parent5316e41f8539e420f6f6597d10412a9a79597bec (diff)
downloadpkgsrc-dedc799c59bba340ca2d5fa197800bc742b7e249.tar.gz
print/texlive-tetex-format.mk is no longer used.
Diffstat (limited to 'print')
-rw-r--r--print/texlive-tetex/files/format-deinstall.tmpl40
-rw-r--r--print/texlive-tetex/files/format-install.tmpl22
-rw-r--r--print/texlive-tetex/format.mk24
3 files changed, 0 insertions, 86 deletions
diff --git a/print/texlive-tetex/files/format-deinstall.tmpl b/print/texlive-tetex/files/format-deinstall.tmpl
deleted file mode 100644
index 2223022d653..00000000000
--- a/print/texlive-tetex/files/format-deinstall.tmpl
+++ /dev/null
@@ -1,40 +0,0 @@
-# $NetBSD: format-deinstall.tmpl,v 1.8 2012/10/14 18:12:37 minskim Exp $
-#
-# Delete format files.
-#
-
-FMTUTIL_CNF=${PKG_SYSCONFBASE}/texmf/web2c/fmtutil.cnf
-
-case ${STAGE} in
-DEINSTALL)
- formats=@FORMATS@
- if [ "$formats" != "" ]; then
- @PRINTF@ "$formats" |
- 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
- fi
- @FIND@ @VARBASE@/lib/texmf -depth -type d -exec @RMDIR@ {} \; 2>/dev/null
- @MKTEXLSR@ @VARBASE@/lib/texmf
- ;;
-*)
- ;;
-esac
diff --git a/print/texlive-tetex/files/format-install.tmpl b/print/texlive-tetex/files/format-install.tmpl
deleted file mode 100644
index 6fe8615f9a9..00000000000
--- a/print/texlive-tetex/files/format-install.tmpl
+++ /dev/null
@@ -1,22 +0,0 @@
-# $NetBSD: format-install.tmpl,v 1.5 2012/10/14 18:12:37 minskim Exp $
-#
-# Create format files.
-#
-
-FMTUTIL_CNF=${PKG_SYSCONFBASE}/texmf/web2c/fmtutil.cnf
-
-case ${STAGE} in
-POST-INSTALL)
- formats=@FORMATS@
- if [ "$formats" != "" ]; then
- @PRINTF@ "$formats" >> ${FMTUTIL_CNF}
- @PRINTF@ "$formats" |
- while read format engine junk; do
- @FMTUTIL_SYS@ --byfmt $format
- done
- fi
- @MKTEXLSR@ @VARBASE@/lib/texmf
- ;;
-*)
- ;;
-esac
diff --git a/print/texlive-tetex/format.mk b/print/texlive-tetex/format.mk
deleted file mode 100644
index a50f39cb537..00000000000
--- a/print/texlive-tetex/format.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: format.mk,v 1.6 2012/10/14 18:12:37 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_FORMATS - A list of parameters to build formats
-#
-
-.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+= FORMATS=${TEX_FORMATS:Q}
-FILES_SUBST+= PRINTF=${PRINTF:Q}
-INSTALL_TEMPLATES+= ../../print/texlive-tetex/files/format-install.tmpl
-DEINSTALL_TEMPLATES+= ../../print/texlive-tetex/files/format-deinstall.tmpl
-
-.endif # TEX_FORMAT_MK