summaryrefslogtreecommitdiff
path: root/print/latex-cjk/scripts/pre-build
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>1999-09-10 10:10:34 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>1999-09-10 10:10:34 +0000
commit25deade77401b651b19eb6e03d8761b1bbf2c328 (patch)
treeb931eaf455dc3298cf6f0669fbb331fa74de63a3 /print/latex-cjk/scripts/pre-build
parentDid I say USE_X11? Bah! I meant USE_XLIB of course! (diff)
Update to CJK v4.3.0.
Submitted by:maintainer.
Notes
Notes: svn path=/head/; revision=21558
Diffstat (limited to '')
-rw-r--r--print/latex-cjk/scripts/pre-build19
1 files changed, 7 insertions, 12 deletions
diff --git a/print/latex-cjk/scripts/pre-build b/print/latex-cjk/scripts/pre-build
index 583b5244c826..65fe313c8035 100644
--- a/print/latex-cjk/scripts/pre-build
+++ b/print/latex-cjk/scripts/pre-build
@@ -1,20 +1,15 @@
#!/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 "---------------------------------------------------------"
-
+PATH=/bin:/usr/bin; export PATH
#
# 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`" ]
+if [ -z "`head -1 ${PREFIX}/share/texmf/doc/tetex/README |grep 1\.0`" ]
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
+ echo "-------------------------------------------"
+ echo " You do not have teTeX-1.0 installed!"
+ echo " CJK 4.3.0 needs that to function properly."
+ echo "-------------------------------------------"
+ exit 1
fi