blob: c69200a65bfedce1d3fba39b8c85daa588b045f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.20 2004/12/28 02:47:43 reed Exp $
DISTNAME= distcc-2.18.2
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://distcc.samba.org/ftp/distcc/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= martti@NetBSD.org
HOMEPAGE= http://distcc.samba.org/
COMMENT= Tool for distributed C/C++ compiling
USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-rfc2553
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
PKG_SYSCONFSUBDIR= distcc
RCD_SCRIPTS= distccd
DISTCC_USER?= distcc
DISTCC_GROUP?= distcc
PKG_GROUPS= ${DISTCC_GROUP}
PKG_USERS= ${DISTCC_USER}:${DISTCC_GROUP}::Distccd\\ 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}
SUBST_CLASSES= doc
SUBST_STAGE.doc= post-patch
SUBST_FILES.doc= src/distcc.c src/hosts.c
SUBST_SED.doc= -e "s|%s/distcc/hosts|%s/hosts|g"
SUBST_MESSAGE.doc= "Fixing paths."
.include "../../devel/popt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|