summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorpooka <pooka>2006-04-10 12:56:04 +0000
committerpooka <pooka>2006-04-10 12:56:04 +0000
commit3ff2f49b140e2cf31ef74239a954a35a0dc73ce0 (patch)
tree101865ddc5ea3fbd2fb16a49e6dcd3b07655923c /games
parent7aa6c5dde3dfd6fa145b0b0ffcd8d17e134b9777 (diff)
downloadpkgsrc-3ff2f49b140e2cf31ef74239a954a35a0dc73ce0.tar.gz
CHECK_FILES_SKIP logfile and record
thanks to joerg for hammering me into fixing this finally ;)
Diffstat (limited to 'games')
-rw-r--r--games/nethack-lib/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/games/nethack-lib/Makefile b/games/nethack-lib/Makefile
index 3203a2c5570..a66c41d2ff9 100644
--- a/games/nethack-lib/Makefile
+++ b/games/nethack-lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2005/12/29 06:21:41 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2006/04/10 12:56:04 pooka Exp $
#
.include "../../games/nethack-lib/Makefile.common"
@@ -13,7 +13,12 @@ CONFIGURE_SCRIPT= ./sys/unix/setup.sh
BUILD_TARGET= datastuff
INSTALL_TARGET= manpages install-dat
-
+# Special handling for the scorefiles: we do not want to delete
+# them between package installations and deinstallations.
+#
+# These should eventually migrate to a better location, but keep them
+# here for now until we lose backward compatibility because of changes
+# to the fileformat.
CONF_FILES_PERMS+= /dev/null ${PREFIX}/share/${NETHACK_DIR}/record \
${ROOT_USER} games 664
CONF_FILES_PERMS+= /dev/null ${PREFIX}/share/${NETHACK_DIR}/logfile \
@@ -24,4 +29,7 @@ REQD_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR} \
REQD_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR}/save \
${ROOT_USER} games 770
+CHECK_FILES_SKIP+= ${PREFIX}/share/${NETHACK_DIR}/logfile \
+ ${PREFIX}/share/${NETHACK_DIR}/record
+
.include "../../mk/bsd.pkg.mk"