#!/bin/sh
# $FreeBSD: ports/chinese/moefonts-cid/files/pkg-install.in,v 1.2 2009/04/02 21:43:40 hrs Exp $

GSVER=`gs --version`
GSDIR=/usr/local/share/ghostscript
FONTMAP=${GSDIR}/${GSVER}/Resource/Init/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}
