summaryrefslogtreecommitdiff
path: root/devel/distcc
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-10-10 09:53:07 +0000
committerjmmv <jmmv@pkgsrc.org>2005-10-10 09:53:07 +0000
commit180565127c68cb85415d021bd186d6a7c83df2ce (patch)
tree145fa200f096172867bc658ed7b135843f8f2565 /devel/distcc
parent20da96d48ba138b687e8f52e8ef0731e31ac5bba (diff)
downloadpkgsrc-180565127c68cb85415d021bd186d6a7c83df2ce.tar.gz
Split the Makefile to allow the addition of the upcoming distccmon-{gtk,gnome}
packages. Also create the share/distcc directory which will be used by these two packages. Bump PKGREVISION to 1.
Diffstat (limited to 'devel/distcc')
-rw-r--r--devel/distcc/Makefile29
-rw-r--r--devel/distcc/PLIST4
2 files changed, 11 insertions, 22 deletions
diff --git a/devel/distcc/Makefile b/devel/distcc/Makefile
index 28c089e252f..6414b19fa81 100644
--- a/devel/distcc/Makefile
+++ b/devel/distcc/Makefile
@@ -1,19 +1,10 @@
-# $NetBSD: Makefile,v 1.24 2005/08/23 11:48:47 rillig Exp $
+# $NetBSD: Makefile,v 1.25 2005/10/10 09:53:07 jmmv Exp $
-DISTNAME= distcc-2.18.3
-CATEGORIES= devel
-MASTER_SITES= http://distcc.samba.org/ftp/distcc/
-EXTRACT_SUFX= .tar.bz2
+PKGNAME= ${DISTNAME}
+PKGREVISION= 1
+COMMENT= Tool for distributed C/C++ compiling
-MAINTAINER= martti@NetBSD.org
-HOMEPAGE= http://distcc.samba.org/
-COMMENT= Tool for distributed C/C++ compiling
-
-USE_PKGINSTALL= yes
-USE_TOOLS+= gmake
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-rfc2553
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+.include "Makefile.common"
PKG_SYSCONFSUBDIR= distcc
RCD_SCRIPTS= distccd
@@ -21,7 +12,7 @@ RCD_SCRIPTS= distccd
DISTCC_USER?= distcc
DISTCC_GROUP?= distcc
PKG_GROUPS= ${DISTCC_GROUP}
-PKG_USERS= ${DISTCC_USER}:${DISTCC_GROUP}::Distccd\ user
+PKG_USERS= ${DISTCC_USER}:${DISTCC_GROUP}::Distccd\ user
DISTCC_PIDDIR?= ${VARBASE}/run/distccd
OWN_DIRS_PERMS= ${DISTCC_PIDDIR} ${DISTCC_USER} ${DISTCC_GROUP} 0750
@@ -30,11 +21,7 @@ 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."
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/distcc
-.include "../../devel/popt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/distcc/PLIST b/devel/distcc/PLIST
index d7948276e85..338b8e2f257 100644
--- a/devel/distcc/PLIST
+++ b/devel/distcc/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2005/05/02 20:33:59 reed Exp $
+@comment $NetBSD: PLIST,v 1.12 2005/10/10 09:53:07 jmmv Exp $
bin/distcc
bin/distccd
bin/distccmon-text
@@ -23,3 +23,5 @@ share/doc/distcc/survey.txt
share/examples/rc.d/distccd
@dirrm share/doc/distcc/example
@dirrm share/doc/distcc
+@exec ${MKDIR} %D/share/distcc
+@dirrm share/distcc