mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
ead1524ebb
1. Change freetype-1.2 to freetype-1.3 in post-install, so it can find freetype sources to build ttf2pk & ttf2tfm. 2. It no longer uses moettf, but Arphic ttf instead, which has no character loss and IMHO much more beautiful. :) 3. Generates GB tfms from Arphic fonts. 4. Update maintainer's address. PR: 16042 Submitted by: maintainer
20 lines
719 B
Bash
20 lines
719 B
Bash
#!/bin/sh
|
|
PATH=/bin:/usr/bin; export PATH
|
|
|
|
# Check if teTeX is installed.
|
|
if [ ! -f ${PREFIX}/share/texmf/doc/tetex/README ]; then
|
|
echo "-----------------------------------------"
|
|
echo "teTeX is not installed!"
|
|
echo "It's recommended to use CJK upon teTeX!"
|
|
echo "-----------------------------------------"
|
|
exit 1
|
|
# Juse grep for 1.0 is not a preferred method, but it seems there is no
|
|
# other way solving this.
|
|
elif [ -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 it to function properly."
|
|
echo "-------------------------------------------"
|
|
exit 1
|
|
fi
|