Date: Mon, 18 Mar 2013 23:48:12 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314610 - head/games/sokoban Message-ID: <201303182348.r2INmC0e046146@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Mon Mar 18 23:48:12 2013 New Revision: 314610 URL: http://svnweb.freebsd.org/changeset/ports/314610 Log: - Fix leftover /var/games/sokoban (only when it is blank and matches the default) and advise users to remove it otherwise. - Trim header Added: head/games/sokoban/pkg-deinstall (contents, props changed) Modified: head/games/sokoban/Makefile head/games/sokoban/pkg-plist Modified: head/games/sokoban/Makefile ============================================================================== --- head/games/sokoban/Makefile Mon Mar 18 23:35:01 2013 (r314609) +++ head/games/sokoban/Makefile Mon Mar 18 23:48:12 2013 (r314610) @@ -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 Added: head/games/sokoban/pkg-deinstall ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/sokoban/pkg-deinstall Mon Mar 18 23:48:12 2013 (r314610) @@ -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 Modified: head/games/sokoban/pkg-plist ============================================================================== --- head/games/sokoban/pkg-plist Mon Mar 18 23:35:01 2013 (r314609) +++ head/games/sokoban/pkg-plist Mon Mar 18 23:48:12 2013 (r314610) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303182348.r2INmC0e046146>