summaryrefslogtreecommitdiff
path: root/games/nethack-lib
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-08-20 19:16:21 +0000
committerjlam <jlam@pkgsrc.org>2005-08-20 19:16:21 +0000
commit9a68cc0a6159ddf94bae7afcf6e19f63283b1097 (patch)
tree47cc04d797caf5105bc04ccdfe666acfd2133361 /games/nethack-lib
parentc92918791fa1f357d2f9c161b6b363457629bf08 (diff)
downloadpkgsrc-9a68cc0a6159ddf94bae7afcf6e19f63283b1097.tar.gz
Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} so
that these directories will be conditionally removed (based on reference counts), regardless of the value of PKG_CONFIG. Bump the PKGREVISION for packages that were modified as a result.
Diffstat (limited to 'games/nethack-lib')
-rw-r--r--games/nethack-lib/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/nethack-lib/Makefile b/games/nethack-lib/Makefile
index 83b8858bcd9..9c6442a23c6 100644
--- a/games/nethack-lib/Makefile
+++ b/games/nethack-lib/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.19 2005/08/19 18:12:37 jlam Exp $
+# $NetBSD: Makefile,v 1.20 2005/08/20 19:16:21 jlam Exp $
#
.include "../nethack-lib/Makefile.common"
PKGNAME= nethack-lib-${NETHACK_VERSION}
+PKGREVISION= 1
COMMENT= Data files for Nethack
@@ -19,9 +20,9 @@ CONF_FILES_PERMS+= /dev/null ${PREFIX}/share/${NETHACK_DIR}/record \
CONF_FILES_PERMS+= /dev/null ${PREFIX}/share/${NETHACK_DIR}/logfile \
${ROOT_USER} games 664
-MAKE_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR} \
+REQD_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR} \
${ROOT_USER} games 775
-MAKE_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR}/save \
+REQD_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR}/save \
${ROOT_USER} games 770
.include "../../mk/bsd.pkg.mk"