summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmmv <jmmv>2005-10-10 09:55:16 +0000
committerjmmv <jmmv>2005-10-10 09:55:16 +0000
commit2dd104424703d24570fbc0c582798a40461bc27b (patch)
tree0e06c5daba0ff59dcb12694a3111c9f7d07418a7
parent2b3327b54c6c7f7919d536ea27762595b48aaef0 (diff)
downloadpkgsrc-2dd104424703d24570fbc0c582798a40461bc27b.tar.gz
Initial import of distccmon-gtk, a distcc monitor built with GTK+ support.
Provided by Geert Hendrickx a few months ago, together with the split of distcc's Makefile in two parts.
-rw-r--r--devel/distccmon-gtk/DESCR12
-rw-r--r--devel/distccmon-gtk/Makefile28
-rw-r--r--devel/distccmon-gtk/PLIST5
3 files changed, 45 insertions, 0 deletions
diff --git a/devel/distccmon-gtk/DESCR b/devel/distccmon-gtk/DESCR
new file mode 100644
index 00000000000..33c46cc4269
--- /dev/null
+++ b/devel/distccmon-gtk/DESCR
@@ -0,0 +1,12 @@
+distcc is a program to distribute compilation of C or C++ code across
+several machines on a network. distcc should always generate the same
+results as a local compile, is simple to install and use, and is often
+two or more times faster than a local compile.
+
+distcc does not require all machines to share a filesystem, have
+synchronized clocks, or to have the same libraries or header files
+installed. Machines can be running different operating systems, as long
+as they have compatible binary formats or cross-compilers.
+
+This package provides a graphical monitor for distcc, much like
+distccmon-text but based on GTK+.
diff --git a/devel/distccmon-gtk/Makefile b/devel/distccmon-gtk/Makefile
new file mode 100644
index 00000000000..6148f78314d
--- /dev/null
+++ b/devel/distccmon-gtk/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/10 09:55:16 jmmv Exp $
+
+PKGNAME= ${DISTNAME:S/-/-gtk-/}
+COMMENT= Graphical monitor for distcc, the distributed C/C++ compiler
+
+.include "../../devel/distcc/Makefile.common"
+
+CONFIGURE_ARGS+= --with-gtk
+
+SUBST_CLASSES+= gtk
+SUBST_STAGE.gtk= post-patch
+SUBST_FILES.gtk= gnome/distccmon-gnome.desktop src/mon-gnome.c
+SUBST_SED.gtk= -e "s/distccmon-gnome/distccmon-gtk/g"
+SUBST_MESSAGE.gtk= "Renaming -gnome to -gtk."
+
+BUILD_TARGET= distccmon-gnome
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/distccmon-gnome \
+ ${PREFIX}/bin/distccmon-gtk
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/distcc
+ ${INSTALL_DATA} ${WRKSRC}/gnome/distccmon-gnome-icon.png \
+ ${PREFIX}/share/distcc/distccmon-gtk-icon.png
+ ${INSTALL_DATA} ${WRKSRC}/gnome/distccmon-gnome.desktop \
+ ${PREFIX}/share/distcc/distccmon-gtk.desktop
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/distccmon-gtk/PLIST b/devel/distccmon-gtk/PLIST
new file mode 100644
index 00000000000..990148bc988
--- /dev/null
+++ b/devel/distccmon-gtk/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/10 09:55:16 jmmv Exp $
+bin/distccmon-gtk
+share/distcc/distccmon-gtk-icon.png
+share/distcc/distccmon-gtk.desktop
+@comment in distcc: @dirrm share/distcc