summaryrefslogtreecommitdiff
path: root/chinese/CJK/scripts/post-install
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1998-10-08 15:37:34 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1998-10-08 15:37:34 +0000
commit489f82430e1622ef117411d1d1e931180ac33981 (patch)
tree8ad7285929b28f591a39421616da142414ae1250 /chinese/CJK/scripts/post-install
parentPort for Linux shared library implementing the Glide API to 3dfx cards. (diff)
Chinese/Japanese/Korean support to LaTeX2e/teTeX
PR: ports/6954 Submitted by: J.T. Jang <keith@email.gcn.net.tw>
Notes
Notes: svn path=/head/; revision=13744
Diffstat (limited to '')
-rw-r--r--chinese/CJK/scripts/post-install21
1 files changed, 21 insertions, 0 deletions
diff --git a/chinese/CJK/scripts/post-install b/chinese/CJK/scripts/post-install
new file mode 100644
index 000000000000..bbd2fc7fa498
--- /dev/null
+++ b/chinese/CJK/scripts/post-install
@@ -0,0 +1,21 @@
+#!/bin/sh
+PATH=/bin:/usr/bin
+
+TeX_FONT_PATH=${PREFIX}/share/texmf/fonts
+export TeX_FONT_PATH
+
+#
+# Creating Chinese TTF & HBF font directories
+#
+if [ ! -d ${TeX_FONT_PATH}/truetype/chinese ];
+then mkdir -p ${TeX_FONT_PATH}/truetype/chinese; fi
+if [ ! -d ${TeX_FONT_PATH}/hbf/chinese ];
+then mkdir -p ${TeX_FONT_PATH}/hbf/chinese; fi
+
+#
+# Install ntu_kai.ttf if USE_NTUTTF is defined.
+#
+if [ ${USE_NTUTTF} ]
+then
+ install -o root -g wheel -m 644 ${WRKDIR}/ntu_kai.ttf ${TeX_FONT_PATH}/truetype/chinese
+fi