summaryrefslogtreecommitdiff
path: root/misc/wmweather
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>1999-03-11 12:08:09 +0000
committerKris Kennaway <kris@FreeBSD.org>1999-03-11 12:08:09 +0000
commit5f223c36c6e8063d4ead76e5a069e53f3ce08beb (patch)
tree92eccfba8e1064aa7bde765453f2cf4013609c32 /misc/wmweather
parentUse INSTALL_DATA for installing libraries. (diff)
wmweather is a WindowMaker dockapp which periodically fetches
meteorological data from the net and displays it in the dock. PR: ports/9697
Diffstat (limited to 'misc/wmweather')
-rw-r--r--misc/wmweather/Makefile28
-rw-r--r--misc/wmweather/distinfo1
-rw-r--r--misc/wmweather/files/patch-aa18
-rw-r--r--misc/wmweather/pkg-comment1
-rw-r--r--misc/wmweather/pkg-descr5
-rw-r--r--misc/wmweather/pkg-plist3
6 files changed, 56 insertions, 0 deletions
diff --git a/misc/wmweather/Makefile b/misc/wmweather/Makefile
new file mode 100644
index 000000000000..567872d5d25f
--- /dev/null
+++ b/misc/wmweather/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: wmWeather-1.1
+# Version required: 1.1
+# Date created: 26 January 1998
+# Whom: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
+#
+# $Id$
+
+DISTNAME= wmWeather-1.1
+CATEGORIES= misc windowmaker
+MASTER_SITES= ftp://leadbelly.lanl.gov/pub/mgh/
+
+MAINTAINER= kkennawa@physics.adelaide.edu.au
+
+RUN_DEPENDS= ${LOCALBASE}/bin/wget:${PORTSDIR}/net/wget
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/wmWeather
+
+USE_GMAKE= yes
+ALL_TARGET= clean all
+
+MAN1= wmWeather.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmWeather ${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/GrabWeather ${PREFIX}/bin/GrabWeather
+ ${INSTALL_MAN} ${WRKSRC}/wmWeather.1 ${PREFIX}/man/man1/
+
+.include <bsd.port.mk>
diff --git a/misc/wmweather/distinfo b/misc/wmweather/distinfo
new file mode 100644
index 000000000000..8932972e97b5
--- /dev/null
+++ b/misc/wmweather/distinfo
@@ -0,0 +1 @@
+MD5 (wmWeather-1.1.tar.gz) = 33ea3e8e27daddbb2397badfee130526
diff --git a/misc/wmweather/files/patch-aa b/misc/wmweather/files/patch-aa
new file mode 100644
index 000000000000..25cb9128c8f7
--- /dev/null
+++ b/misc/wmweather/files/patch-aa
@@ -0,0 +1,18 @@
+*** Makefile Wed Jan 20 04:44:49 1999
+--- Makefile~ Tue Jan 26 23:40:36 1999
+***************
+*** 1,6 ****
+! CC = gcc
+! CFLAGS = -O2 -Wall
+! INCDIR = -I/usr/X11R6/include/X11
+ DESTDIR= /usr/X11R6
+ LIBDIR = -L/usr/X11R6/lib
+ # for linux
+--- 1,7 ----
+! CC ?= gcc
+! CFLAGS ?= -O2
+! CFLAGS += -Wall
+! INCDIR = -I/usr/X11R6/include
+ DESTDIR= /usr/X11R6
+ LIBDIR = -L/usr/X11R6/lib
+ # for linux
diff --git a/misc/wmweather/pkg-comment b/misc/wmweather/pkg-comment
new file mode 100644
index 000000000000..38fbaa629147
--- /dev/null
+++ b/misc/wmweather/pkg-comment
@@ -0,0 +1 @@
+A WMaker dockapp which displays meteorological data for your city.
diff --git a/misc/wmweather/pkg-descr b/misc/wmweather/pkg-descr
new file mode 100644
index 000000000000..62bcff361808
--- /dev/null
+++ b/misc/wmweather/pkg-descr
@@ -0,0 +1,5 @@
+This is a windowmaker dockapp which displays meteorological data
+(temperature, dew point, barometric pressure, humidity, windspeed) for a
+city, retrieved from the net. You will need to look up the METAR code for
+your city (a standard code used in aviation) - see
+http://www.nws.noaa.gov/oso/siteloc.shtml
diff --git a/misc/wmweather/pkg-plist b/misc/wmweather/pkg-plist
new file mode 100644
index 000000000000..429c703b5dd2
--- /dev/null
+++ b/misc/wmweather/pkg-plist
@@ -0,0 +1,3 @@
+bin/wmWeather
+bin/GrabWeather
+