summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/gkrellm/Makefile34
-rw-r--r--sysutils/gkrellm/files/md53
-rw-r--r--sysutils/gkrellm/files/patch-sum4
-rw-r--r--sysutils/gkrellm/patches/patch-aa24
-rw-r--r--sysutils/gkrellm/patches/patch-ab22
-rw-r--r--sysutils/gkrellm/pkg/DESCR24
-rw-r--r--sysutils/gkrellm/pkg/PLIST10
7 files changed, 121 insertions, 0 deletions
diff --git a/sysutils/gkrellm/Makefile b/sysutils/gkrellm/Makefile
new file mode 100644
index 00000000000..67dab3b0439
--- /dev/null
+++ b/sysutils/gkrellm/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/13 17:53:29 zuntum Exp $
+#
+
+DISTNAME= gkrellm-1.0.6
+CATEGORIES= sysutils
+MASTER_SITES= http://newweb.wt.net/~billw/
+
+MAINTAINER= anthony.mallet@ficus.yi.org
+HOMEPAGE= http://gkrellm.net/
+COMMENT= GTK based system monitor
+
+DEPENDS+= gtk+-1.2.*:../../x11/gtk
+DEPENDS+= imlib-*:../../graphics/imlib
+DEPENDS+= pth-*:../../devel/pth
+
+USE_X11BASE= yes
+USE_GMAKE= yes
+
+BINGRP= kmem
+BINMODE= 2755
+
+ALL_TARGET= netbsd
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/gkrellm ${PREFIX}/bin/gkrellm
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gkrellm
+ cd ${WRKSRC} && ${INSTALL_DATA} COPYRIGHT README Themes.html \
+ ${PREFIX}/share/doc/gkrellm
+ ${INSTALL_DATA_DIR} ${PREFIX}/include/gkrellm
+ cd ${WRKSRC}/src && ${INSTALL_DATA} gkrellm.h \
+ gkrellm_public_proto.h gkrellm_private_proto.h \
+ ${PREFIX}/include/gkrellm
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/gkrellm/files/md5 b/sysutils/gkrellm/files/md5
new file mode 100644
index 00000000000..cd773a97d05
--- /dev/null
+++ b/sysutils/gkrellm/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/13 17:53:29 zuntum Exp $
+
+MD5 (gkrellm-1.0.6.tar.gz) = f937ba51f0d661f8994d5c2440db9065
diff --git a/sysutils/gkrellm/files/patch-sum b/sysutils/gkrellm/files/patch-sum
new file mode 100644
index 00000000000..b4ff7dc0417
--- /dev/null
+++ b/sysutils/gkrellm/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/03/13 17:53:29 zuntum Exp $
+
+SHA1 (patch-aa) = 6ca1d28c018804159702038673080111b60f00cb
+SHA1 (patch-ab) = f18ea3c7c456d4c5638a3bf122e7ef0dbb217a93
diff --git a/sysutils/gkrellm/patches/patch-aa b/sysutils/gkrellm/patches/patch-aa
new file mode 100644
index 00000000000..278e353bb17
--- /dev/null
+++ b/sysutils/gkrellm/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/03/13 17:53:29 zuntum Exp $
+
+--- Makefile.top.orig Sun Feb 4 16:10:13 2001
++++ Makefile.top Sun Feb 4 16:13:25 2001
+@@ -111,7 +111,7 @@
+ netbsd:
+ (cd locale && ${MAKE} all)
+ (cd src && ${MAKE} GTK_CONFIG=gtk-config GTOP_LIBS= GTOP_INCLUDE= \
+- PTHREAD_INC=-I/usr/local/include SYS_LIBS="-lkvm" gkrellm )
++ PTHREAD_INC=-I$(LOCALBASE)/include SYS_LIBS="-lkvm" gkrellm )
+
+ openbsd:
+ (cd locale && ${MAKE} all)
+--- locale/Makefile~ Sat Jun 17 17:55:04 2000
++++ locale/Makefile Sun Feb 4 16:18:25 2001
+@@ -6,7 +6,7 @@
+ FILES_PO:=$(wildcard *.po)
+ FILES_MO:=$(FILES_PO:.po=.mo)
+
+-LOCALEDIR ?= /usr/share/locale
++LOCALEDIR ?= $(LOCALBASE)/locale
+
+ ifeq ($(enable_nls),1)
+ all: mo-files
diff --git a/sysutils/gkrellm/patches/patch-ab b/sysutils/gkrellm/patches/patch-ab
new file mode 100644
index 00000000000..d04360fd7d6
--- /dev/null
+++ b/sysutils/gkrellm/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/03/13 17:53:29 zuntum Exp $
+
+--- src/Makefile.src.orig Sun Jan 14 21:18:32 2001
++++ src/Makefile.src
+@@ -13,7 +13,7 @@
+ GTK_LIB = `$(GTK_CONFIG) --libs gthread`
+ IMLIB_LIB = `imlib-config --libs-gdk`
+
+-FLAGS = -O2 -I.. $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GTOP_INCLUDE)
++FLAGS = -I.. $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GTOP_INCLUDE)
+ FLAGS+= $(PTHREAD_INC)
+
+ LIBS = $(GTK_LIB) $(IMLIB_LIB) $(GTOP_LIBS) $(SYS_LIBS)
+@@ -31,7 +31,7 @@
+ endif
+
+
+-CC = gcc -Wall $(FLAGS) $(CFLAGS)
++CC+= -Wall $(FLAGS) $(CFLAGS)
+
+ OBJS = main.o apm.o clock.o cpu.o disk.o fs.o hostname.o \
+ inet.o mail.o meminfo.o net.o proc.o sensors.o uptime.o \
diff --git a/sysutils/gkrellm/pkg/DESCR b/sysutils/gkrellm/pkg/DESCR
new file mode 100644
index 00000000000..da90c4a04d6
--- /dev/null
+++ b/sysutils/gkrellm/pkg/DESCR
@@ -0,0 +1,24 @@
+With a single process, GKrellM manages multiple stacked monitors and supports
+applying themes to match the monitors appearance to your window manager,
+Gtk, or any other theme.
+
+ * SMP CPU, Disk, Proc, and active net interface monitors with LEDs.
+ * Internet monitor that displays current and charts historical port hits
+
+ * Memory and swap space usage meters and a system uptime monitor.
+ * File system meters show capacity/free space and can mount/umount.
+ * A mailbox monitor which can launch mail reader, remote mail fetch.
+ * Clock/calendar and hostname display.
+ * APM laptop battery monitor.
+ * CPU/motherboard temperature display if lm_sensors modules installed.
+
+ * Multiple monitors managed by a single process to reduce system load.
+ * A timer button that can execute PPP or ISDN logon/logoff scripts.
+ * Charts are autoscaling with configurable grid line resolution, or
+ can be set to a fixed scale mode.
+ * Separate colors for "in" and "out" data. The in color is used for
+ CPU user time, disk read, forks, and net receive data. The out color
+ is used for CPU sys time, disk write, load, and net transmit data.
+ * Commands can be configured to run when monitor labels are clicked.
+ * GKrellM is plugin capable so special interest monitors can be created.
+ * A different theme can be created with the GIMP.
diff --git a/sysutils/gkrellm/pkg/PLIST b/sysutils/gkrellm/pkg/PLIST
new file mode 100644
index 00000000000..6f632432617
--- /dev/null
+++ b/sysutils/gkrellm/pkg/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/13 17:53:29 zuntum Exp $
+bin/gkrellm
+include/gkrellm/gkrellm.h
+include/gkrellm/gkrellm_public_proto.h
+include/gkrellm/gkrellm_private_proto.h
+@dirrm include/gkrellm
+share/doc/gkrellm/COPYRIGHT
+share/doc/gkrellm/README
+share/doc/gkrellm/Themes.html
+@dirrm share/doc/gkrellm