summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/gkrellm-wireless/Makefile24
-rw-r--r--net/gkrellm-wireless/distinfo5
-rw-r--r--net/gkrellm-wireless/patches/patch-aa35
-rw-r--r--net/gkrellm-wireless/pkg/DESCR4
-rw-r--r--net/gkrellm-wireless/pkg/PLIST2
5 files changed, 70 insertions, 0 deletions
diff --git a/net/gkrellm-wireless/Makefile b/net/gkrellm-wireless/Makefile
new file mode 100644
index 00000000000..0d47af67ff6
--- /dev/null
+++ b/net/gkrellm-wireless/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/10/31 00:30:21 damon Exp $
+
+DISTNAME= gkrellmwireless-0.2.2
+PKGNAME= gkrellm-wireless-0.2.2
+CATEGORIES= net sysutils
+MASTER_SITES= http://gkrellm.luon.net/files/
+
+MAINTAINER= jasper@pointless.net
+HOMEPAGE= http://gkrellm.luon.net/gkrellmwireless.phtml
+COMMENT= wavelan signal strength monitor for gkrellm
+
+DEPENDS= gkrellm-1.2.*:../../sysutils/gkrellm
+
+ONLY_FOR_PLATFORM= *BSD-*-* Linux-*-*
+
+USE_GMAKE= #defined
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wireless.so ${PREFIX}/lib/gkrellm/plugins/
+
+.include "../../mk/bsd.prefs.mk"
+.include "../../graphics/imlib/buildlink.mk"
+.include "../../x11/gtk/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/gkrellm-wireless/distinfo b/net/gkrellm-wireless/distinfo
new file mode 100644
index 00000000000..22ae9d5f330
--- /dev/null
+++ b/net/gkrellm-wireless/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/10/31 00:30:21 damon Exp $
+
+SHA1 (gkrellmwireless-0.2.2.tar.gz) = 184d1aa034e4cf4a76d279d8bf0dcc278b134252
+Size (gkrellmwireless-0.2.2.tar.gz) = 7971 bytes
+SHA1 (patch-aa) = df80eba1947398684988f199c462185b1ab02c0d
diff --git a/net/gkrellm-wireless/patches/patch-aa b/net/gkrellm-wireless/patches/patch-aa
new file mode 100644
index 00000000000..285e88007ad
--- /dev/null
+++ b/net/gkrellm-wireless/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/10/31 00:30:21 damon Exp $
+
+--- Makefile.orig Sun Sep 9 10:12:41 2001
++++ Makefile
+@@ -12,6 +12,9 @@
+ GTK_CONFIG = gtk-config
+ endif
+
++ifeq ($(OS),NetBSD)
++ GTK_CONFIG = gtk-config
++endif
+
+ GTK_INCLUDE = `$(GTK_CONFIG) --cflags gthread`
+ GTK_LIB = `$(GTK_CONFIG) --libs gthread`
+@@ -20,17 +23,17 @@
+ IMLIB_LIB = `imlib-config --libs-gdk`
+
+
+-FLAGS = -g -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(INCLUDE)
++CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(INCLUDE) -I${PREFIX}/include
+ LIBS = $(GTK_LIB) $(IMLIB_LIB)
+ LFLAGS = -shared
+
+-CC = gcc $(CFLAGS) $(FLAGS)
++CC = gcc $(CFLAGS)
+
+ OBJS = wireless.o
+
+ INSTALL = install -c -s
+ INSTALL_PERMS = -m 755
+-PLUGIN_DIR = /usr/lib/gkrellm/plugins
++PLUGIN_DIR = ${PREFIX}/lib/gkrellm/plugins
+
+
+ all: wireless.so
diff --git a/net/gkrellm-wireless/pkg/DESCR b/net/gkrellm-wireless/pkg/DESCR
new file mode 100644
index 00000000000..728f8c57d97
--- /dev/null
+++ b/net/gkrellm-wireless/pkg/DESCR
@@ -0,0 +1,4 @@
+gkrellmwireless is a plugin for gkrellm that shows the signal
+strength/quality/noise of a wireless ethernet card.
+
+Currently only wi(4) (Lucent ORiNOCO and derivatives) interfaces are supported.
diff --git a/net/gkrellm-wireless/pkg/PLIST b/net/gkrellm-wireless/pkg/PLIST
new file mode 100644
index 00000000000..9c47afd4f93
--- /dev/null
+++ b/net/gkrellm-wireless/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/31 00:30:21 damon Exp $
+lib/gkrellm/plugins/wireless.so