From 422cf1395e247965ae9efa1147df64176a7645c8 Mon Sep 17 00:00:00 2001 From: Jim Mock Date: Tue, 5 Mar 2002 07:06:00 +0000 Subject: Add gkrellmwireless, a plugin for gkrellm that monitors the signal quality of a wireless card (wi0 only). --- net/Makefile | 1 + net/gkrellmwireless/Makefile | 22 +++++++++++++++++++ net/gkrellmwireless/distinfo | 1 + net/gkrellmwireless/files/patch-aa | 44 ++++++++++++++++++++++++++++++++++++++ net/gkrellmwireless/pkg-comment | 1 + net/gkrellmwireless/pkg-descr | 6 ++++++ net/gkrellmwireless/pkg-plist | 1 + 7 files changed, 76 insertions(+) create mode 100644 net/gkrellmwireless/Makefile create mode 100644 net/gkrellmwireless/distinfo create mode 100644 net/gkrellmwireless/files/patch-aa create mode 100644 net/gkrellmwireless/pkg-comment create mode 100644 net/gkrellmwireless/pkg-descr create mode 100644 net/gkrellmwireless/pkg-plist (limited to 'net') diff --git a/net/Makefile b/net/Makefile index 108574313507..78b07928ca7c 100644 --- a/net/Makefile +++ b/net/Makefile @@ -134,6 +134,7 @@ SUBDIR += gift SUBDIR += gkrellm_snmp SUBDIR += gkrellmqst + SUBDIR += gkrellmwireless SUBDIR += gnet SUBDIR += gnomba SUBDIR += gnome-vnc 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 +# +# $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 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 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 -- cgit v1.2.3