From d761c63128511bd986cd63ced7a1bbe5b2be0896 Mon Sep 17 00:00:00 2001 From: cube Date: Tue, 24 Feb 2004 23:10:42 +0000 Subject: Re-import of misc/gkrellm-weather as misc/gkrellm1-weather to leave space for the GKrellM-2 port of the weather plugin. --- misc/gkrellm1-weather/DESCR | 11 ++++++++ misc/gkrellm1-weather/Makefile | 21 +++++++++++++++ misc/gkrellm1-weather/PLIST | 2 ++ misc/gkrellm1-weather/distinfo | 5 ++++ misc/gkrellm1-weather/patches/patch-aa | 49 ++++++++++++++++++++++++++++++++++ 5 files changed, 88 insertions(+) create mode 100644 misc/gkrellm1-weather/DESCR create mode 100644 misc/gkrellm1-weather/Makefile create mode 100644 misc/gkrellm1-weather/PLIST create mode 100644 misc/gkrellm1-weather/distinfo create mode 100644 misc/gkrellm1-weather/patches/patch-aa (limited to 'misc') diff --git a/misc/gkrellm1-weather/DESCR b/misc/gkrellm1-weather/DESCR new file mode 100644 index 00000000000..59084359fae --- /dev/null +++ b/misc/gkrellm1-weather/DESCR @@ -0,0 +1,11 @@ +GKrellWeather is a weather plugin for GKrellM. +Features + -Choose your own location by 4-letter METAR station identifier code. + -Monitor temperature, dew point, pressure, relative humidity, sky + condition, wind direction and speed + -Display using imperial units (degrees Fareheight, inches of Mercury, + miles per hour) + -Display using metric units (degrees Celsius, millimeters of Mercury, + kilometers per hour) + -Display pressure in kPa, hPa and mmHg + -Display wind speeds in kmph, mps and beaufort scale diff --git a/misc/gkrellm1-weather/Makefile b/misc/gkrellm1-weather/Makefile new file mode 100644 index 00000000000..4df4239f2cb --- /dev/null +++ b/misc/gkrellm1-weather/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/02/24 23:10:42 cube Exp $ + +DISTNAME= gkrellweather-0.2.7 +PKGNAME= gkrellm-weather-0.2.7 +PKGREVISION= 4 +CATEGORIES= misc +MASTER_SITES= http://www.cse.unsw.edu.au/~flam/repository/c/gkrellm/ + +MAINTAINER= damon@NetBSD.org +HOMEPAGE= http://www.cse.unsw.edu.au/~flam/programs/gkrellweather.html +COMMENT= gkrellm weather plugin + +DEPENDS+= wmweather>=1.3:../../x11/wmweather + +USE_BUILDLINK2= YES + +pre-install: + ${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm/plugins + +.include "../../sysutils/gkrellm/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/misc/gkrellm1-weather/PLIST b/misc/gkrellm1-weather/PLIST new file mode 100644 index 00000000000..bad1e0ce43c --- /dev/null +++ b/misc/gkrellm1-weather/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/24 23:10:42 cube Exp $ +lib/gkrellm/plugins/gkrellweather.so diff --git a/misc/gkrellm1-weather/distinfo b/misc/gkrellm1-weather/distinfo new file mode 100644 index 00000000000..704ede8ced5 --- /dev/null +++ b/misc/gkrellm1-weather/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/02/24 23:10:42 cube Exp $ + +SHA1 (gkrellweather-0.2.7.tar.gz) = 509ec48ee81022f22ebe8cfa01768bcc6db2a7a7 +Size (gkrellweather-0.2.7.tar.gz) = 17188 bytes +SHA1 (patch-aa) = e1fed69e9ea938c1295bff7b06c29187c5a5ed4b diff --git a/misc/gkrellm1-weather/patches/patch-aa b/misc/gkrellm1-weather/patches/patch-aa new file mode 100644 index 00000000000..4ed2acdc36e --- /dev/null +++ b/misc/gkrellm1-weather/patches/patch-aa @@ -0,0 +1,49 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/02/24 23:10:43 cube Exp $ + +--- Makefile.orig Sat Oct 20 01:16:36 2001 ++++ Makefile +@@ -5,14 +5,16 @@ + IMLIB_LIB = `imlib-config --libs-gdk` + + +-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) ++CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) -I${PREFIX}/include + LIBS = $(GTK_LIB) $(IMLIB_LIB) + LFLAGS = -shared + +-CC = gcc $(CFLAGS) $(FLAGS) ++CC = gcc $(CFLAGS) + + OBJS = gkrellweather.o + ++all: gkrellweather.so ++ + gkrellweather.so: $(OBJS) + $(CC) $(OBJS) -o gkrellweather.so $(LFLAGS) $(LIBS) -lpthread + +@@ -22,23 +24,7 @@ + gkrellweather.o: gkrellweather.c + + install: +- if [ -d /usr/lib/gkrellm/plugins/ ] ; then \ +- install -c -s -m 644 gkrellweather.so /usr/lib/gkrellm/plugins/ ; \ +- elif [ -d /usr/share/gkrellm/plugins/ ] ; then \ +- install -c -s -m 644 gkrellweather.so /usr/share/gkrellm/plugins/ ; \ +- elif [ -d /usr/local/lib/gkrellm/plugins/ ] ; then \ +- install -c -s -m 644 gkrellweather.so /usr/local/lib/gkrellm/plugins/ ; \ +- elif [ -d /usr/lib/gkrellm/plugins/ ] ; then \ +- install -c -s -m 644 gkrellweather.so /usr/lib/gkrellm/plugins/ ; \ +- else \ +- install -D -c -s -m 644 gkrellweather.so /usr/lib/gkrellm/plugins/gkrellweather.so ; \ +- fi +- install -c -m 755 GrabWeather /usr/X11R6/bin ++ install -c -s -m 644 gkrellweather.so ${PREFIX}/lib/gkrellm/plugins/ + + uninstall: +- rm -f /usr/lib/gkrellm/plugins/gkrellweather.so +- rm -f /usr/share/gkrellm/plugins/gkrellweather.so +- rm -f /usr/local/lib/gkrellm/plugins/gkrellweather.so +- rm -f /usr/lib/gkrellm/plugins/gkrellweather.so +- rm -f /usr/X11R6/bin/GrabWeather +- ++ rm -f ${PREFIX}/lib/plugins/gkrellweather.so -- cgit v1.2.3