aboutsummaryrefslogtreecommitdiffstats
path: root/games/qix/pkg-install
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2000-06-06 08:56:18 +0800
committerjmz <jmz@FreeBSD.org>2000-06-06 08:56:18 +0800
commitfb5bf0dea5d2a2deb10848b8fe03026753af536d (patch)
tree2f9b11f08dc6d329176f259f206eca3e34ee2bd4 /games/qix/pkg-install
parentd2f129a3cd52e9f299437cf23b98e3666d10cc2d (diff)
downloadfreebsd-ports-gnome-fb5bf0dea5d2a2deb10848b8fe03026753af536d.tar.gz
freebsd-ports-gnome-fb5bf0dea5d2a2deb10848b8fe03026753af536d.tar.zst
freebsd-ports-gnome-fb5bf0dea5d2a2deb10848b8fe03026753af536d.zip
qix - the classic arcade game.
Diffstat (limited to 'games/qix/pkg-install')
-rw-r--r--games/qix/pkg-install21
1 files changed, 21 insertions, 0 deletions
diff --git a/games/qix/pkg-install b/games/qix/pkg-install
new file mode 100644
index 000000000000..1ec18fccfae8
--- /dev/null
+++ b/games/qix/pkg-install
@@ -0,0 +1,21 @@
+#!/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