mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
49f6c471fd
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.
17 lines
348 B
Bash
17 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
|