summaryrefslogtreecommitdiff
path: root/print/tex-hugelatex/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'print/tex-hugelatex/INSTALL')
-rw-r--r--print/tex-hugelatex/INSTALL29
1 files changed, 29 insertions, 0 deletions
diff --git a/print/tex-hugelatex/INSTALL b/print/tex-hugelatex/INSTALL
new file mode 100644
index 00000000000..186cc7d387e
--- /dev/null
+++ b/print/tex-hugelatex/INSTALL
@@ -0,0 +1,29 @@
+# $NetBSD: INSTALL,v 1.1 2006/10/12 13:38:35 joerg Exp $
+
+case ${STAGE} in
+POST-INSTALL)
+ ${CAT} >> @PKG_TEXMFPREFIX@/web2c/texmf.cnf <<EOF
+%%% BEGIN hugelatex
+% added by hugelatex package
+main_memory.hugelatex = 1100000
+param_size.hugelatex = 1500
+stack_size.hugelatex = 1500
+hash_extra.hugelatex = 15000
+string_vacancies.hugelatex = 45000
+pool_free.hugelatex = 47500
+nest_size.hugelatex = 500
+save_size.hugelatex = 5000
+pool_size.hugelatex = 500000
+max_strings.hugelatex = 55000
+font_mem_size.hugelatex= 400000
+%%% END hugelatex
+EOF
+ cd @PKG_TEXMFPREFIX@/web2c
+ ${MV} latex.fmt latex.fmt.BAK || ${TRUE}
+ ${ECHO} "" | ${PREFIX}/bin/latex -ini -fmt=hugelatex -progname=hugelatex latex.ini || ${TRUE}
+ ${MV} latex.fmt hugelatex.fmt
+ ${MV} latex.log hugelatex.log
+ ${MV} latex.fmt.BAK latex.fmt || ${TRUE}
+ ${RM} -f texsys.aux
+ ;;
+esac