pkgsrc/sysutils/gkrellm-server/Makefile

46 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.23 2007/06/15 18:15:21 jlam Exp $
2006-10-01 17:13:22 +02:00
.include "../../sysutils/gkrellm/Makefile.common"
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
2006-02-17 16:43:22 +01:00
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 ${BINOWN} kmem 2555
.endif
NOT_FOR_PLATFORM= IRIX-*-*
MAKE_ENV+= MODULES=server
Update gkrellm packages to 2.2.5. pkgsrc changes: o convert gkrellm-server to options.mk GKrellM changes: 2.2.5 - Sun Mar 20, 2005 ------------------------ * Sensor monitor can read data from "mbmon -r -P port" daemon. mbmon and hddtemp daemon sensor monitor code moved to sysdeps/sensors-common.c to be available to all operating systems. * Hajimu Umemoto patch: added FreeBSD mbmon support. Added general socket connection gkrellm_connect_to() function and cleaned up mail.c, client.c and sensors-common.c to use it. * Add api for gkrellmd plugins to have gkrellmd.conf config items. Gkrellmd plugins can read data sent from their gkrellm client plugins. * Keep history of daily, weekly & monthly net receive/transmit statistics. * Tom Felker patch: add to Linux sensors nVidia video card temperature reading via the nvidia-settings command. * Hajimu Umemoto patch: make gkrellmd support standard CIDR notation for both IPv4 and IPv6 allow-hosts. * Jiri Denemark patch: while charging, battery display shows time to full charge instead of discharge time left. Make launcher work for all battery panels in case batteries are removed. * Try to make sensor labels fit better by using <small> markup. * Added option for mail fetch/check program to run at local check interval. * Bugfixes: o Jason Greene: IMAP patch fixes handling of status responses which contain literals. o Accumulate partial gkrellmd server lines. o Put minor mod numbers in Linux disk table to get c0d1, cc0d1, etc. o Segfault when rebuilding gkrellm if temp displayed on a disk panel. o Kim Bruning patch: display "no bat" if buggy APM flags don't flag when to hide batttery panel. * Translation updates o cs.po from Pav Lucistnik o da.po from Chris Larsen
2005-03-22 15:57:12 +01:00
PKG_OPTIONS_VAR= PKG_OPTIONS.gkrellm-server
PKG_SUPPORTED_OPTIONS= glib1
.include "../../mk/bsd.options.mk"
2006-10-01 17:13:22 +02:00
SUBST_CLASSES+= gkprefix
SUBST_STAGE.gkprefix= post-patch
SUBST_FILES.gkprefix= server/gkrellmd.h
SUBST_SED.gkprefix= -e '/GKRELLMD_SYS_ETC/{s!/etc!${PREFIX}&!;}'
post-install:
2006-02-17 16:43:22 +01:00
${INSTALL_DATA_DIR} ${PREFIX:Q}/share/examples/gkrellm-server
${INSTALL_DATA} ${WRKSRC:Q}/server/gkrellmd.conf ${PREFIX:Q}/share/examples/gkrellm-server
Update gkrellm packages to 2.2.5. pkgsrc changes: o convert gkrellm-server to options.mk GKrellM changes: 2.2.5 - Sun Mar 20, 2005 ------------------------ * Sensor monitor can read data from "mbmon -r -P port" daemon. mbmon and hddtemp daemon sensor monitor code moved to sysdeps/sensors-common.c to be available to all operating systems. * Hajimu Umemoto patch: added FreeBSD mbmon support. Added general socket connection gkrellm_connect_to() function and cleaned up mail.c, client.c and sensors-common.c to use it. * Add api for gkrellmd plugins to have gkrellmd.conf config items. Gkrellmd plugins can read data sent from their gkrellm client plugins. * Keep history of daily, weekly & monthly net receive/transmit statistics. * Tom Felker patch: add to Linux sensors nVidia video card temperature reading via the nvidia-settings command. * Hajimu Umemoto patch: make gkrellmd support standard CIDR notation for both IPv4 and IPv6 allow-hosts. * Jiri Denemark patch: while charging, battery display shows time to full charge instead of discharge time left. Make launcher work for all battery panels in case batteries are removed. * Try to make sensor labels fit better by using <small> markup. * Added option for mail fetch/check program to run at local check interval. * Bugfixes: o Jason Greene: IMAP patch fixes handling of status responses which contain literals. o Accumulate partial gkrellmd server lines. o Put minor mod numbers in Linux disk table to get c0d1, cc0d1, etc. o Segfault when rebuilding gkrellm if temp displayed on a disk panel. o Kim Bruning patch: display "no bat" if buggy APM flags don't flag when to hide batttery panel. * Translation updates o cs.po from Pav Lucistnik o da.po from Chris Larsen
2005-03-22 15:57:12 +01:00
.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"