aboutsummaryrefslogtreecommitdiff
path: root/print/latex-cjk/scripts/pre-build
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-03-08 22:03:33 +0000
committerSteve Price <steve@FreeBSD.org>1999-03-08 22:03:33 +0000
commit7a740060d6dd907aa93499c81c762c80698df5b0 (patch)
treee84bef73b5bab75a413ef6069359173f0dec22bb /print/latex-cjk/scripts/pre-build
parentf1d59f5f0685c2e8b55a31b543881cf4ce49a654 (diff)
Notes
Diffstat (limited to 'print/latex-cjk/scripts/pre-build')
-rw-r--r--print/latex-cjk/scripts/pre-build20
1 files changed, 20 insertions, 0 deletions
diff --git a/print/latex-cjk/scripts/pre-build b/print/latex-cjk/scripts/pre-build
new file mode 100644
index 000000000000..583b5244c826
--- /dev/null
+++ b/print/latex-cjk/scripts/pre-build
@@ -0,0 +1,20 @@
+#!/bin/sh
+echo "---------------------------------------------------------"
+echo "Define NOTTF if you do not want to install BIG5 MOE TTF,"
+echo "and NOCHMOD to disable chmod 1777 pk/tfm fonts directory."
+echo "---------------------------------------------------------"
+
+#
+# Check to see if we have teTeX-0.9 installed, just grep ttf2pk
+# in mktexpk. Not a preferred method, but it seems there is no
+# other way solving this.
+#
+if [ -z "`grep ttf2pk ${PREFIX}/bin/mktexpk`" ]
+then
+ echo "------------------------------------"
+ echo "You do not have teTeX-0.9 installed!"
+ echo "CJK needs that to function correctly."
+ echo "Press Ctrl-C to exit."
+ echo "------------------------------------"
+ read key
+fi