blob: 371df35fccbc7b2ead7c9388e186ab2cce8c34eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: format-install.tmpl,v 1.3 2010/01/29 04:12:41 minskim Exp $
#
# Create format files.
#
FMTUTIL_CNF=${PKG_SYSCONFBASE}/texmf/web2c/fmtutil.cnf
case ${STAGE} in
POST-INSTALL)
formats=@FORMATS@
if [ "$formats" != "" ]; then
${ECHO} $formats >> ${FMTUTIL_CNF}
${ECHO} $formats |
while read format engine junk; do
@FMTUTIL_SYS@ --byfmt $format
done
fi
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
@MKTEXLSR@ @VARBASE@/lib/texmf
;;
*)
;;
esac
|