aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2002-09-08 20:59:05 +0800
committerobraun <obraun@FreeBSD.org>2002-09-08 20:59:05 +0800
commit648c8335fd075e509fb6a11873b1e3929952f33d (patch)
tree78601c5ceda4d5eef93db5bf45b6fc5231713487
parent7bcb293d1ac685f1fd9c2b7f4b51cbeb8469c89e (diff)
downloadfreebsd-ports-gnome-648c8335fd075e509fb6a11873b1e3929952f33d.tar.gz
freebsd-ports-gnome-648c8335fd075e509fb6a11873b1e3929952f33d.tar.zst
freebsd-ports-gnome-648c8335fd075e509fb6a11873b1e3929952f33d.zip
Add gkrellmfmonitor 0.3, gKrellM FMonitor plugin.
PR: ports/42549 Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
-rw-r--r--misc/Makefile1
-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
7 files changed, 61 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index c121980f50fa..d885c35ee878 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -86,6 +86,7 @@
SUBDIR += gkrellm-reminder
SUBDIR += gkrellmaflag
SUBDIR += gkrellmbgchg
+ SUBDIR += gkrellmfmonitor
SUBDIR += gkrellmlaunch
SUBDIR += gkrellscore
SUBDIR += gkrellshoot
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