diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-03 04:49:36 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-03 04:49:36 +0800 |
commit | 4f0fb9aed85d143945114e5698a0830a2d212f74 (patch) | |
tree | b9b8c775c5961dc06aa9581a1699c5bfc275e544 /sysutils/xfce4-systemload-plugin | |
parent | e0489f0bc1f2814a9540f7d7ba4376ac3ba8b434 (diff) | |
download | marcuscom-ports-4f0fb9aed85d143945114e5698a0830a2d212f74.tar marcuscom-ports-4f0fb9aed85d143945114e5698a0830a2d212f74.tar.gz marcuscom-ports-4f0fb9aed85d143945114e5698a0830a2d212f74.tar.bz2 marcuscom-ports-4f0fb9aed85d143945114e5698a0830a2d212f74.tar.lz marcuscom-ports-4f0fb9aed85d143945114e5698a0830a2d212f74.tar.xz marcuscom-ports-4f0fb9aed85d143945114e5698a0830a2d212f74.tar.zst marcuscom-ports-4f0fb9aed85d143945114e5698a0830a2d212f74.zip |
- LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7483 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/xfce4-systemload-plugin')
-rw-r--r-- | sysutils/xfce4-systemload-plugin/Makefile | 29 | ||||
-rw-r--r-- | sysutils/xfce4-systemload-plugin/distinfo | 3 | ||||
-rw-r--r-- | sysutils/xfce4-systemload-plugin/files/patch-configure | 11 | ||||
-rw-r--r-- | sysutils/xfce4-systemload-plugin/files/patch-panel-plugin:uptime.c | 19 | ||||
-rw-r--r-- | sysutils/xfce4-systemload-plugin/pkg-descr | 4 | ||||
-rw-r--r-- | sysutils/xfce4-systemload-plugin/pkg-plist | 4 |
6 files changed, 70 insertions, 0 deletions
diff --git a/sysutils/xfce4-systemload-plugin/Makefile b/sysutils/xfce4-systemload-plugin/Makefile new file mode 100644 index 000000000..b12e5df04 --- /dev/null +++ b/sysutils/xfce4-systemload-plugin/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: xfce-systemload-plugin +# Date created: 31 June 2003 +# Whom: Thorsten Greiner <thorsten.greiner@web.de> +# +# $FreeBSD$ +# + +PORTNAME= xfce4-systemload-plugin +PORTVERSION= 0.3.4 +PORTREVISION= 6 +CATEGORIES= sysutils xfce +MASTER_SITES= http://download.berlios.de/xfce-goodies/ +DIST_SUBDIR= xfce4 + +MAINTAINER= thorsten.greiner@web.de +COMMENT= System Load plugin for XFce4 + +BUILD_DEPENDS= xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel +LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \ + xfce4util.1:${PORTSDIR}/x11/libxfce4util \ + xfcegui4.3:${PORTSDIR}/x11-toolkits/libxfce4gui +RUN_DEPENDS= xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel + +USE_GNOME= gtk20 +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} + +.include <bsd.port.mk> diff --git a/sysutils/xfce4-systemload-plugin/distinfo b/sysutils/xfce4-systemload-plugin/distinfo new file mode 100644 index 000000000..07c9b7594 --- /dev/null +++ b/sysutils/xfce4-systemload-plugin/distinfo @@ -0,0 +1,3 @@ +MD5 (xfce4/xfce4-systemload-plugin-0.3.4.tar.gz) = e9feb00af63e9953d9e690c145cc087e +SHA256 (xfce4/xfce4-systemload-plugin-0.3.4.tar.gz) = c7e7d29f7a9735eb224f94a8baeb161022983ed294e01c618606714823956735 +SIZE (xfce4/xfce4-systemload-plugin-0.3.4.tar.gz) = 219362 diff --git a/sysutils/xfce4-systemload-plugin/files/patch-configure b/sysutils/xfce4-systemload-plugin/files/patch-configure new file mode 100644 index 000000000..32a52a34a --- /dev/null +++ b/sysutils/xfce4-systemload-plugin/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Wed Jul 23 22:20:56 2003 ++++ configure Fri Aug 1 12:56:48 2003 +@@ -19567,7 +19568,7 @@ + + echo "$as_me:$LINENO: checking where to install panel plugins" >&5 + echo $ECHO_N "checking where to install panel plugins... $ECHO_C" >&6 +- XFCE4_PANEL_PLUGINSDIR=`$PKG_CONFIG --variable=pluginsdir xfce4-panel-1.0` ++ XFCE4_PANEL_PLUGINSDIR=${prefix}/lib/xfce4/panel-plugins + + echo "$as_me:$LINENO: result: $XFCE4_PANEL_PLUGINSDIR" >&5 + echo "${ECHO_T}$XFCE4_PANEL_PLUGINSDIR" >&6 diff --git a/sysutils/xfce4-systemload-plugin/files/patch-panel-plugin:uptime.c b/sysutils/xfce4-systemload-plugin/files/patch-panel-plugin:uptime.c new file mode 100644 index 000000000..8022de7f2 --- /dev/null +++ b/sysutils/xfce4-systemload-plugin/files/patch-panel-plugin:uptime.c @@ -0,0 +1,19 @@ +--- panel-plugin/uptime.c.orig Thu Nov 13 20:01:50 2003 ++++ panel-plugin/uptime.c Fri May 20 22:31:11 2005 +@@ -81,6 +81,7 @@ + #include <string.h> + #include <sys/param.h> + #include <sys/sysctl.h> ++#include <sys/time.h> + #include <sys/types.h> + #include <sys/vmmeter.h> + #include <unistd.h> +@@ -94,7 +95,7 @@ + int mib[2] = {CTL_KERN, KERN_BOOTTIME}; + struct timeval boottime; + time_t now; +- int size = sizeof(boottime); ++ size_t size = sizeof(boottime); + gulong uptime; + + if((sysctl(mib, 2, &boottime, &size, NULL, 0) != -1) diff --git a/sysutils/xfce4-systemload-plugin/pkg-descr b/sysutils/xfce4-systemload-plugin/pkg-descr new file mode 100644 index 000000000..bcb49c69b --- /dev/null +++ b/sysutils/xfce4-systemload-plugin/pkg-descr @@ -0,0 +1,4 @@ +System Load plugin for XFce4. + +Author: Riccardo Persichetti <riccardo.persichetti@tin.it> +WWW: http://xfce-goodies.berlios.de/ diff --git a/sysutils/xfce4-systemload-plugin/pkg-plist b/sysutils/xfce4-systemload-plugin/pkg-plist new file mode 100644 index 000000000..bb54a79ca --- /dev/null +++ b/sysutils/xfce4-systemload-plugin/pkg-plist @@ -0,0 +1,4 @@ +lib/xfce4/panel-plugins/libsystemload.a +lib/xfce4/panel-plugins/libsystemload.la +lib/xfce4/panel-plugins/libsystemload.so +@dirrmtry lib/xfce4/panel-plugins |