freebsd-ports/editors/emacs/pkg-install
Ashish SHUKLA 2c7614b3e1 - Move /var/games/emacs stuff from pkg-plist into pkg-{de,}install as it's
not installed in $PREFIX, which causes issues with `check-plist' target
- Remove extraneous @dirrmtry entries
- Bump PORTREVISION due to pkg-plist change

Reported by:		rpaulo
2014-08-05 09:09:26 +00:00

16 lines
257 B
Bash

#!/bin/sh
# $FreeBSD$
GAMESROOT=/var/games/emacs
if [ "$2" = "POST-INSTALL" ]; then
umask 022
mkdir -p $GAMESROOT
touch $GAMESROOT/snake-scores
touch $GAMESROOT/tetris-scores
chown games $GAMESROOT
chmod 775 $GAMESROOT
fi
exit 0