freebsd-ports/games/nethack32/files/pkg-deinstall.in
Greg Lewis 49f6c471fd . Make this port installable in parallel with the other nethack versions.
The approach is slightly different from that taken by nethack34 and
  prevents the manual page conflicts produced by that approach.
. While here, clean up the Makefile a little w.r.t. order and clean up the
  packing list to not produce warnings when the log or record are removed.

With this change, you can have all nethack versions from ports installed
at once.  However, this isn't as pleasant as it could be, and I'd like to
address this in the future by merging some changes from here into
nethack33 (in particular) and nethack34.
2004-04-12 21:02:09 +00:00

16 lines
348 B
Bash

#!/bin/sh
#
# $FreeBSD$
if [ "${2}" = "POST-DEINSTALL" ]; then
if [ -d "${PKG_PREFIX}/%%HACKDIR%%" ]; then
echo
echo "The ${1} save files have not been removed."
echo
echo "If you are deleting ${1} permanently then you can "
echo "remove the save files with the command:"
echo
echo " rm -rf ${PKG_PREFIX}/%%HACKDIR%%"
echo
fi
fi