summaryrefslogtreecommitdiff
path: root/devel/distcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/distcc/Makefile')
-rw-r--r--devel/distcc/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/distcc/Makefile b/devel/distcc/Makefile
index 4ab61c4c35b..1d02816b0ce 100644
--- a/devel/distcc/Makefile
+++ b/devel/distcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2006/02/05 23:08:41 joerg Exp $
+# $NetBSD: Makefile,v 1.28 2006/02/17 07:38:45 martti Exp $
PKGNAME= ${DISTNAME}
PKGREVISION= 2
@@ -9,19 +9,21 @@ COMMENT= Tool for distributed C/C++ compiling
PKG_SYSCONFSUBDIR= distcc
RCD_SCRIPTS= distccd
+.include "../../mk/bsd.prefs.mk"
+
DISTCC_USER?= distcc
DISTCC_GROUP?= distcc
PKG_GROUPS= ${DISTCC_GROUP}
-PKG_USERS= ${DISTCC_USER}:${DISTCC_GROUP}::Distccd\ user
+PKG_USERS= ${DISTCC_USER:Q}:${DISTCC_GROUP:Q}::Distccd\ user
DISTCC_PIDDIR?= ${VARBASE}/run/distccd
-OWN_DIRS_PERMS= ${DISTCC_PIDDIR} ${DISTCC_USER} ${DISTCC_GROUP} 0750
+OWN_DIRS_PERMS= ${DISTCC_PIDDIR} ${DISTCC_USER:Q} ${DISTCC_GROUP:Q} 0750
FILES_SUBST+= DISTCC_PIDDIR=${DISTCC_PIDDIR:Q}
FILES_SUBST+= DISTCC_USER=${DISTCC_USER:Q}
FILES_SUBST+= DISTCC_GROUP=${DISTCC_GROUP:Q}
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/distcc
+ ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/distcc
.include "../../mk/bsd.pkg.mk"