blob: cd07422e18c093d01e9f0e6be5adba06ff3bb809 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $NetBSD: format-install.tmpl,v 1.1 2020/05/10 03:56:44 markd 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
|