aboutsummaryrefslogtreecommitdiff
path: root/chinese/moefonts-cid/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/moefonts-cid/pkg-install')
-rw-r--r--chinese/moefonts-cid/pkg-install15
1 files changed, 15 insertions, 0 deletions
diff --git a/chinese/moefonts-cid/pkg-install b/chinese/moefonts-cid/pkg-install
new file mode 100644
index 000000000000..117b7118e9dd
--- /dev/null
+++ b/chinese/moefonts-cid/pkg-install
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+GSVER=6.01
+GSDIR=${PKG_PREFIX}/share/ghostscript
+FONTMAP=${GSDIR}/${GSVER}/lib/Fontmap.GS
+
+# Run just once.
+if [ "x$2" != "xPOST-INSTALL" ]; then
+ exit 0
+fi
+
+echo "/MOEKai-Regular-ETen-B5-H (MOEKai-Regular-ETen-B5-H.gsf) ;" >> ${FONTMAP}
+echo "/MOEKai-Regular-ETen-B5-V (MOEKai-Regular-ETen-B5-V.gsf) ;" >> ${FONTMAP}
+echo "/MOESung-Regular-ETen-B5-H (MOESung-Regular-ETen-B5-H.gsf) ;" >> ${FONTMAP}
+echo "/MOESung-Regular-ETen-B5-V (MOESung-Regular-ETen-B5-V.gsf) ;" >> ${FONTMAP}