aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-08-01 03:01:26 +0800
committerpav <pav@FreeBSD.org>2004-08-01 03:01:26 +0800
commite9d8fecacb872185a35d1316c5c4b74801057f00 (patch)
tree63954b70417cfc28ab995ce1cfe9063505fcdef2 /sysutils
parent8eec78552b0091b0830e0fc542b0c1dc7c2c1dd3 (diff)
downloadfreebsd-ports-gnome-e9d8fecacb872185a35d1316c5c4b74801057f00.tar.gz
freebsd-ports-gnome-e9d8fecacb872185a35d1316c5c4b74801057f00.tar.zst
freebsd-ports-gnome-e9d8fecacb872185a35d1316c5c4b74801057f00.zip
Add xwlans, an utility which displays your current wlan (IEEE 802.11/wavelan)
signal strength in a nice graph on your X11 root desktop. WWW: http://shapeshifter.se/code/xwlans/ PR: ports/69822 Submitted by: Fredrik Lindberg <fredde@shapeshifter.se>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/xwlans/Makefile20
-rw-r--r--sysutils/xwlans/distinfo2
-rw-r--r--sysutils/xwlans/files/patch-Makefile34
-rw-r--r--sysutils/xwlans/pkg-descr7
5 files changed, 64 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index e1e672906926..15daec1b9c84 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -500,6 +500,7 @@
SUBDIR += xsysstats
SUBDIR += xvidcap
SUBDIR += xwipower
+ SUBDIR += xwlans
SUBDIR += yawho
SUBDIR += zidrav
SUBDIR += zisofs-tools
diff --git a/sysutils/xwlans/Makefile b/sysutils/xwlans/Makefile
new file mode 100644
index 000000000000..0cc543553fd5
--- /dev/null
+++ b/sysutils/xwlans/Makefile
@@ -0,0 +1,20 @@
+# Ports collection makefile for: xwlans
+# Date created: 30 July 2004
+# Whom: Fredrik Lindberg <fredde@shapeshifter.se>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xwlans
+PORTVERSION= 0.1.2
+CATEGORIES= sysutils
+MASTER_SITES= http://shapeshifter.se/code/xwlans/release/ \
+ http://mirror.shapeshifter.se/code/xwlans/release/
+
+MAINTAINER= fli@shapeshifter.se
+COMMENT= Utilty to display your wavelan signal strength on the X11 root-display
+
+USE_X_PREFIX= yes
+PLIST_FILES= bin/xwlans
+
+.include <bsd.port.mk>
diff --git a/sysutils/xwlans/distinfo b/sysutils/xwlans/distinfo
new file mode 100644
index 000000000000..44e53e83fed0
--- /dev/null
+++ b/sysutils/xwlans/distinfo
@@ -0,0 +1,2 @@
+MD5 (xwlans-0.1.2.tar.gz) = c36c7764470200cabaaf40a850bce7a9
+SIZE (xwlans-0.1.2.tar.gz) = 4836
diff --git a/sysutils/xwlans/files/patch-Makefile b/sysutils/xwlans/files/patch-Makefile
new file mode 100644
index 000000000000..5e2db76568a5
--- /dev/null
+++ b/sysutils/xwlans/files/patch-Makefile
@@ -0,0 +1,34 @@
+*** Makefile.orig Tue Dec 23 16:43:46 2003
+--- Makefile Fri Jul 30 20:08:42 2004
+***************
+*** 1,15 ****
+! CC = gcc
+! CFLAGS = -O2 -ansi -Wall -L/usr/X11R6/lib -I/usr/X11R6/include
+
+ OBJS = main.o graphics.o sys.o osdep/freebsd.o
+
+ all:: ${OBJS}
+! ${CC} -o xwlans *.o -lX11 -L/usr/X11R6/lib -I/usr/X11R6/include
+
+ install:: xwlans
+ strip xwlans
+! cp xwlans /usr/X11R6/bin
+! chmod 0755 /usr/X11R6/bin/xwlans
+
+ clean::
+ rm *.o
+--- 1,14 ----
+! CFLAGS += -L${X11BASE}/lib -I${X11BASE}/include
+
+ OBJS = main.o graphics.o sys.o osdep/freebsd.o
+
+ all:: ${OBJS}
+! ${CC} -o xwlans *.o -lX11 -L${X11BASE}/lib -I${X11BASE}/include
+
+ install:: xwlans
+ strip xwlans
+! cp xwlans ${PREFIX}/bin
+! chmod 0755 ${PREFIX}/bin/xwlans
+
+ clean::
+ rm *.o
diff --git a/sysutils/xwlans/pkg-descr b/sysutils/xwlans/pkg-descr
new file mode 100644
index 000000000000..cd2d7a52a3f0
--- /dev/null
+++ b/sysutils/xwlans/pkg-descr
@@ -0,0 +1,7 @@
+This utility displays your current wlan (IEEE 802.11/wavelan) signal strength
+in a nice graph on your X11 root desktop.
+
+WWW: http://shapeshifter.se/code/xwlans/
+
+-- Fredrik Lindberg
+ fli@shapeshifter.se