diff options
author | edwin <edwin@FreeBSD.org> | 2003-10-06 12:09:46 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-10-06 12:09:46 +0800 |
commit | e959be72ef9c6acf4bf97cb3e1b52b10a2da7ff2 (patch) | |
tree | 8ba8e099a8dc3bc59039a08a6de1c503f53d3775 | |
parent | 544e0101d32d857bc2e249acbdd743133369f8c9 (diff) | |
download | freebsd-ports-gnome-e959be72ef9c6acf4bf97cb3e1b52b10a2da7ff2.tar.gz freebsd-ports-gnome-e959be72ef9c6acf4bf97cb3e1b52b10a2da7ff2.tar.zst freebsd-ports-gnome-e959be72ef9c6acf4bf97cb3e1b52b10a2da7ff2.zip |
New port: net/gkrellmwireless2
New port for gkrellmwireless2 similar to gkrellmwireless.
Perhaps Jim Mock should be the maintainer for this port.
PR: ports/50072
Submitted by: Sin Key Teck <ktsin@acm.org>
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/gkrellmwireless2/Makefile | 24 | ||||
-rw-r--r-- | net/gkrellmwireless2/distinfo | 1 | ||||
-rw-r--r-- | net/gkrellmwireless2/files/patch-aa | 42 | ||||
-rw-r--r-- | net/gkrellmwireless2/pkg-descr | 4 | ||||
-rw-r--r-- | net/gkrellmwireless2/pkg-plist | 1 |
6 files changed, 73 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 6dbb3e068d50..3b382ca7192c 100644 --- a/net/Makefile +++ b/net/Makefile @@ -159,6 +159,7 @@ SUBDIR += gkrellmmultiping2 SUBDIR += gkrellmqst SUBDIR += gkrellmwireless + SUBDIR += gkrellmwireless2 SUBDIR += gnet SUBDIR += gnet-glib2 SUBDIR += gnet2 diff --git a/net/gkrellmwireless2/Makefile b/net/gkrellmwireless2/Makefile new file mode 100644 index 000000000000..3ddcabb9dc16 --- /dev/null +++ b/net/gkrellmwireless2/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: gkrellm-wireless +# Date Created: 17 Mar 2003 +# Whom: KT Sin <ktsin@acm.org> +# +# $FreeBSD$ +# + +PORTNAME= gkrellmwireless +PORTVERSION= 2.0.2 +CATEGORIES= net +MASTER_SITES= http://gkrellm.luon.net/files/ + +MAINTAINER= ktsin@acm.org +COMMENT= GKrellM wireless plugin + +BUILD_DEPENDS= ${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2 +RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 + +WRKSRC= ${WRKDIR}/gkrellmwireless + +USE_X_PREFIX= yes +USE_GMAKE= yes + +.include <bsd.port.mk> diff --git a/net/gkrellmwireless2/distinfo b/net/gkrellmwireless2/distinfo new file mode 100644 index 000000000000..deb2421f3b88 --- /dev/null +++ b/net/gkrellmwireless2/distinfo @@ -0,0 +1 @@ +MD5 (gkrellmwireless-2.0.2.tar.gz) = 0e4ed93dcc6cf916b4823da13de655e6 diff --git a/net/gkrellmwireless2/files/patch-aa b/net/gkrellmwireless2/files/patch-aa new file mode 100644 index 000000000000..26f3ee173d22 --- /dev/null +++ b/net/gkrellmwireless2/files/patch-aa @@ -0,0 +1,42 @@ +--- Makefile.orig Fri Dec 6 23:01:13 2002 ++++ Makefile Sun Mar 16 15:12:51 2003 +@@ -1,33 +1,23 @@ + # Depends on gmake.. + # +-OS = $(shell uname) +- +-ifeq ($(OS),FreeBSD) +- GTK_CONFIG = pkg-config gtk+-2.0 +- INCLUDE = -I/usr/src/sys +-elseif eq ($(OS),NetBSD) +- GTK_CONFIG = pkg-config gtk+-2.0 +-else +-# default to the linux +- GTK_CONFIG = pkg-config gtk+-2.0 +-endif + ++GTK_CONFIG = pkg-config gtk+-2.0 + + GTK_CFLAGS = `$(GTK_CONFIG) --cflags` + GTK_LIB = `$(GTK_CONFIG) --libs` + +-FLAGS = -O2 -Wall -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE) ++CFLAGS = -O2 -Wall -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE) + LIBS = $(GTK_LIB) + LFLAGS = -shared + +-CC = gcc $(CFLAGS) $(FLAGS) ++CC ?= gcc $(CFLAGS) $(FLAGS) + + OBJS = wireless.o + +-PLUGIN_DIR = /usr/lib/gkrellm2/plugins ++PLUGIN_DIR = ${PREFIX}/libexec/gkrellm2/plugins + +-INSTALL = install -c +-INSTALL_PROGRAM = $(INSTALL) -s ++INSTALL = install -c -s ++INSTALL_PROGRAM = $(INSTALL) + + all: wireless.so + diff --git a/net/gkrellmwireless2/pkg-descr b/net/gkrellmwireless2/pkg-descr new file mode 100644 index 000000000000..07f7c49076a9 --- /dev/null +++ b/net/gkrellmwireless2/pkg-descr @@ -0,0 +1,4 @@ +A plugin for gkrellm2 that monitors the signal quality of a wireless card +(wi0 only). + +WWW: http://gkrellm.luon.net/gkrellmwireless.phtml diff --git a/net/gkrellmwireless2/pkg-plist b/net/gkrellmwireless2/pkg-plist new file mode 100644 index 000000000000..90be4d70c3fd --- /dev/null +++ b/net/gkrellmwireless2/pkg-plist @@ -0,0 +1 @@ +libexec/gkrellm2/plugins/wireless.so |