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.
It may contain save files that aren't being forcibly deleted any more.
If this is the case, use a pkg-deinstall script to inform the user of
how they can manually remove the save files if they are permanently
removing the port.
. Use ${MAKE_ENV} to invoke make to install the manual pages instead of
just passing in ${PREFIX}. This also lets us use ${MANPREFIX} and
${BSD_INSTALL_MAN} to do the manual page installation.
. Use %%DATADIR%% and %%DOCSDIR%% in the packing list.
. Don't forcibly remove the save file directory when deinstalling.
. Don't forcibly remove the save file directory when installing.
. Build and install the recover utility.
. Bump PORTREVISION due to adding the recover utility. Since the forcible
removing of save files has been disabled this shouldn't cause nethacking
portupgrade users to reach for Stormbringer, Vorpal Blade or Excalibur
(which is just as well for them since I have Mjollnir and gauntlets of
power). They might even thank me next time they are about to ascend and
nethack crashes.