summaryrefslogtreecommitdiff
path: root/games/nethack-lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/nethack-lib/Makefile')
-rw-r--r--games/nethack-lib/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/games/nethack-lib/Makefile b/games/nethack-lib/Makefile
index c73b4b89147..4de8466b406 100644
--- a/games/nethack-lib/Makefile
+++ b/games/nethack-lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2003/07/21 16:49:57 martti Exp $
+# $NetBSD: Makefile,v 1.15 2003/10/14 13:42:18 pooka Exp $
#
.include "../nethack-lib/Makefile.common"
@@ -13,4 +13,16 @@ CONFIGURE_SCRIPT= ./sys/unix/setup.sh
ALL_TARGET= datastuff
INSTALL_TARGET= manpages install-dat
+USE_PKGINSTALL= yes
+
+SUPPORT_FILES_PERMS+= /dev/null ${PREFIX}/share/${NETHACK_DIR}/record \
+ ${ROOT_USER} games 664
+SUPPORT_FILES_PERMS+= /dev/null ${PREFIX}/share/${NETHACK_DIR}/logfile \
+ ${ROOT_USER} games 664
+
+MAKE_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR} \
+ ${ROOT_USER} games 775
+MAKE_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR}/save \
+ ${ROOT_USER} games 770
+
.include "../../mk/bsd.pkg.mk"