summaryrefslogtreecommitdiff
path: root/games/nethack-lib
diff options
context:
space:
mode:
authorjlam <jlam>2005-08-20 19:16:21 +0000
committerjlam <jlam>2005-08-20 19:16:21 +0000
commit0b64c5e8f6df517e08feba011f6ebb6d4db35063 (patch)
tree47cc04d797caf5105bc04ccdfe666acfd2133361 /games/nethack-lib
parent0002516286baa006f1190f1197f054fe1934ff18 (diff)
downloadpkgsrc-0b64c5e8f6df517e08feba011f6ebb6d4db35063.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"