diff options
author | wxs <wxs@FreeBSD.org> | 2009-07-25 08:25:21 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2009-07-25 08:25:21 +0800 |
commit | 3442a73a291f9cfd8103bce1b7e1f3edf3c70e67 (patch) | |
tree | bc97de5d37ff70ed023db5b8d521e526bf9e14af /games | |
parent | 2cafd262a8b4f21b64b94f19fa804f0162fad11c (diff) | |
download | freebsd-ports-gnome-3442a73a291f9cfd8103bce1b7e1f3edf3c70e67.tar.gz freebsd-ports-gnome-3442a73a291f9cfd8103bce1b7e1f3edf3c70e67.tar.zst freebsd-ports-gnome-3442a73a291f9cfd8103bce1b7e1f3edf3c70e67.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>
Diffstat (limited to 'games')
-rw-r--r-- | games/nethack34/Makefile | 16 | ||||
-rw-r--r-- | games/nethack34/distinfo | 6 |
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 |