openbsd-ports/chinese/arphicttf/pkg/DEINSTALL
kevlo 4356604572 Initial import of arphicttf-2.11.
This is Chinese Big5/GB TrueType fonts.
2001-01-21 15:07:55 +00:00

19 lines
388 B
Bash

#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1.1.1 2001/01/21 15:07:55 kevlo Exp $
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
TTFM=${PREFIX}/bin/ttfm.sh
FONTDIR=${PREFIX}/lib/X11/fonts/TrueType
FONTS="bkai00mp.ttf bsmi00lp.ttf gbsn00lp.ttf gkai00mp.ttf"
if [ "$2" != "DEINSTALL" ]; then
exit 0
fi
for f in $FONTS; do
$TTFM --remove xttfm ${FONTDIR}/$f
done
exit 0