From 001e582ecda8847e8031126ab07e01b70dd9bf77 Mon Sep 17 00:00:00 2001 From: damon Date: Tue, 30 Oct 2001 13:22:05 +0000 Subject: Initial Version --- misc/gkrellm-weather/Makefile | 15 +++++++++++ misc/gkrellm-weather/distinfo | 5 ++++ misc/gkrellm-weather/patches/patch-aa | 49 +++++++++++++++++++++++++++++++++++ misc/gkrellm-weather/pkg/DESCR | 11 ++++++++ misc/gkrellm-weather/pkg/PLIST | 2 ++ 5 files changed, 82 insertions(+) create mode 100644 misc/gkrellm-weather/Makefile create mode 100644 misc/gkrellm-weather/distinfo create mode 100644 misc/gkrellm-weather/patches/patch-aa create mode 100644 misc/gkrellm-weather/pkg/DESCR create mode 100644 misc/gkrellm-weather/pkg/PLIST (limited to 'misc/gkrellm-weather') diff --git a/misc/gkrellm-weather/Makefile b/misc/gkrellm-weather/Makefile new file mode 100644 index 00000000000..a329c491c26 --- /dev/null +++ b/misc/gkrellm-weather/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/10/30 13:24:58 damon Exp $ + +DISTNAME= gkrellweather-0.2.7 +PKGNAME= gkrellm-weather-0.2.7 +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+= gkrellm-1.2.*:../../sysutils/gkrellm +DEPENDS+= wmWeather-1.3*:../../x11/wmweather + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/gkrellm-weather/distinfo b/misc/gkrellm-weather/distinfo new file mode 100644 index 00000000000..802905b468a --- /dev/null +++ b/misc/gkrellm-weather/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/10/30 13:24:58 damon 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/gkrellm-weather/patches/patch-aa b/misc/gkrellm-weather/patches/patch-aa new file mode 100644 index 00000000000..fe81eaad371 --- /dev/null +++ b/misc/gkrellm-weather/patches/patch-aa @@ -0,0 +1,49 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/10/30 13:24:58 damon 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 diff --git a/misc/gkrellm-weather/pkg/DESCR b/misc/gkrellm-weather/pkg/DESCR new file mode 100644 index 00000000000..6f7fb94291c --- /dev/null +++ b/misc/gkrellm-weather/pkg/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/gkrellm-weather/pkg/PLIST b/misc/gkrellm-weather/pkg/PLIST new file mode 100644 index 00000000000..8e20e35bcf3 --- /dev/null +++ b/misc/gkrellm-weather/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/30 13:24:58 damon Exp $ +lib/gkrellm/plugins/gkrellweather.so -- cgit v1.2.3