aboutsummaryrefslogtreecommitdiff
path: root/games/nethack34
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2009-07-25 00:25:21 +0000
committerWesley Shields <wxs@FreeBSD.org>2009-07-25 00:25:21 +0000
commit1cc68d4767b344835fed68826ecfb7a61000d9de (patch)
treee8e4e89aa686151fa884725bf1957a724573613b /games/nethack34
parent5ec4d82dc1e5c5a026a8b88f82db760d9c8268bc (diff)
downloadports-1cc68d4767b344835fed68826ecfb7a61000d9de.tar.gz
ports-1cc68d4767b344835fed68826ecfb7a61000d9de.zip
- Add support for WITH_STATUSCOLORS.
- While here move to my distfile mirror instead of old one. PR: ports/136220 Submitted by: Jeremy Chadwick <jdc@parodius.com>
Notes
Notes: svn path=/head/; revision=238344
Diffstat (limited to 'games/nethack34')
-rw-r--r--games/nethack34/Makefile16
-rw-r--r--games/nethack34/distinfo6
2 files changed, 18 insertions, 4 deletions
diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile
index 338f696345e9..468d6111997a 100644
--- a/games/nethack34/Makefile
+++ b/games/nethack34/Makefile
@@ -45,16 +45,30 @@ MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
GRAPHICS= GNOME_GRAPHICS
.elif ${PKGNAMESUFFIX} == "-nox11"
GRAPHICS= # none
+#
+# Patch notes:
+# 1) hpmon and statuscolors conflict with one another
+# 2) menucolors patch must be applied before statuscolors
+#
+.if defined(WITH_HPMON) && defined(WITH_STATUSCOLORS)
+IGNORE= you cannot enable both HPMON and STATUSCOLORS
+.endif
.if defined(WITH_MENUCOLORS)
PATCHFILES+= nh343-menucolor.diff
PATCH_SITES+= http://bilious.homelinux.org/~paxed/nethack/
PATCH_DIST_STRIP= -p1
CFLAGS+= -DMENU_COLOR_REGEX_POSIX
.endif
+.if defined(WITH_STATUSCOLORS)
+PATCHFILES+= nh343-statuscolors.fixed.patch
+PATCH_SITES+= http://jdc.parodius.com/nethack/ \
+ ${MASTER_SITE_LOCAL:S|%SUBDIR%|wxs|}
+PATCH_DIST_STRIP= -p1
+.endif
.if defined(WITH_HPMON)
PATCHFILES+= hpmon.diff
PATCH_SITES+= http://www.netsonic.fi/~walker/nh/ \
- ${MASTER_SITE_LOCAL:S|%SUBDIR%|koitsu|}
+ ${MASTER_SITE_LOCAL:S|%SUBDIR%|wxs|}
PATCH_DIST_STRIP= -p1
CFLAGS+= -DHPMON
.endif
diff --git a/games/nethack34/distinfo b/games/nethack34/distinfo
index 43aceea02229..20531eeb8c7c 100644
--- a/games/nethack34/distinfo
+++ b/games/nethack34/distinfo
@@ -4,6 +4,6 @@ SIZE (nethack-343-src.tgz) = 3497458
MD5 (nh343-menucolor.diff) = ade00f9cb51f1b0140557d329d56844c
SHA256 (nh343-menucolor.diff) = 21f37f759686ac405f1032648d38977096930200e04aeec989d8a450d5532733
SIZE (nh343-menucolor.diff) = 20010
-MD5 (hpmon.diff) = a8e5cab6a93100612d428f3973dc418f
-SHA256 (hpmon.diff) = d9369768f81f06e75b7349609bdff6fd9deff226452f04a89597190e4489074f
-SIZE (hpmon.diff) = 2041
+MD5 (nh343-statuscolors.fixed.patch) = 2d0cf44770867f42e7b5b28951af048b
+SHA256 (nh343-statuscolors.fixed.patch) = 1c0c7a5e7a5cd564b5bd3fa790393f13ea584bdb0cbd4c34942e551cb9a6656e
+SIZE (nh343-statuscolors.fixed.patch) = 19090