diff options
author | koitsu <koitsu@FreeBSD.org> | 2007-01-15 23:57:21 +0800 |
---|---|---|
committer | koitsu <koitsu@FreeBSD.org> | 2007-01-15 23:57:21 +0800 |
commit | a59b3fea8f25e0ef76283cf6a6a562e5db8028b2 (patch) | |
tree | fbc6427879ecfbe76da09599ca65cd5c46c36681 /games | |
parent | cacef12b385204db9a09d0f31321df7fbfd8c739 (diff) | |
download | freebsd-ports-gnome-a59b3fea8f25e0ef76283cf6a6a562e5db8028b2.tar.gz freebsd-ports-gnome-a59b3fea8f25e0ef76283cf6a6a562e5db8028b2.tar.zst freebsd-ports-gnome-a59b3fea8f25e0ef76283cf6a6a562e5db8028b2.zip |
Committed.
PR: 107941
Approved by: philip
Diffstat (limited to 'games')
-rw-r--r-- | games/nethack34/Makefile | 8 | ||||
-rw-r--r-- | games/nethack34/distinfo | 3 | ||||
-rw-r--r-- | games/nethack34/pkg-plist | 4 |
3 files changed, 12 insertions, 3 deletions
diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile index 74ace8a5488f..33085e81be17 100644 --- a/games/nethack34/Makefile +++ b/games/nethack34/Makefile @@ -14,7 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}-src EXTRACT_SUFX= .tgz -MAINTAINER?= freebsd@jdc.parodius.com +MAINTAINER?= koitsu@FreeBSD.org COMMENT?= A dungeon explorin', slashin', hackin' game WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} @@ -51,6 +51,12 @@ PATCH_SITES+= http://www.stack.nl/~jilles/games/ \ PATCH_DIST_STRIP= -p1 CFLAGS+= -DMENU_COLOR_REGEX_POSIX .endif +.if defined(WITH_HPMON) +PATCHFILES+= hpmon.diff +PATCH_SITES+= http://www.netsonic.fi/~walker/nh/ +PATCH_DIST_STRIP= -p1 +CFLAGS+= -DHPMON +.endif .elif ${PKGNAMESUFFIX} == "-qt" USE_QT_VER= 3 MAKE_ENV+= QTCPPFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \ diff --git a/games/nethack34/distinfo b/games/nethack34/distinfo index e908d77cc485..4a16243572d0 100644 --- a/games/nethack34/distinfo +++ b/games/nethack34/distinfo @@ -4,3 +4,6 @@ SIZE (nethack-343-src.tgz) = 3497458 MD5 (nh343-menucolor_jilles.diff) = 42e8c979c0ebe3e799c62056f86935bb SHA256 (nh343-menucolor_jilles.diff) = 28ffb66cc901c74f6321a4537f07313363d35cf60a621d829a14d46c080f3913 SIZE (nh343-menucolor_jilles.diff) = 17914 +MD5 (hpmon.diff) = a8e5cab6a93100612d428f3973dc418f +SHA256 (hpmon.diff) = d9369768f81f06e75b7349609bdff6fd9deff226452f04a89597190e4489074f +SIZE (hpmon.diff) = 2041 diff --git a/games/nethack34/pkg-plist b/games/nethack34/pkg-plist index 7a484f4e7dd4..a9bbf732bc99 100644 --- a/games/nethack34/pkg-plist +++ b/games/nethack34/pkg-plist @@ -5,7 +5,6 @@ bin/%%HACKNAME%% @exec chmod -R 775 %D/%%HACKDIR%% @exec chmod 2755 %D/%%HACKDIR%%/%%HACKNAME%% @exec chown games:games %D/%%HACKDIR%%/save -@dirrmtry %%HACKDIR%%/save %%HACKDIR%%/Arc-fila.lev %%HACKDIR%%/Arc-filb.lev %%HACKDIR%%/Arc-goal.lev @@ -144,6 +143,7 @@ bin/%%HACKNAME%% @exec touch %D/%%HACKDIR%%/logfile && chmod 664 %D/%%HACKDIR%%/logfile @unexec [ -s %D/%%HACKDIR%%/record ] || rm -f %D/%%HACKDIR%%/record @exec touch %D/%%HACKDIR%%/record && chmod 664 %D/%%HACKDIR%%/record -@dirrm %%HACKDIR%% +@unexec rmdir %D/%%HACKDIR%%/save >/dev/null 2>&1 || echo 'Nethack directory (%D/%%HACKDIR%%/) not removed due to existing save games. If you are permanently removing this port, you should do a ``rm -rf %D/%%HACKDIR%%``.' | fmt +@dirrmtry %%HACKDIR%% %%PORTDOCS%%%%HACKDOCSDIR%%/Guidebook.txt %%PORTDOCS%%@dirrm %%HACKDOCSDIR%% |