summaryrefslogtreecommitdiff
path: root/misc/gkrellmfmonitor
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2002-09-08 12:59:05 +0000
committerOliver Braun <obraun@FreeBSD.org>2002-09-08 12:59:05 +0000
commitc8e680d3d5743cd84a08e1b3fc226f1da2510522 (patch)
treefe9008607355fa2e62f1bccbc61e63fe5396842a /misc/gkrellmfmonitor
parentRemove refs to mosfet.org, since it's in a coma, or at least having a (diff)
Add gkrellmfmonitor 0.3, gKrellM FMonitor plugin.
PR: ports/42549 Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Notes
Notes: svn path=/head/; revision=65839
Diffstat (limited to 'misc/gkrellmfmonitor')
-rw-r--r--misc/gkrellmfmonitor/Makefile27
-rw-r--r--misc/gkrellmfmonitor/distinfo1
-rw-r--r--misc/gkrellmfmonitor/files/patch-aa21
-rw-r--r--misc/gkrellmfmonitor/pkg-comment1
-rw-r--r--misc/gkrellmfmonitor/pkg-descr9
-rw-r--r--misc/gkrellmfmonitor/pkg-plist1
6 files changed, 60 insertions, 0 deletions
diff --git a/misc/gkrellmfmonitor/Makefile b/misc/gkrellmfmonitor/Makefile
new file mode 100644
index 000000000000..299b66bc4c0d
--- /dev/null
+++ b/misc/gkrellmfmonitor/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: gkrellmfmonitor
+# Date Created: 08 Sep 2002
+# Whom: Jean-Yves Lefort <jylefort@brutele.be>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gkrellmfmonitor
+PORTVERSION= 0.3
+CATEGORIES= misc
+MASTER_SITES= http://alice.nc.huji.ac.il/~arsen/
+DISTNAME= fmonitor-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= jylefort@brutele.be
+
+BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
+RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm
+
+USE_X_PREFIX= yes
+USE_IMLIB= yes
+
+do-install:
+ ${MKDIR} ${PREFIX}/libexec/gkrellm/plugins
+ ${INSTALL_PROGRAM} ${WRKSRC}/fmonitor.so ${PREFIX}/libexec/gkrellm/plugins
+
+.include <bsd.port.mk>
diff --git a/misc/gkrellmfmonitor/distinfo b/misc/gkrellmfmonitor/distinfo
new file mode 100644
index 000000000000..4b95b3b26b8d
--- /dev/null
+++ b/misc/gkrellmfmonitor/distinfo
@@ -0,0 +1 @@
+MD5 (fmonitor-0.3.tgz) = 3c0dedc4031384c0f902730ce27804de
diff --git a/misc/gkrellmfmonitor/files/patch-aa b/misc/gkrellmfmonitor/files/patch-aa
new file mode 100644
index 000000000000..65f7814f7c31
--- /dev/null
+++ b/misc/gkrellmfmonitor/files/patch-aa
@@ -0,0 +1,21 @@
+--- Makefile.orig Sun Sep 8 14:16:15 2002
++++ Makefile Sun Sep 8 14:16:40 2002
+@@ -1,7 +1,7 @@
+ # Sample Makefile for a GKrellM plugin
+
+-GTK_INCLUDE = `gtk-config --cflags`
+-GTK_LIB = `gtk-config --libs`
++GTK_INCLUDE = `gtk12-config --cflags`
++GTK_LIB = `gtk12-config --libs`
+
+ IMLIB_INCLUDE = `imlib-config --cflags-gdk`
+ IMLIB_LIB = `imlib-config --libs-gdk`
+@@ -18,6 +18,8 @@
+ OBJS = fmonitor.o
+ SOBJ = fmonitor.so
+
++
++all: fmonitor.so
+
+ $(SOBJ): $(OBJS)
+ $(CC) $(OBJS) -o $(SOBJ) $(LFLAGS) $(LIBS)
diff --git a/misc/gkrellmfmonitor/pkg-comment b/misc/gkrellmfmonitor/pkg-comment
new file mode 100644
index 000000000000..5f610ec1d697
--- /dev/null
+++ b/misc/gkrellmfmonitor/pkg-comment
@@ -0,0 +1 @@
+GKrellM FMonitor plugin
diff --git a/misc/gkrellmfmonitor/pkg-descr b/misc/gkrellmfmonitor/pkg-descr
new file mode 100644
index 000000000000..26314d3179c6
--- /dev/null
+++ b/misc/gkrellmfmonitor/pkg-descr
@@ -0,0 +1,9 @@
+This plugin monitors a file and displays its contens in gkrellm. File can
+have multiple rows of the form 'name : value : [flag]'. Number of rows as
+well as their contnens can change dynamicaly. If flag non-empty then for
+WARNING value - the orange led will light up and for ALERT value - red.
+
+WWW: http://alice.nc.huji.ac.il/~arsen/fmonitor.html
+
+- Jean-Yves Lefort
+jylefort@brutele.be
diff --git a/misc/gkrellmfmonitor/pkg-plist b/misc/gkrellmfmonitor/pkg-plist
new file mode 100644
index 000000000000..01276642cba2
--- /dev/null
+++ b/misc/gkrellmfmonitor/pkg-plist
@@ -0,0 +1 @@
+libexec/gkrellm/plugins/fmonitor.so