summaryrefslogtreecommitdiffstats
path: root/chinese/CJK/scripts
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-10-04 14:54:30 +0000
committerkevlo <kevlo@FreeBSD.org>2000-10-04 14:54:30 +0000
commitdeabfe83e181a75b34e54703dd5621648dd4a386 (patch)
tree1b0ecada9e4b86d8de930dd5cb1bc3f97bf1ff9e /chinese/CJK/scripts
parent4bc2d6e2ffb068dabd0e8a66cbae91c9fe3353e5 (diff)
downloadFreeBSD-ports-deabfe83e181a75b34e54703dd5621648dd4a386.zip
FreeBSD-ports-deabfe83e181a75b34e54703dd5621648dd4a386.tar.gz
Update to the lastest version.
PR: 21733 Submitted by: MAINTAINER
Diffstat (limited to 'chinese/CJK/scripts')
-rw-r--r--chinese/CJK/scripts/post-install11
-rw-r--r--chinese/CJK/scripts/pre-build2
2 files changed, 3 insertions, 10 deletions
diff --git a/chinese/CJK/scripts/post-install b/chinese/CJK/scripts/post-install
index d7fffa4..e76ee24 100644
--- a/chinese/CJK/scripts/post-install
+++ b/chinese/CJK/scripts/post-install
@@ -13,19 +13,12 @@ fi
# Install ttf2pk binary in ${PORTSDIR}/print/freetype, data in ${TEXMF}/ttf2pk,
# and link ${TEXMF}/ttf2tfm to ${TEXMF}/ttf2pk.
-(cd ${PORTSDIR}/print/freetype/work/freetype-1.3/contrib/ttf2pk;
+(cd ${PORTSDIR}/print/freetype/work/freetype-1.3.1/contrib/ttf2pk;
./configure --prefix=${PREFIX} --with-kpathsea-dir=${PREFIX};
make depend all install;
rm -fr ${TEXMFMAIN}/ttf2pk ${TEXMFMAIN}/ttf2tfm;
cp -R data ${TEXMFMAIN}/ttf2pk;
- cd ${TEXMFMAIN}; ln -s ttf2pk ttf2tfm; )
-
-# Install Arphic TTF fonts
-mkdir -p ${TEXMFMAIN}/fonts/truetype/arphic
-ln -s ${X11BASE}/lib/X11/fonts/TrueType/bkai00mp.ttf ${TEXMFMAIN}/fonts/truetype/arphic/arb5_kai.ttf
-ln -s ${X11BASE}/lib/X11/fonts/TrueType/bsmi00lp.ttf ${TEXMFMAIN}/fonts/truetype/arphic/arb5_sung.ttf
-ln -s ${X11BASE}/lib/X11/fonts/TrueType/gbsn00lp.ttf ${TEXMFMAIN}/fonts/truetype/arphic/argb_sung.ttf
-ln -s ${X11BASE}/lib/X11/fonts/TrueType/gkai00mp.ttf ${TEXMFMAIN}/fonts/truetype/arphic/argb_kai.ttf
+ cd ${TEXMFMAIN}; )
# fontname/special.map: add arb5kai/arb5sung/argbkai/argbsung entries.
if [ -n "`grep arb5kai ${TEXMFMAIN}/fontname/special.map`" ]
diff --git a/chinese/CJK/scripts/pre-build b/chinese/CJK/scripts/pre-build
index 332e03c..32b8c292 100644
--- a/chinese/CJK/scripts/pre-build
+++ b/chinese/CJK/scripts/pre-build
@@ -9,7 +9,7 @@ if [ ! -f ${PREFIX}/share/texmf/doc/tetex/README ]; then
echo "-----------------------------------------"
exit 1
# Juse grep for 1.0 is not a preferred method, but it seems there is no
-# other way solving this.
+# 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!"
OpenPOWER on IntegriCloud