b091c2f172
sysutils/user_* packages.
30 lines
743 B
Makefile
30 lines
743 B
Makefile
# $NetBSD: Makefile,v 1.35 2013/07/12 10:44:55 jperkin Exp $
|
|
|
|
PKGNAME= ${DISTNAME}
|
|
PKGREVISION= 2
|
|
COMMENT= Tool for distributed C/C++ compiling
|
|
|
|
.include "Makefile.common"
|
|
|
|
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}
|
|
PKG_GROUPS_VARS+= DISTCC_GROUP
|
|
PKG_USERS_VARS+= DISTCC_USER
|
|
|
|
DISTCC_PIDDIR?= ${VARBASE}/run/distccd
|
|
OWN_DIRS_PERMS= ${DISTCC_PIDDIR} ${DISTCC_USER} ${DISTCC_GROUP} 0750
|
|
|
|
FILES_SUBST+= DISTCC_PIDDIR=${DISTCC_PIDDIR}
|
|
FILES_SUBST+= DISTCC_USER=${DISTCC_USER}
|
|
FILES_SUBST+= DISTCC_GROUP=${DISTCC_GROUP}
|
|
|
|
INSTALLATION_DIRS+= share/distcc
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|