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

21 lines
705 B
Plaintext
Raw Normal View History

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