cac88fdd44
- depend on print/freetype-tools, instead of installing itself - use %%DOCSDIR%% and %%EXAMPLEDIR%% - rename files/patch-texinput::Bg5::c00bsmi.fd to make portlint happy - remove files/UBig5.sfd.diff (included in print/freetype-tools) - fix installation looping problem (ln -s -> ln -fs) Submitter takes maintainership! The crowd goes wild! PR: ports/84415 Submitted by: Rong-En Fan <rafan@infor.org>
19 lines
770 B
Bash
19 lines
770 B
Bash
#!/bin/sh
|
|
PATH=/bin:/usr/bin; export PATH
|
|
|
|
# Check if teTeX is installed.
|
|
if [ ! -f ${LOCALBASE}/share/texmf/doc/tetex/teTeX-FAQ ]; 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 identifying whether teTeX 1.0 or above is installed.
|
|
#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
|