freebsd-ports/games/ivan/pkg-install
Pav Lucistnik e678f97bcc Iter Vehemens ad Necem (IVAN) is a graphical roguelike game, which
currently runs in Linux, Windows, and DOS. It features advanced
bodypart and material handling, multi-colored lighting and, above
all, deep gameplay.

PR:		ports/88428
Submitted by:	Dmitry Marakasov <amdmi3@mail.ru>
2005-11-03 19:39:22 +00:00

15 lines
279 B
Bash

#!/bin/sh
#
# $FreeBSD$
STATEDIR="/var/games/ivan"
[ "$2" != "POST-INSTALL" -o -d "$SCOREDIR" ] && exit 0
echo "Creating state directory..."
mkdir "$STATEDIR"
touch "$STATEDIR/ivan-highscore.scores"
mkdir "$STATEDIR/Bones"
chgrp -R games "$STATEDIR"
chmod -R g+w "$STATEDIR"