freebsd-ports/chinese/moefonts-cid/pkg-install
Jing-Tang Keith Jang 441291a899 Install in Ghostscript 6.50 directory, instead of 6.01.
Submitted by:	kevlo
2001-03-02 05:55:25 +00:00

16 lines
494 B
Bash

#!/bin/sh
GSVER=6.50
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}