diff options
Diffstat (limited to 'editors/emacs-devel/pkg-install')
-rw-r--r-- | editors/emacs-devel/pkg-install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/editors/emacs-devel/pkg-install b/editors/emacs-devel/pkg-install new file mode 100644 index 000000000000..70280bfdbbd7 --- /dev/null +++ b/editors/emacs-devel/pkg-install @@ -0,0 +1,16 @@ +#!/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 |