1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/games/qix/pkg-install
2001-07-25 17:59:04 +00:00

22 lines
425 B
Bash

#!/bin/sh
if [ "$2" != POST-INSTALL ] ; then
exit 0
fi
X11BASE=/usr/X11R6
FONTDIR=$X11BASE/lib/X11/fonts/local
mkdir -p $X11BASE/share/qix
chown bin:games $X11BASE/share/qix
chmod g+w $X11BASE/share/qix
cat >> $FONTDIR/fonts.alias <<EOF
qix18 -qix-terminal-medium-r-normal--18-180-75-75-c-110-iso8859-1
qix14 -qix-terminal-medium-r-normal--14-140-75-75-c-80-iso8859-1
EOF
$X11BASE/bin/mkfontdir $FONTDIR
exit 0