pkgsrc/sysutils/gkrellm-server/Makefile
cube 49914b64c3 Update gkrellm packages to version 2.2.9.
pkgsrc changes:
  - introduce various patches to fix compilation problems (gkrellm is a
    complete mess).
  - activate sensors-common.c on NetBSD.

2.2.9 - Fri Mar 31, 2006
------------------------
        * Bugfixes
          o Segfault if select config Builtins->Battery with no batteries present.


2.2.8 - Thu Mar 30, 2006
------------------------
        * Add battery monitor option to use percent capacity remaining for alerts.
        * Filippo Giunchedi linux.c patch: make sensor code able to read
          apple/pmu's sysfs based sensors.
        * Jindrich Makovicka linux.c patch: subtract the memory allocated to
          slabs from the used memory and add it to the cached value instead.
        * Put multiple instances lock files in /var/lock.
        * Bugfixes:
          o Fix gkrellm_125_sequence() off by a bit here and there.
          o Invalidate chart text runs when chart height changed.
          o mbmon sensors decimal point char can be different from current locale.
          o Read linux cpu stats from /proc/stat as 64 bits.
          o Segfault on editing disk chart format string after disabling a disk.
          o gkrellmd -plog segfaulted if no plugins are installed.
          o Don't NULL serve_name prior to each gkrellmd plugin serve_data call.
          o Use a per client input_func in gkrellmd_client_read().
        * Translation updates
          o bg.po new Bulgarian translation by Vasko Vasilev.
          o es.po from Cristian Othon Martinez Vera
          o ru.po from Vitaly Lipatov
2006-04-13 19:14:44 +00:00

45 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2006/04/13 19:14:45 cube Exp $
.include "../../sysutils/gkrellm/Makefile.common"
PKGREVISION= #
GKRELLM_PKGBASE= gkrellm-server
COMMENT= Monitoring daemon remotely accessible by a GKrellM client
DEPENDS+= gkrellm-share-${GKRELLM_VERSION}:../../sysutils/gkrellm-share
USE_TOOLS+= pkg-config
PTHREAD_OPTS+= require
RCD_SCRIPTS= gkrellmd
CONF_FILES= ${PREFIX:Q}/share/examples/gkrellm-server/gkrellmd.conf ${PREFIX:Q}/etc/gkrellmd.conf
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly")
SPECIAL_PERMS+= ${PREFIX:Q}/bin/gkrellmd ${ROOT_USER} kmem 2711
.endif
NOT_FOR_PLATFORM= IRIX-*-*
MAKE_ENV+= MODULES=server
PKG_OPTIONS_VAR= PKG_OPTIONS.gkrellm-server
PKG_SUPPORTED_OPTIONS= glib1
.include "../../mk/bsd.options.mk"
SUBST_STAGE.gkprefix= post-patch
SUBST_FILES.gkprefix= server/gkrellmd.h
SUBST_SED.gkprefix= -e '/GKRELLMD_SYS_ETC/{s!/etc!${PREFIX}&!;}'
SUBST_CLASSES+= gkprefix
post-install:
${INSTALL_DATA_DIR} ${PREFIX:Q}/share/examples/gkrellm-server
${INSTALL_DATA} ${WRKSRC:Q}/server/gkrellmd.conf ${PREFIX:Q}/share/examples/gkrellm-server
.if !empty(PKG_OPTIONS:Mglib1)
MAKE_ENV+= USE_GLIB12=yes
.include "../../devel/glib/buildlink3.mk"
.else
.include "../../devel/glib2/buildlink3.mk"
.endif
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"