1 # $NetBSD: Makefile,v 1.32 2008/02/20 10:16:52 rillig Exp $
4 COMMENT= Tool for distributed C/C++ compiling
6 .include "Makefile.common"
8 PKG_SYSCONFSUBDIR= distcc
11 .include "../../mk/bsd.prefs.mk"
15 PKG_GROUPS= ${DISTCC_GROUP}
16 PKG_USERS= ${DISTCC_USER}:${DISTCC_GROUP}
17 PKG_GROUPS_VARS+= DISTCC_GROUP
18 PKG_USERS_VARS+= DISTCC_USER
20 DISTCC_PIDDIR?= ${VARBASE}/run/distccd
21 OWN_DIRS_PERMS= ${DISTCC_PIDDIR} ${DISTCC_USER} ${DISTCC_GROUP} 0750
23 FILES_SUBST+= DISTCC_PIDDIR=${DISTCC_PIDDIR}
24 FILES_SUBST+= DISTCC_USER=${DISTCC_USER}
25 FILES_SUBST+= DISTCC_GROUP=${DISTCC_GROUP}
27 INSTALLATION_DIRS+= share/distcc
29 .include "../../mk/bsd.pkg.mk"