summaryrefslogtreecommitdiffstats
path: root/sysutils/xfce4-netload-plugin
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2003-09-03 14:10:01 +0000
committerdemon <demon@FreeBSD.org>2003-09-03 14:10:01 +0000
commit5ca1e275ec033ed246a326fcb5c609bc3c025134 (patch)
tree7fec70e198b33dab94e9e0e041a0d88409c8d65b /sysutils/xfce4-netload-plugin
parentc59f65fda9abeb8a2c1c3f9f0c64d19edd283056 (diff)
downloadFreeBSD-ports-5ca1e275ec033ed246a326fcb5c609bc3c025134.zip
FreeBSD-ports-5ca1e275ec033ed246a326fcb5c609bc3c025134.tar.gz
New port: Network Load plugin for XFce4.
Diffstat (limited to 'sysutils/xfce4-netload-plugin')
-rw-r--r--sysutils/xfce4-netload-plugin/Makefile31
-rw-r--r--sysutils/xfce4-netload-plugin/distinfo1
-rw-r--r--sysutils/xfce4-netload-plugin/files/patch-configure12
-rw-r--r--sysutils/xfce4-netload-plugin/files/patch-panel-plugin-netload.c11
-rw-r--r--sysutils/xfce4-netload-plugin/pkg-descr3
-rw-r--r--sysutils/xfce4-netload-plugin/pkg-plist3
6 files changed, 61 insertions, 0 deletions
diff --git a/sysutils/xfce4-netload-plugin/Makefile b/sysutils/xfce4-netload-plugin/Makefile
new file mode 100644
index 0000000..4276ea5
--- /dev/null
+++ b/sysutils/xfce4-netload-plugin/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: xfce-netload-plugin
+# Date created: 3 September 2003
+# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xfce4-netload-plugin
+PORTVERSION= 0.2.0.p5
+CATEGORIES= sysutils xfce
+MASTER_SITES= http://download.berlios.de/xfce-goodies/
+DISTNAME= ${PORTNAME}-0.2.0pre5
+DIST_SUBDIR= xfce4
+
+MAINTAINER= demon@FreeBSD.org
+COMMENT= Network 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.1:${PORTSDIR}/x11-toolkits/libxfce4gui
+RUN_DEPENDS= xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel
+
+USE_GNOME= gtk20
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+INSTALLS_SHLIB= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+
+.include <bsd.port.mk>
diff --git a/sysutils/xfce4-netload-plugin/distinfo b/sysutils/xfce4-netload-plugin/distinfo
new file mode 100644
index 0000000..8465eb2
--- /dev/null
+++ b/sysutils/xfce4-netload-plugin/distinfo
@@ -0,0 +1 @@
+MD5 (xfce4/xfce4-netload-plugin-0.2.0pre5.tar.gz) = a68ae92ad0f20351e490f74b8357c5ae
diff --git a/sysutils/xfce4-netload-plugin/files/patch-configure b/sysutils/xfce4-netload-plugin/files/patch-configure
new file mode 100644
index 0000000..89d7123
--- /dev/null
+++ b/sysutils/xfce4-netload-plugin/files/patch-configure
@@ -0,0 +1,12 @@
+--- configure.orig Wed Sep 3 18:00:58 2003
++++ configure Wed Sep 3 18:01:55 2003
+@@ -18497,7 +18497,8 @@
+
+
+ # This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++LIBTOOL_DEPS="--disable-ltlibs /usr/local/share/libtool13/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/sysutils/xfce4-netload-plugin/files/patch-panel-plugin-netload.c b/sysutils/xfce4-netload-plugin/files/patch-panel-plugin-netload.c
new file mode 100644
index 0000000..f5f7f43
--- /dev/null
+++ b/sysutils/xfce4-netload-plugin/files/patch-panel-plugin-netload.c
@@ -0,0 +1,11 @@
+--- panel-plugin/netload.c.orig Wed Sep 3 18:04:50 2003
++++ panel-plugin/netload.c Wed Sep 3 18:05:13 2003
+@@ -43,7 +43,7 @@
+
+ /* Defaults */
+ #define DEFAULT_TEXT "Net"
+-#define DEFAULT_DEVICE "eth0"
++#define DEFAULT_DEVICE "fxp0"
+
+ #define INIT_MAX 4096
+ #define MINIMAL_MAX 1024
diff --git a/sysutils/xfce4-netload-plugin/pkg-descr b/sysutils/xfce4-netload-plugin/pkg-descr
new file mode 100644
index 0000000..638ccff
--- /dev/null
+++ b/sysutils/xfce4-netload-plugin/pkg-descr
@@ -0,0 +1,3 @@
+Network Load plugin for XFce4.
+
+WWW: http://www.xfce.org/
diff --git a/sysutils/xfce4-netload-plugin/pkg-plist b/sysutils/xfce4-netload-plugin/pkg-plist
new file mode 100644
index 0000000..2596dfd
--- /dev/null
+++ b/sysutils/xfce4-netload-plugin/pkg-plist
@@ -0,0 +1,3 @@
+lib/xfce4/panel-plugins/libnetload.so
+@unexec rmdir %D/lib/xfce4/panel-plugins 2>/dev/null || true
+@unexec rmdir %D/lib/xfce4 2>/dev/null || true
OpenPOWER on IntegriCloud