1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/chinese/CJK/scripts/pre-build
Foxfair Hu 25deade774 Update to CJK v4.3.0.
Submitted by:maintainer.
1999-09-10 10:10:34 +00:00

16 lines
490 B
Bash

#!/bin/sh
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 "`head -1 ${PREFIX}/share/texmf/doc/tetex/README |grep 1\.0`" ]
then
echo "-------------------------------------------"
echo " You do not have teTeX-1.0 installed!"
echo " CJK 4.3.0 needs that to function properly."
echo "-------------------------------------------"
exit 1
fi