1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/games/qix/pkg-install
Doug Barton 44fa804810 s/X11BASE/LOCALBASE/, or equivalent.
The X11BASE variable is long gone, however these ports were not updated.
2012-06-24 21:53:38 +00:00

22 lines
425 B
Bash

#!/bin/sh
if [ "$2" != POST-INSTALL ] ; then
exit 0
fi
X11BASE=/usr/local
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