freebsd-ports/editors/emacs/pkg-deinstall
Ashish SHUKLA b2edd3a92d GNU Emacs Updates
editors/emacs:
 - Update to 24.4[1]
 - Remove all upstreamed diffs[1]
 - Switch to static pkg-plist[1]
 - Add OPTIONs for ACL, file notification, LTO, ALSA, and OSS[1]
 - Reword IGNORE messages for portlint[1]
 - Add fix for a Emacs TRAMP bug
 - Update CANNA patchset[2]

editors/emacs-devel:
 - Update to bzr snapshot revision 118251
 - Add pkg-install, and pkg-deinstall file missed from r364499
 - Switch to static pkg-plist

editors/emacs-nox11:
 - Remove PLIST_DIRSTRY

Mk/bsd.emacs.mk:
 - Update Emacs version numbers
 - Remove deprecated XEmacs entries

PR:		194624[1]
Submitted by:	Joseph Mingrone <jrm at ftfl.ca>[1],
                TAKANO Yuji <takachan at running-dog.net>[2]
2014-11-05 13:17:17 +00:00

14 lines
230 B
Bash

#!/bin/sh
GAMESROOT=/var/games/emacs
if [ "$2" = "DEINSTALL" ]; then
for s in snake tetris; do
if [ ! -s $GAMESROOT/$s-scores ]; then
rm -f $GAMESROOT/$s-scores
fi
done
rmdir $GAMESROOT 2>/dev/null
fi
exit 0