pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/distcc Split the Makefile to allow the addition ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/be71703cb9c0
branches: trunk
changeset: 500532:be71703cb9c0
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Mon Oct 10 09:53:07 2005 +0000
description:
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:
devel/distcc/Makefile | 29 ++++++++---------------------
devel/distcc/PLIST | 4 +++-
2 files changed, 11 insertions(+), 22 deletions(-)
diffs (66 lines):
diff -r a698f501deee -r be71703cb9c0 devel/distcc/Makefile
--- a/devel/distcc/Makefile Mon Oct 10 09:19:11 2005 +0000
+++ b/devel/distcc/Makefile Mon Oct 10 09:53:07 2005 +0000
@@ -1,19 +1,10 @@
-# $NetBSD: Makefile,v 1.24 2005/08/23 11:48:47 rillig Exp $
-
-DISTNAME= distcc-2.18.3
-CATEGORIES= devel
-MASTER_SITES= http://distcc.samba.org/ftp/distcc/
-EXTRACT_SUFX= .tar.bz2
+# $NetBSD: Makefile,v 1.25 2005/10/10 09:53:07 jmmv Exp $
-MAINTAINER= martti%NetBSD.org@localhost
-HOMEPAGE= http://distcc.samba.org/
-COMMENT= Tool for distributed C/C++ compiling
+PKGNAME= ${DISTNAME}
+PKGREVISION= 1
+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 @@
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_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 -r a698f501deee -r be71703cb9c0 devel/distcc/PLIST
--- a/devel/distcc/PLIST Mon Oct 10 09:19:11 2005 +0000
+++ b/devel/distcc/PLIST Mon Oct 10 09:53:07 2005 +0000
@@ -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/examples/rc.d/distccd
@dirrm share/doc/distcc/example
@dirrm share/doc/distcc
+@exec ${MKDIR} %D/share/distcc
+@dirrm share/distcc
Home |
Main Index |
Thread Index |
Old Index