pkgsrc/sysutils/gkrellm/Makefile
cube b376b0a3ef Update gkrellm to version 2.2.7.
pkgsrc changes:
  - use REQD_DIRS where appropriate
  - add a patch to allow gkrellm to read everything off sysctl() and thus
    don't install it setgid kem on NetBSD 3.99.1+
  - use options framework to choose between OpenSSL and gnutls
  - minor nits

gkrellm changes:

2.2.7 - Tue May 24, 2005
------------------------
        * gkrellmd can send a network interface connect time to be displayed
          on client timer button panels by configuring a net-timer in gkrellmd.conf.
        * Don't add virtual disk (/dev/mdX) stats to composite disk.
        * Bugfixes:
          o server/main.c inet6 compile error on machines with old libc.
          o Philipp Hartmann patch: add gnutls multithread initialization to mail.c
          o While mixing draw_decal_text and decal_scroll_text calls on transparent
            panels the text layer pixmap was not cleanup up properly.
        * Translation updates

2.2.6 - Fri May 13, 2005
------------------------
        * Stanislav Likavcan patch: add monitoring of ibm acpi sensors to linux.c.
        * UI improvement in fs.c and mail.c config button sensitivities and labels.
        * Bugfixes:
          o Test for not force creating user mailbox did not consider a configured
            mail fetch.
          o gkrellmd server mail check was missing the gkrellmd_need_serve() call
            and server/mail.c mailbox code needed syncing with src/mail.c.
          o gkrellmd glib 1.2 g_file_test compatibility was broken.
          o gkrellmd debug-level option was missing.
          o Darwin Makefile: add HAVE_GETADDRINFO=1
          o Don Bostrom patch: when remote mail checking, handle select() EINTR.
          o Charles Bailey patches:
            1) darwin.c and Makefile tweaks for building on OS X 10.3.8.
            2) darwin.c prevent left bit sign extension when shifting memory
               monitor data.
          o Don't read disabled sensors in the sensors thread.
        * Translation updates
2005-09-08 13:19:56 +00:00

44 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.45 2005/09/08 13:19:56 cube Exp $
.include "Makefile.common"
PKGREVISION= # empty1
GKRELLM_PKGBASE= gkrellm
WRKSRC= ${GKRELLM_SRCDIR}
COMMENT= GTK2 based system monitor
DEPENDS+= gkrellm-share-${GKRELLM_VERSION}:../../sysutils/gkrellm-share
USE_PKGINSTALL= YES
USE_TOOLS+= pkg-config
.include "../../mk/bsd.prefs.mk"
# NetBSD 3.99.1 and above don't have to be installed setgid.
.if (${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || \
(${OPSYS} == "NetBSD" && (!empty(OS_VERSION:M[123]*) && empty(OS_VERSION:M3.99.*))))
SPECIAL_PERMS+= ${PREFIX}/bin/gkrellm ${ROOT_USER} kmem 2711
.endif
NOT_FOR_PLATFORM= IRIX-*
.include "options.mk"
MAKE_ENV+= MODULES=src LINK_FLAGS=${EXPORT_SYMBOLS_LDFLAGS}
MAKE_ENV+= BINOWNER=${BINOWN} BINGROUP=${BINGRP}
MAKE_ENV+= SSL_TYPE=${GKRELLM_SSL_TYPE}
MAKE_ENV+= PKG_INCLUDE=-I${BUILDLINK_PREFIX.${GKRELLM_SSL_TYPE}}/include
MAKE_ENV+= PKG_LIBS="-L${BUILDLINK_PREFIX.${GKRELLM_SSL_TYPE}}/lib -Wl,-R${BUILDLINK_PREFIX.${GKRELLM_SSL_TYPE}}/lib"
SUBST_STAGE.gkprefix= post-patch
SUBST_FILES.gkprefix= src/gkrellm.h
SUBST_SED.gkprefix= -e '/SYSTEM_/{s!/usr!${PREFIX}!;}'
SUBST_CLASSES+= gkprefix
REQD_DIRS= lib/gkrellm2/plugins lib/gkrellm2 include/gkrellm2
.include "../../x11/gtk2/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"