From 77754258f7cbbe2836d36817085b90fb8dc003b8 Mon Sep 17 00:00:00 2001 From: edwin Date: Tue, 30 Sep 2003 00:31:57 +0000 Subject: [new port] sysutils/bubblemon2 Bubblemon2 is a system CPU and memory load monitor for GNOME2 PR: ports/54245 Submitted by: Juan Salaverria --- sysutils/bubblemon2/Makefile | 43 ++++++++++++++++++++++ sysutils/bubblemon2/distinfo | 1 + .../bubblemon2/files/patch-src::gnome1-meter.c | 10 +++++ .../bubblemon2/files/patch-src::gnome1-netload.c | 10 +++++ sysutils/bubblemon2/pkg-descr | 9 +++++ sysutils/bubblemon2/pkg-plist | 30 +++++++++++++++ 6 files changed, 103 insertions(+) create mode 100644 sysutils/bubblemon2/Makefile create mode 100644 sysutils/bubblemon2/distinfo create mode 100644 sysutils/bubblemon2/files/patch-src::gnome1-meter.c create mode 100644 sysutils/bubblemon2/files/patch-src::gnome1-netload.c create mode 100644 sysutils/bubblemon2/pkg-descr create mode 100644 sysutils/bubblemon2/pkg-plist (limited to 'sysutils/bubblemon2') diff --git a/sysutils/bubblemon2/Makefile b/sysutils/bubblemon2/Makefile new file mode 100644 index 0000000..c0b1e20 --- /dev/null +++ b/sysutils/bubblemon2/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: sysutils/bubblemon2 +# Date created: 08 Jul 2002 +# Whom: Juan Salaverria +# +# $FreeBSD$ + +PORTNAME= bubblemon2 +PORTVERSION= 2.0.1 +CATEGORIES= sysutils gnome +MASTER_SITES= ${MASTER_SITE_SAVANNAH} +MASTER_SITE_SUBDIR= bubblemon +DISTNAME= bubblemon-${PORTVERSION} + +MAINTAINER= rael@vectorstar.net +COMMENT= Bubblemon2 is a system CPU and memory load monitor for GNOME2 + +LIB_DEPENDS= gtop-2.0:${PORTSDIR}/devel/libgtop2 + +USE_X_PREFIX= yes +USE_REINPLACE= yes +USE_GMAKE= yes +USE_LIBTOOL= yes +USE_GNOME= gnomehack gnomeprefix gnomepanel +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +MAN1= bubblemon-gnome2.1 +MANLANG= "" hu sv + +DOCS= AUTHORS COPYING ChangeLog FAQ PROFILING TRANSLATIONS NEWS README TODO + +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ;' ${WRKSRC}/configure + +post-install: +.if !defined(NOPORTDOCS) + ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/sysutils/bubblemon2/distinfo b/sysutils/bubblemon2/distinfo new file mode 100644 index 0000000..0cc32a4 --- /dev/null +++ b/sysutils/bubblemon2/distinfo @@ -0,0 +1 @@ +MD5 (bubblemon-2.0.1.tar.gz) = 8153a682551fcc73344420c4857ea198 diff --git a/sysutils/bubblemon2/files/patch-src::gnome1-meter.c b/sysutils/bubblemon2/files/patch-src::gnome1-meter.c new file mode 100644 index 0000000..9313e12 --- /dev/null +++ b/sysutils/bubblemon2/files/patch-src::gnome1-meter.c @@ -0,0 +1,10 @@ +--- src/gnome1-meter.c.orig Tue Jul 8 02:09:17 2003 ++++ src/gnome1-meter.c Tue Jul 8 02:09:25 2003 +@@ -20,6 +20,7 @@ + * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. + */ + ++#include + #include + #include + #include diff --git a/sysutils/bubblemon2/files/patch-src::gnome1-netload.c b/sysutils/bubblemon2/files/patch-src::gnome1-netload.c new file mode 100644 index 0000000..f7ff3cd --- /dev/null +++ b/sysutils/bubblemon2/files/patch-src::gnome1-netload.c @@ -0,0 +1,10 @@ +--- src/gnome1-netload.c.orig Tue Jul 8 02:12:27 2003 ++++ src/gnome1-netload.c Tue Jul 8 02:13:12 2003 +@@ -22,6 +22,7 @@ + * This is the Gnome 1 specific network load measuring stuff. + */ + ++#include + #include + #include + #include diff --git a/sysutils/bubblemon2/pkg-descr b/sysutils/bubblemon2/pkg-descr new file mode 100644 index 0000000..0f6eb30 --- /dev/null +++ b/sysutils/bubblemon2/pkg-descr @@ -0,0 +1,9 @@ +Bubblemon displays something that looks like a vial containing water. The water +level indicates how much memory is in use. The color of the liquid indicates +how much swap space is used (watery blue means none and angry red means all). +The system CPU load is indicated by bubbles floating up through the liquid; +lots of bubbles means high CPU load. + +WWW: http://www.nongnu.org/bubblemon/ + +d92-jwa@nada.kth.se diff --git a/sysutils/bubblemon2/pkg-plist b/sysutils/bubblemon2/pkg-plist new file mode 100644 index 0000000..9bb7888 --- /dev/null +++ b/sysutils/bubblemon2/pkg-plist @@ -0,0 +1,30 @@ +libdata/bonobo/servers/GNOME_BubblemonApplet.server +libexec/bubblemon-gnome2 +share/gnome/gnome-2.0/ui/GNOME_BubblemonApplet.xml +share/gnome/pixmaps/bubblemon.png +share/locale/sv/LC_MESSAGES/bubblemon.mo +share/locale/fr/LC_MESSAGES/bubblemon.mo +share/locale/pl/LC_MESSAGES/bubblemon.mo +share/locale/de/LC_MESSAGES/bubblemon.mo +share/locale/ko/LC_MESSAGES/bubblemon.mo +share/locale/fi/LC_MESSAGES/bubblemon.mo +share/locale/da/LC_MESSAGES/bubblemon.mo +share/locale/sh/LC_MESSAGES/bubblemon.mo +share/locale/pt/LC_MESSAGES/bubblemon.mo +share/locale/ro/LC_MESSAGES/bubblemon.mo +share/locale/es/LC_MESSAGES/bubblemon.mo +share/locale/no/LC_MESSAGES/bubblemon.mo +share/locale/hu/LC_MESSAGES/bubblemon.mo +share/locale/it/LC_MESSAGES/bubblemon.mo +share/locale/is/LC_MESSAGES/bubblemon.mo +share/locale/ru/LC_MESSAGES/bubblemon.mo +%%PORTDOCS%%share/doc/bubblemon2/AUTHORS +%%PORTDOCS%%share/doc/bubblemon2/COPYING +%%PORTDOCS%%share/doc/bubblemon2/ChangeLog +%%PORTDOCS%%share/doc/bubblemon2/FAQ +%%PORTDOCS%%share/doc/bubblemon2/NEWS +%%PORTDOCS%%share/doc/bubblemon2/PROFILING +%%PORTDOCS%%share/doc/bubblemon2/README +%%PORTDOCS%%share/doc/bubblemon2/TODO +%%PORTDOCS%%share/doc/bubblemon2/TRANSLATIONS +%%PORTDOCS%%@dirrm share/doc/bubblemon2 -- cgit v1.1