pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/gkrellm1-weather Re-import of misc/gkrellm-weathe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/014f55878c33
branches:  trunk
changeset: 469542:014f55878c33
user:      cube <cube%pkgsrc.org@localhost>
date:      Tue Feb 24 23:10:42 2004 +0000

description:
Re-import of misc/gkrellm-weather as misc/gkrellm1-weather to leave space
for the GKrellM-2 port of the weather plugin.

diffstat:

 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(+), 0 deletions(-)

diffs (108 lines):

diff -r 67b81d3cee6f -r 014f55878c33 misc/gkrellm1-weather/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellm1-weather/DESCR       Tue Feb 24 23:10:42 2004 +0000
@@ -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 -r 67b81d3cee6f -r 014f55878c33 misc/gkrellm1-weather/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellm1-weather/Makefile    Tue Feb 24 23:10:42 2004 +0000
@@ -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@localhost
+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 -r 67b81d3cee6f -r 014f55878c33 misc/gkrellm1-weather/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellm1-weather/PLIST       Tue Feb 24 23:10:42 2004 +0000
@@ -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 -r 67b81d3cee6f -r 014f55878c33 misc/gkrellm1-weather/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellm1-weather/distinfo    Tue Feb 24 23:10:42 2004 +0000
@@ -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 -r 67b81d3cee6f -r 014f55878c33 misc/gkrellm1-weather/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellm1-weather/patches/patch-aa    Tue Feb 24 23:10:42 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index