summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-04-12 21:01:15 +0000
committerjoerg <joerg@pkgsrc.org>2006-04-12 21:01:15 +0000
commit4476e7eb89457b2d66e0723850590fd851a29708 (patch)
treec8e9436b8ea5cc0ca32ebe603b58673df575576f /mk/bsd.pkg.mk
parentf6c4b5c7f34fb6d46f4479ad912f1c0d06abd695 (diff)
downloadpkgsrc-4476e7eb89457b2d66e0723850590fd851a29708.tar.gz
Add INSTALL_GAME_DIR to complement INSTALL_GAME_DATA. The directories
are group-writeable by the games user on those platforms, where GAMEMODE includes setgid. It defaults to PKGDIRMODE otherwise.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index ac9806be601..74754ce997f 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1815 2006/04/12 19:28:47 reed Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1816 2006/04/12 21:01:15 joerg Exp $
#
# This file is in the public domain.
#
@@ -385,6 +385,8 @@ INSTALL_MAN?= \
${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE}
INSTALL_PROGRAM_DIR?= \
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${PKGDIRMODE}
+INSTALL_GAME_DIR?= \
+ ${INSTALL} -d -o ${GAMEOWN} -g ${GAMEGRP} -m ${GAMEDIRMODE}
INSTALL_SCRIPT_DIR?= \
${INSTALL_PROGRAM_DIR}
INSTALL_LIB_DIR?= \
@@ -406,7 +408,8 @@ INSTALL_MACROS= BSD_INSTALL_PROGRAM=${INSTALL_PROGRAM:Q} \
BSD_INSTALL_DATA_DIR=${INSTALL_DATA_DIR:Q} \
BSD_INSTALL_MAN_DIR=${INSTALL_MAN_DIR:Q} \
BSD_INSTALL_GAME=${INSTALL_GAME:Q} \
- BSD_INSTALL_GAME_DATA=${INSTALL_GAME_DATA:Q}
+ BSD_INSTALL_GAME_DATA=${INSTALL_GAME_DATA:Q} \
+ BSD_INSTALL_GAME_DIR=${INSTALL_GAME_DIR:Q}
MAKE_ENV+= ${INSTALL_MACROS}
SCRIPTS_ENV+= ${INSTALL_MACROS}