aboutsummaryrefslogtreecommitdiffstats
path: root/games/nethack34/Makefile
diff options
context:
space:
mode:
authorkoitsu <koitsu@FreeBSD.org>2007-01-16 01:24:33 +0800
committerkoitsu <koitsu@FreeBSD.org>2007-01-16 01:24:33 +0800
commitf54c3168eaa734f25906067d26044a3987ac6d5c (patch)
treee2e8f3f565fd32457c9fec64a2fd72224a7780af /games/nethack34/Makefile
parent1cb976181ce701b9d811e3a60adf00d8b247e387 (diff)
downloadfreebsd-ports-gnome-f54c3168eaa734f25906067d26044a3987ac6d5c.tar.gz
freebsd-ports-gnome-f54c3168eaa734f25906067d26044a3987ac6d5c.tar.zst
freebsd-ports-gnome-f54c3168eaa734f25906067d26044a3987ac6d5c.zip
Details of previous commit:
* Add WITH_HPMON support - colourises hitpoints as they decrease. * Address issue where uninstalling with existing save games in place (PREFIX/lib/nethack/save/*) would result in a "Could not remove PREFIX/lib/nethack" error. Now echoes some useful comments to the user when failing to rmdir PREFIX/lib/nethack/save, and using @dirrmtry on the PREFIX/lib/nethack directory. Also added: * Reference MASTER_SITE_LOCAL for hpmon.diff, in the case the main patch site isn't available. PR: ports/107941 Approved by: philip
Diffstat (limited to 'games/nethack34/Makefile')
-rw-r--r--games/nethack34/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile
index 33085e81be17..59b6331da0f5 100644
--- a/games/nethack34/Makefile
+++ b/games/nethack34/Makefile
@@ -53,7 +53,8 @@ CFLAGS+= -DMENU_COLOR_REGEX_POSIX
.endif
.if defined(WITH_HPMON)
PATCHFILES+= hpmon.diff
-PATCH_SITES+= http://www.netsonic.fi/~walker/nh/
+PATCH_SITES+= http://www.netsonic.fi/~walker/nh/ \
+ ${MASTER_SITE_LOCAL:S|%SUBDIR%|koitsu|}
PATCH_DIST_STRIP= -p1
CFLAGS+= -DHPMON
.endif