summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-19 05:54:40 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-19 05:54:40 +0000
commitc4df078810853b33c9312e1faf9b6a66ea21b7a9 (patch)
treebad50257de846554f0b67eab96af266c062658f0 /sysutils
parentLet there be a working dstumbler on -CURRENT! (diff)
Add gdesklets-multitail, a gdesklets plug-in that allows up to five files
to be tailed in one display. PR: 59439 Submitted by: Franz Klammer <klammer@webonaut.com>
Notes
Notes: svn path=/head/; revision=94323
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/gdesklets-multitail/Makefile69
-rw-r--r--sysutils/gdesklets-multitail/distinfo1
-rw-r--r--sysutils/gdesklets-multitail/pkg-descr3
-rw-r--r--sysutils/gdesklets-multitail/pkg-message19
-rw-r--r--sysutils/gdesklets-multitail/pkg-plist27
6 files changed, 120 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 6b574e7d3649..b109c748a12e 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -118,6 +118,7 @@
SUBDIR += ganglia-webfrontend
SUBDIR += gcombust
SUBDIR += gconf-editor
+ SUBDIR += gdesklets-multitail
SUBDIR += gdesklets-sysinfo
SUBDIR += gfslicer
SUBDIR += gkleds2
diff --git a/sysutils/gdesklets-multitail/Makefile b/sysutils/gdesklets-multitail/Makefile
new file mode 100644
index 000000000000..b748433d68df
--- /dev/null
+++ b/sysutils/gdesklets-multitail/Makefile
@@ -0,0 +1,69 @@
+# New ports collection makefile for: gdesklets-multitail
+# Date created: 18 November 2003
+# Whom: Franz Klammer <klammer@webonaut.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= multitail
+PORTVERSION= 0.1.6
+CATEGORIES= sysutils gnome
+MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
+PKGNAMEPREFIX= gdesklets-
+DISTNAME= multitail-${PORTVERSION}
+
+MAINTAINER= klammer@webonaut.com
+COMMENT= Tail up to 5 files in one gdesklets display
+
+RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets
+
+WRKSRC= ${WRKDIR}/${NAME1}-${PORTVERSION}
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_PYTHON= yes
+NAME1= MultiTail
+NAME2= DisplayConstraints
+
+do-build:
+ @${WRKSRC}/Install_${NAME1}_Sensor.bin --nomsg ${WRKSRC}
+ @${WRKSRC}/Install_${NAME2}_Sensor.bin --nomsg ${WRKSRC}
+ @${FIND} ${WRKSRC} -name '*.orig' -delete
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME1}
+ @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME2}
+ @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/dark-theme/gfx
+ @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/light-theme/gfx
+ @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/trans-theme/gfx
+ ${INSTALL_DATA} ${WRKSRC}/${NAME1}/README \
+ ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/
+ ${INSTALL_DATA} ${WRKSRC}/${NAME1}/dark-theme/*.display \
+ ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/dark-theme/
+ ${INSTALL_DATA} ${WRKSRC}/${NAME1}/dark-theme/gfx/*.png \
+ ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/dark-theme/gfx/
+ ${INSTALL_DATA} ${WRKSRC}/${NAME1}/light-theme/*.display \
+ ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/light-theme/
+ ${INSTALL_DATA} ${WRKSRC}/${NAME1}/light-theme/gfx/*.png \
+ ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/light-theme/gfx/
+ ${INSTALL_DATA} ${WRKSRC}/${NAME1}/trans-theme/*.display \
+ ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/trans-theme/
+ ${INSTALL_DATA} ${WRKSRC}/${NAME1}/trans-theme/gfx/*.png \
+ ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/trans-theme/gfx/
+ ${INSTALL_DATA} ${WRKSRC}/${NAME1}/*.py \
+ ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME1}/
+ ${INSTALL_DATA} ${WRKSRC}/${NAME2}/*.py \
+ ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME2}/
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
+ ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME1}/
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
+ ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME1}/
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
+ ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME2}/
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
+ ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME2}/
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/sysutils/gdesklets-multitail/distinfo b/sysutils/gdesklets-multitail/distinfo
new file mode 100644
index 000000000000..857a600f7ae9
--- /dev/null
+++ b/sysutils/gdesklets-multitail/distinfo
@@ -0,0 +1 @@
+MD5 (multitail-0.1.6.tar.bz2) = 3d576d24a98f9ecdbda383141578daed
diff --git a/sysutils/gdesklets-multitail/pkg-descr b/sysutils/gdesklets-multitail/pkg-descr
new file mode 100644
index 000000000000..d2bdd1e5f20a
--- /dev/null
+++ b/sysutils/gdesklets-multitail/pkg-descr
@@ -0,0 +1,3 @@
+Tail up to 5 files in one gdesklets display.
+
+WWW: http://gdesklets.gnomedesktop.org/
diff --git a/sysutils/gdesklets-multitail/pkg-message b/sysutils/gdesklets-multitail/pkg-message
new file mode 100644
index 000000000000..c8f598dd3686
--- /dev/null
+++ b/sysutils/gdesklets-multitail/pkg-message
@@ -0,0 +1,19 @@
+##
+To view the README:
+
+ cat ${PREFIX}/share/gnome/gdesklets/Displays/${name}/README
+
+To view all installed applets:
+
+ ls ${PREFIX}/share/gnome/gdesklets/Displays
+
+To use those applets:
+
+ gdesklets ${PREFIX}/share/gnome/gdesklets/Displays/${name}/${theme}/${name}.display
+
+Replace ${name} with the correct name of the applets you want to use.
+Replace ${theme} with the correct name of the applets theme.
+
+NOTE: Be sure to login as your user when you use the gdesklets command,
+ as the configuration will be stored in the ~/.gdesklets/ directory.
+##
diff --git a/sysutils/gdesklets-multitail/pkg-plist b/sysutils/gdesklets-multitail/pkg-plist
new file mode 100644
index 000000000000..23b164e03d0a
--- /dev/null
+++ b/sysutils/gdesklets-multitail/pkg-plist
@@ -0,0 +1,27 @@
+share/gnome/gdesklets/Displays/MultiTail/dark-theme/gfx/bg.png
+share/gnome/gdesklets/Displays/MultiTail/dark-theme/gfx/border-left.png
+share/gnome/gdesklets/Displays/MultiTail/dark-theme/multitail.display
+share/gnome/gdesklets/Displays/MultiTail/light-theme/gfx/bg.png
+share/gnome/gdesklets/Displays/MultiTail/light-theme/gfx/border-left.png
+share/gnome/gdesklets/Displays/MultiTail/light-theme/multitail.display
+share/gnome/gdesklets/Displays/MultiTail/trans-theme/gfx/border-left.png
+share/gnome/gdesklets/Displays/MultiTail/trans-theme/multitail.display
+share/gnome/gdesklets/Displays/MultiTail/README
+share/gnome/gdesklets/Sensors/DisplayConstraints/__init__.py
+share/gnome/gdesklets/Sensors/DisplayConstraints/__init__.pyc
+share/gnome/gdesklets/Sensors/DisplayConstraints/__init__.pyo
+share/gnome/gdesklets/Sensors/MultiTail/__init__.py
+share/gnome/gdesklets/Sensors/MultiTail/__init__.pyc
+share/gnome/gdesklets/Sensors/MultiTail/__init__.pyo
+share/gnome/gdesklets/Sensors/MultiTail/tailer.py
+share/gnome/gdesklets/Sensors/MultiTail/tailer.pyc
+share/gnome/gdesklets/Sensors/MultiTail/tailer.pyo
+@dirrm share/gnome/gdesklets/Displays/MultiTail/dark-theme/gfx
+@dirrm share/gnome/gdesklets/Displays/MultiTail/dark-theme
+@dirrm share/gnome/gdesklets/Displays/MultiTail/light-theme/gfx
+@dirrm share/gnome/gdesklets/Displays/MultiTail/light-theme
+@dirrm share/gnome/gdesklets/Displays/MultiTail/trans-theme/gfx
+@dirrm share/gnome/gdesklets/Displays/MultiTail/trans-theme
+@dirrm share/gnome/gdesklets/Displays/MultiTail/
+@dirrm share/gnome/gdesklets/Sensors/DisplayConstraints/
+@dirrm share/gnome/gdesklets/Sensors/MultiTail/