aboutsummaryrefslogtreecommitdiffstats
path: root/devel/distcc
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2003-06-18 05:29:45 +0800
committeradamw <adamw@FreeBSD.org>2003-06-18 05:29:45 +0800
commit184bd20deef9c2f29be888cbbbc6f5f8088771fe (patch)
tree2535f4cceeab93dd495b87d93dfda2f93ed5ac6d /devel/distcc
parent93db7063bae5132a85a1eea4777b06a359a054ce (diff)
downloadfreebsd-ports-graphics-184bd20deef9c2f29be888cbbbc6f5f8088771fe.tar.gz
freebsd-ports-graphics-184bd20deef9c2f29be888cbbbc6f5f8088771fe.tar.zst
freebsd-ports-graphics-184bd20deef9c2f29be888cbbbc6f5f8088771fe.zip
Update to 2.7. Now with GNOME GUI.
PR: ports/53374 Submitted by: Frerich Raabe <frerich.raabe@gmx.de>
Diffstat (limited to 'devel/distcc')
-rw-r--r--devel/distcc/Makefile29
-rw-r--r--devel/distcc/distinfo2
-rw-r--r--devel/distcc/pkg-descr4
-rw-r--r--devel/distcc/pkg-plist1
4 files changed, 33 insertions, 3 deletions
diff --git a/devel/distcc/Makefile b/devel/distcc/Makefile
index 998b5e955a4..44bd56de923 100644
--- a/devel/distcc/Makefile
+++ b/devel/distcc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= distcc
-PORTVERSION= 2.6
+PORTVERSION= 2.7
CATEGORIES= devel
MASTER_SITES= http://distcc.samba.org/ftp/distcc/
@@ -16,20 +16,45 @@ COMMENT= Distribute compilation of C(++) code acrosss machines on a network
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
PLIST_SUB+= DOCSDIR=${DOCSDIR:S,${PREFIX}/,,}
+
+WANT_GNOME= yes
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mlibgnomeui} != ""
+USE_GNOME= libgnomeui
+CONFIGURE_ARGS+= "--enable-gnome"
+PLIST_SUB+= WITH_GNOME=""
+.else
+PLIST_SUB+= WITH_GNOME="@comment "
+.endif
+
MAN1= distcc.1 distccd.1
DOC_FILES= AUTHORS COPYING COPYING.FDL DEPENDENCIES INSTALL NEWS README \
linuxdoc/distcc.sgml doc/protocol-1.txt doc/status-1.txt
HTML_DOC_FILES= distcc.html distcc-1.html distcc-2.html distcc-3.html \
distcc-4.html distcc-5.html
+pre-fetch:
+.if !defined(WITHOUT_GNOME)
+ @${ECHO_MSG} "Building with GNOME-based monitor. To disabled this, press"
+ @${ECHO_MSG} "Ctrl+C now and restart with 'make WITHOUT_GNOME=yes'."
+ @${ECHO_MSG} ""
+.else
+ @${ECHO_MSG} "Disabled GNOME-based monitor."
+ @${ECHO_MSG} ""
+.endif
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/distcc ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/distccmon-text ${PREFIX}/bin
+.if !defined(WITHOUT_GNOME)
+ @${INSTALL_PROGRAM} ${WRKSRC}/distccmon-gnome ${PREFIX}/bin
+.endif
@${INSTALL_PROGRAM} ${WRKSRC}/distccd ${PREFIX}/sbin
post-install: install-doc install-html-doc install-man
@@ -56,4 +81,4 @@ install-man:
@${INSTALL_MAN} ${WRKSRC}/man/${file} ${MANPREFIX}/man/man1
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/distcc/distinfo b/devel/distcc/distinfo
index 2de8fcb618b..8bbaaf1c14b 100644
--- a/devel/distcc/distinfo
+++ b/devel/distcc/distinfo
@@ -1 +1 @@
-MD5 (distcc-2.6.tar.bz2) = 022b0d968e2bdf51acca23258979ce58
+MD5 (distcc-2.7.tar.bz2) = 7f367102fb645b769368b901ec57e159
diff --git a/devel/distcc/pkg-descr b/devel/distcc/pkg-descr
index a2f87e3fc78..f38b8f5702c 100644
--- a/devel/distcc/pkg-descr
+++ b/devel/distcc/pkg-descr
@@ -14,6 +14,10 @@ for each job, so all it requires of the volunteer machines is that
they be running the distccd daemon, and that they have an appropriate
compiler installed.
+This version also comes with a text-based as well as a GNOME-based monitor
+to inspect the load on the cluster, and how it is distributed among the
+various distcc nodes.
+
WWW: http://distcc.samba.org/
- Frerich Raabe frerich.raabe@gmx.de
diff --git a/devel/distcc/pkg-plist b/devel/distcc/pkg-plist
index beb3a24f0f3..cf79849dc38 100644
--- a/devel/distcc/pkg-plist
+++ b/devel/distcc/pkg-plist
@@ -1,5 +1,6 @@
bin/distcc
bin/distccmon-text
+%%WITH_GNOME%%bin/distccmon-gnome
sbin/distccd
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING