1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/tecnoballz/pkg-install
Dmitry Marakasov d6a5e1f87c - Support staging
- Convert USE_GMAKE to USES
- Use new LIB_DEPENDS syntax
2013-11-18 22:49:10 +00:00

14 lines
260 B
Bash

#!/bin/sh
SCOREDIR="/var/games/tecnoballz"
SCOREFILE="${SCOREDIR}/tecnoballz.hi"
[ "$2" != "POST-INSTALL" -o -f "$SCOREFILE" ] && exit 0
echo "Creating hiscore directory..."
mkdir -p $SCOREDIR
touch $SCOREFILE
chgrp -R games $SCOREDIR
chmod g+w $SCOREFILE