1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/print/latex-cjk/scripts/pre-build

16 lines
490 B
Plaintext
Raw Normal View History

#!/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