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>
This commit is contained in:
Pav Lucistnik 2004-07-31 19:01:26 +00:00
parent d514e0abaf
commit f5fd241497
5 changed files with 64 additions and 0 deletions

View file

@ -500,6 +500,7 @@
SUBDIR += xsysstats
SUBDIR += xvidcap
SUBDIR += xwipower
SUBDIR += xwlans
SUBDIR += yawho
SUBDIR += zidrav
SUBDIR += zisofs-tools

20
sysutils/xwlans/Makefile Normal file
View file

@ -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>

2
sysutils/xwlans/distinfo Normal file
View file

@ -0,0 +1,2 @@
MD5 (xwlans-0.1.2.tar.gz) = c36c7764470200cabaaf40a850bce7a9
SIZE (xwlans-0.1.2.tar.gz) = 4836

View file

@ -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

View file

@ -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