summaryrefslogtreecommitdiff
path: root/misc/gkrellm-weather
diff options
context:
space:
mode:
authordamon <damon>2001-10-30 13:22:05 +0000
committerdamon <damon>2001-10-30 13:22:05 +0000
commit34e81188bbd1d6a20b47654802aad80bb2a43e24 (patch)
tree4be49c4067f916f9655eccd3b16a8e150a6cedb7 /misc/gkrellm-weather
parent39f5ad42dc444bb5f81c737c145ca8e3b9d1d970 (diff)
downloadpkgsrc-34e81188bbd1d6a20b47654802aad80bb2a43e24.tar.gz
Initial Version
Diffstat (limited to 'misc/gkrellm-weather')
-rw-r--r--misc/gkrellm-weather/Makefile15
-rw-r--r--misc/gkrellm-weather/distinfo5
-rw-r--r--misc/gkrellm-weather/patches/patch-aa49
-rw-r--r--misc/gkrellm-weather/pkg/DESCR11
-rw-r--r--misc/gkrellm-weather/pkg/PLIST2
5 files changed, 82 insertions, 0 deletions
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