summaryrefslogtreecommitdiff
path: root/devel/distccmon-gtk/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv>2005-10-10 09:55:16 +0000
committerjmmv <jmmv>2005-10-10 09:55:16 +0000
commit48c6ed390ee527566d68e77675082a0281399a13 (patch)
tree0e06c5daba0ff59dcb12694a3111c9f7d07418a7 /devel/distccmon-gtk/Makefile
parent500db75a62fde261b77f673d177e970665ddee3e (diff)
downloadpkgsrc-48c6ed390ee527566d68e77675082a0281399a13.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.
Diffstat (limited to 'devel/distccmon-gtk/Makefile')
-rw-r--r--devel/distccmon-gtk/Makefile28
1 files changed, 28 insertions, 0 deletions
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"