summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2004-02-24 23:10:42 +0000
committercube <cube@pkgsrc.org>2004-02-24 23:10:42 +0000
commitc99e115877aaaaab1c6a39386f577754be02f2a9 (patch)
tree2a64a39a7a8f26d2ca3d23161e3d522b0e30c296 /misc
parente1318b39faba16903937869d1eb85c7879bcd774 (diff)
downloadpkgsrc-c99e115877aaaaab1c6a39386f577754be02f2a9.tar.gz
Re-import of misc/gkrellm-weather as misc/gkrellm1-weather to leave space
for the GKrellM-2 port of the weather plugin.
Diffstat (limited to 'misc')
-rw-r--r--misc/gkrellm1-weather/DESCR11
-rw-r--r--misc/gkrellm1-weather/Makefile21
-rw-r--r--misc/gkrellm1-weather/PLIST2
-rw-r--r--misc/gkrellm1-weather/distinfo5
-rw-r--r--misc/gkrellm1-weather/patches/patch-aa49
5 files changed, 88 insertions, 0 deletions
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