blob: 3244ebed1ea5acef5217ffedde676d6275307306 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $NetBSD: Makefile,v 1.3 2006/02/05 23:08:41 joerg Exp $
PKGNAME= ${DISTNAME:S/-/-gtk-/}
PKGREVISION= 2
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"
|