diff options
author | Jim Mock <jim@FreeBSD.org> | 2002-03-05 07:06:00 +0000 |
---|---|---|
committer | Jim Mock <jim@FreeBSD.org> | 2002-03-05 07:06:00 +0000 |
commit | 422cf1395e247965ae9efa1147df64176a7645c8 (patch) | |
tree | 4159c197a2a1cbd90b5757ff0d32b749f79477eb /net/gkrellmwireless | |
parent | 5adafd9478f861b9591a731287e047fca6d5fc54 (diff) | |
download | ports-422cf1395e247965ae9efa1147df64176a7645c8.tar.gz ports-422cf1395e247965ae9efa1147df64176a7645c8.zip |
Add gkrellmwireless, a plugin for gkrellm that monitors the signal
quality of a wireless card (wi0 only).
Notes
Notes:
svn path=/head/; revision=55553
Diffstat (limited to 'net/gkrellmwireless')
-rw-r--r-- | net/gkrellmwireless/Makefile | 22 | ||||
-rw-r--r-- | net/gkrellmwireless/distinfo | 1 | ||||
-rw-r--r-- | net/gkrellmwireless/files/patch-aa | 44 | ||||
-rw-r--r-- | net/gkrellmwireless/pkg-comment | 1 | ||||
-rw-r--r-- | net/gkrellmwireless/pkg-descr | 6 | ||||
-rw-r--r-- | net/gkrellmwireless/pkg-plist | 1 |
6 files changed, 75 insertions, 0 deletions
diff --git a/net/gkrellmwireless/Makefile b/net/gkrellmwireless/Makefile new file mode 100644 index 000000000000..b48edfe388de --- /dev/null +++ b/net/gkrellmwireless/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: gkrellm-wireless +# Date Created: 4 Mar 2002 +# Whom: Jim Mock <jim@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gkrellmwireless +PORTVERSION= 0.2.2 +CATEGORIES= net +MASTER_SITES= http://gkrellm.luon.net/files/ + +MAINTAINER= jim@FreeBSD.org + +BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm +RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm + +USE_X_PREFIX= yes +USE_IMLIB= yes +USE_GMAKE= yes + +.include <bsd.port.mk> diff --git a/net/gkrellmwireless/distinfo b/net/gkrellmwireless/distinfo new file mode 100644 index 000000000000..0263fac8de47 --- /dev/null +++ b/net/gkrellmwireless/distinfo @@ -0,0 +1 @@ +MD5 (gkrellmwireless-0.2.2.tar.gz) = c187d6bc720080acaabc88c76160a49a diff --git a/net/gkrellmwireless/files/patch-aa b/net/gkrellmwireless/files/patch-aa new file mode 100644 index 000000000000..86f987d6b6cc --- /dev/null +++ b/net/gkrellmwireless/files/patch-aa @@ -0,0 +1,44 @@ +--- Makefile.orig Sun Sep 9 07:12:41 2001 ++++ Makefile Mon Mar 4 22:51:36 2002 +@@ -1,36 +1,24 @@ + # Depends on gmake.. + # +-OS = $(shell uname) +- +-ifeq ($(OS),FreeBSD) +- GTK_CONFIG = gtk12-config +- INCLUDE = -I/usr/src/sys +-elseif eq ($(OS),NetBSD) +- GTK_CONFIG = gtk-config +-else +-# default to the linux +- GTK_CONFIG = gtk-config +-endif +- + + GTK_INCLUDE = `$(GTK_CONFIG) --cflags gthread` + GTK_LIB = `$(GTK_CONFIG) --libs gthread` + +-IMLIB_INCLUDE = `imlib-config --cflags-gdk` +-IMLIB_LIB = `imlib-config --libs-gdk` ++IMLIB_INCLUDE = `${IMLIB_CONFIG} --cflags-gdk` ++IMLIB_LIB = `${IMLIB_CONFIG} --libs-gdk` + + +-FLAGS = -g -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(INCLUDE) ++CFLAGS = -g -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(INCLUDE) + LIBS = $(GTK_LIB) $(IMLIB_LIB) + LFLAGS = -shared + +-CC = gcc $(CFLAGS) $(FLAGS) ++CC ?= gcc $(CFLAGS) $(FLAGS) + + OBJS = wireless.o + + INSTALL = install -c -s + INSTALL_PERMS = -m 755 +-PLUGIN_DIR = /usr/lib/gkrellm/plugins ++PLUGIN_DIR = ${PREFIX}/libexec/gkrellm/plugins + + + all: wireless.so diff --git a/net/gkrellmwireless/pkg-comment b/net/gkrellmwireless/pkg-comment new file mode 100644 index 000000000000..c5ba9e25ec57 --- /dev/null +++ b/net/gkrellmwireless/pkg-comment @@ -0,0 +1 @@ +GKrellM wireless plugin diff --git a/net/gkrellmwireless/pkg-descr b/net/gkrellmwireless/pkg-descr new file mode 100644 index 000000000000..65454fbb1ba5 --- /dev/null +++ b/net/gkrellmwireless/pkg-descr @@ -0,0 +1,6 @@ +A plugin for gkrellm that monitors the signal quality of a wireless card +(wi0 only). + +WWW: http://gkrellm.luon.net/gkrellmwireless.phtml + +- jim <jim@FreeBSD.org> diff --git a/net/gkrellmwireless/pkg-plist b/net/gkrellmwireless/pkg-plist new file mode 100644 index 000000000000..cf6684c4f381 --- /dev/null +++ b/net/gkrellmwireless/pkg-plist @@ -0,0 +1 @@ +libexec/gkrellm/plugins/wireless.so |