pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/nethack-lib CHECK_FILES_SKIP logfile and record



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d4e0602fe906
branches:  trunk
changeset: 511153:d4e0602fe906
user:      pooka <pooka%pkgsrc.org@localhost>
date:      Mon Apr 10 12:56:04 2006 +0000

description:
CHECK_FILES_SKIP logfile and record

thanks to joerg for hammering me into fixing this finally ;)

diffstat:

 games/nethack-lib/Makefile |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 5dcdeeb93d9c -r d4e0602fe906 games/nethack-lib/Makefile
--- a/games/nethack-lib/Makefile        Mon Apr 10 12:25:43 2006 +0000
+++ b/games/nethack-lib/Makefile        Mon Apr 10 12:56:04 2006 +0000
@@ -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 @@
 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}/save             \
                        ${ROOT_USER} games 770
 
+CHECK_FILES_SKIP+=     ${PREFIX}/share/${NETHACK_DIR}/logfile          \
+                       ${PREFIX}/share/${NETHACK_DIR}/record
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index