1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

- Fix leftover /var/games/sokoban (only when it is blank

and matches the default) and advise users to remove it
  otherwise.
- Trim header
This commit is contained in:
Bryan Drewery 2013-03-18 23:48:12 +00:00
parent 82c28cbbf5
commit 22931abc7c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314610
3 changed files with 10 additions and 5 deletions

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: sokoban
# Date created: 2 July 1997
# Whom: Andrey Zakhvatov
#
# Created by: Andrey Zakhvatov
# $FreeBSD$
#
PORTNAME= sokoban
PORTVERSION= 1.0

View File

@ -0,0 +1,8 @@
#!/bin/sh
# $FreeBSD$
FILE="/var/games/sokoban"
if [ "$2" = "POST-DEINSTALL" -a -f "$FILE" ]; then
echo "===> If you are completely uninstalling sokoban you may also want to remove the scores files: $FILE"
fi

View File

@ -52,3 +52,4 @@ share/sokoban/screens/screen.49
share/sokoban/screens/screen.50
@dirrm share/sokoban/screens
@dirrm share/sokoban
@unexec if [ `stat -f %z /var/games/sokoban 2>/dev/null` = "2" ]; then rm -f /var/games/sokoban; fi