ec25211c92
This patch allows the admin of the machine to choose either print/ghostscript-gnu or print/ghostscript-afp1 PR: ports/54921 Submitted by: Jens Rehsack <rehsack@liwing.de>
15 lines
500 B
Bash
15 lines
500 B
Bash
#!/bin/sh
|
|
|
|
GSVER=`gs --version`
|
|
GSDIR=${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}
|