2012-10-14 20:12:37 +02:00
|
|
|
# $NetBSD: format-install.tmpl,v 1.5 2012/10/14 18:12:37 minskim Exp $
|
2009-01-26 22:04:33 +01:00
|
|
|
#
|
|
|
|
# Create format files.
|
|
|
|
#
|
|
|
|
|
|
|
|
FMTUTIL_CNF=${PKG_SYSCONFBASE}/texmf/web2c/fmtutil.cnf
|
|
|
|
|
|
|
|
case ${STAGE} in
|
|
|
|
POST-INSTALL)
|
2010-01-29 02:58:13 +01:00
|
|
|
formats=@FORMATS@
|
|
|
|
if [ "$formats" != "" ]; then
|
2010-01-29 20:59:47 +01:00
|
|
|
@PRINTF@ "$formats" >> ${FMTUTIL_CNF}
|
|
|
|
@PRINTF@ "$formats" |
|
2010-01-29 02:58:13 +01:00
|
|
|
while read format engine junk; do
|
|
|
|
@FMTUTIL_SYS@ --byfmt $format
|
|
|
|
done
|
|
|
|
fi
|
2010-01-29 05:12:41 +01:00
|
|
|
@MKTEXLSR@ @VARBASE@/lib/texmf
|
2009-01-26 22:04:33 +01:00
|
|
|
;;
|
|
|
|
*)
|
|
|
|
;;
|
|
|
|
esac
|