mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
91332f8894
- Fix building port when ALSA option is enabled[2] - Depend on desktop-file-utils only when X11 option is enabled[3] - Bump PORTREVISION to account for these changes PR: 194624[1], 194862[2] Submitted by: crest <crest at sahiro.org>[2] Reported by: Joseph Mingrone <jrm at ftfl.ca>[1], Richard Kuhns <rjk at wintek.com>[3] (via private email)
20 lines
373 B
Bash
20 lines
373 B
Bash
#!/bin/sh
|
|
|
|
# $FreeBSD$
|
|
|
|
GAMESROOT=/var/games/emacs
|
|
ARCHLIBDIR=%%ARCHLIBDIR%%
|
|
|
|
if [ "$2" = "POST-INSTALL" ]; then
|
|
umask 022
|
|
mkdir -p $GAMESROOT
|
|
touch $GAMESROOT/snake-scores
|
|
touch $GAMESROOT/tetris-scores
|
|
chown games $ARCHLIBDIR/update-game-score
|
|
chmod u+s $ARCHLIBDIR/update-game-score
|
|
chown games $GAMESROOT
|
|
chmod 775 $GAMESROOT
|
|
fi
|
|
|
|
exit 0
|