mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
b7321842b3
Submitted by: bento
15 lines
272 B
Bash
15 lines
272 B
Bash
#!/bin/sh
|
|
|
|
GSVER=6.50
|
|
GSDIR=${PKG_PREFIX}/share/ghostscript
|
|
FONTMAP=${GSDIR}/${GSVER}/lib/Fontmap.GS
|
|
FONTMAPTMP=${FONTMAP}.tmp
|
|
|
|
# Run just once.
|
|
if [ "x$2" != "xDEINSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
sed -e "/^\/MOE.*/d" ${FONTMAP} > ${FONTMAPTMP}
|
|
mv -f ${FONTMAPTMP} ${FONTMAP}
|