2011-11-01 07:00:33 +01:00
|
|
|
# $NetBSD: Makefile,v 1.16 2011/11/01 06:00:54 sbd Exp $
|
2005-10-10 11:55:16 +02:00
|
|
|
|
|
|
|
PKGNAME= ${DISTNAME:S/-/-gtk-/}
|
2011-11-01 07:00:33 +01:00
|
|
|
PKGREVISION= 7
|
2005-10-10 11:55:16 +02:00
|
|
|
COMMENT= Graphical monitor for distcc, the distributed C/C++ compiler
|
|
|
|
|
2008-03-03 18:45:33 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2005-10-10 11:55:16 +02:00
|
|
|
.include "../../devel/distcc/Makefile.common"
|
|
|
|
|
Changes 3.1:
* New options: --scan-includes, --disable-Werror
* Document all of the exit codes in the man page.
* Handle "-Wp,-MMD,...".
* Report a better error message if a host specification contains ",cpp"
but not ",lzo".
* Fix a bug where the "m4" directory wasn't included in the
source distribution tarball, which caused it to stop working
if you ran autogen.sh.
* Fixed a bug where the pump script was hard-coding /etc/distcc/hosts
rather than using the prefix specified to configure.
* Fixed build errors on Gentoo Linux and some other systems.
Changes 3.0:
* New "--without-avahi" option to configure.
* Fixed a problem where pump mode was falling back to local compilation
when compiling with -I options that refer to a subdirectory of one
of the default system include directories (Nils Klarlund, Fergus Henderson).
* Allow distcc to distribute commands that use "-MF<filename>"
rather than "-MF <filename>", and likewise for "-MT<target>".
* Fixed a build problem on ARM and Solaris systems.
* Fixed a build problem on some Linux systems.
* Fixed failure of "make install" on Cygwin.
* Fallback to local compilation for "-march=native" or "mtune=native"
* Fix for deadlock in pump mode.
* New protocol, version 3, allowing for preprocessing on distcc
servers ("pump" mode).
* New component: an include server for incremental static analysis of include
dependencies. This software is written in Python 2.4.
* Support for getting hosts via avahi.
* gcc debug option -d must be run locally because it produces secondary files.
* Improved checking for errors on socket connection.
2009-01-17 14:27:48 +01:00
|
|
|
USE_TOOLS+= pkg-config
|
2005-10-10 11:55:16 +02:00
|
|
|
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"
|
2006-02-17 08:30:13 +01:00
|
|
|
SUBST_MESSAGE.gtk= Renaming -gnome to -gtk.
|
2005-10-10 11:55:16 +02:00
|
|
|
|
|
|
|
BUILD_TARGET= distccmon-gnome
|
|
|
|
|
|
|
|
do-install:
|
Changes 3.1:
* New options: --scan-includes, --disable-Werror
* Document all of the exit codes in the man page.
* Handle "-Wp,-MMD,...".
* Report a better error message if a host specification contains ",cpp"
but not ",lzo".
* Fix a bug where the "m4" directory wasn't included in the
source distribution tarball, which caused it to stop working
if you ran autogen.sh.
* Fixed a bug where the pump script was hard-coding /etc/distcc/hosts
rather than using the prefix specified to configure.
* Fixed build errors on Gentoo Linux and some other systems.
Changes 3.0:
* New "--without-avahi" option to configure.
* Fixed a problem where pump mode was falling back to local compilation
when compiling with -I options that refer to a subdirectory of one
of the default system include directories (Nils Klarlund, Fergus Henderson).
* Allow distcc to distribute commands that use "-MF<filename>"
rather than "-MF <filename>", and likewise for "-MT<target>".
* Fixed a build problem on ARM and Solaris systems.
* Fixed a build problem on some Linux systems.
* Fixed failure of "make install" on Cygwin.
* Fallback to local compilation for "-march=native" or "mtune=native"
* Fix for deadlock in pump mode.
* New protocol, version 3, allowing for preprocessing on distcc
servers ("pump" mode).
* New component: an include server for incremental static analysis of include
dependencies. This software is written in Python 2.4.
* Support for getting hosts via avahi.
* gcc debug option -d must be run locally because it produces secondary files.
* Improved checking for errors on socket connection.
2009-01-17 14:27:48 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/distccmon-gnome \
|
|
|
|
${DESTDIR}${PREFIX}/bin/distccmon-gtk
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/distcc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gnome/distccmon-gnome-icon.png \
|
|
|
|
${DESTDIR}${PREFIX}/share/distcc/distccmon-gtk-icon.png
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gnome/distccmon-gnome.desktop \
|
|
|
|
${DESTDIR}${PREFIX}/share/distcc/distccmon-gtk.desktop
|
2005-10-10 11:55:16 +02:00
|
|
|
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|