aboutsummaryrefslogtreecommitdiffstats
path: root/astro/wmspaceweather
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-04-30 12:54:58 +0800
committertaoka <taoka@FreeBSD.org>1999-04-30 12:54:58 +0800
commit418618d925cb067b960b26c8a4e809b502f3c798 (patch)
tree39f10e2ff4cd848e2d75d6c5e3f945b453adb9ad /astro/wmspaceweather
parentbd4235841c51a4ee55c9fa37ce2cc53978bc286b (diff)
downloadfreebsd-ports-gnome-418618d925cb067b960b26c8a4e809b502f3c798.tar.gz
freebsd-ports-gnome-418618d925cb067b960b26c8a4e809b502f3c798.tar.zst
freebsd-ports-gnome-418618d925cb067b960b26c8a4e809b502f3c798.zip
A DockApp that shows the weather at geosynchronous orbit
PR: 11173 Submitted by: Chris Piazza <cpiazza@home.net>
Diffstat (limited to 'astro/wmspaceweather')
-rw-r--r--astro/wmspaceweather/Makefile31
-rw-r--r--astro/wmspaceweather/distinfo1
-rw-r--r--astro/wmspaceweather/files/patch-aa13
-rw-r--r--astro/wmspaceweather/files/patch-ab20
-rw-r--r--astro/wmspaceweather/pkg-comment1
-rw-r--r--astro/wmspaceweather/pkg-descr8
-rw-r--r--astro/wmspaceweather/pkg-plist2
7 files changed, 76 insertions, 0 deletions
diff --git a/astro/wmspaceweather/Makefile b/astro/wmspaceweather/Makefile
new file mode 100644
index 000000000000..ffee1b3b257e
--- /dev/null
+++ b/astro/wmspaceweather/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: wmSpaceWeather
+# Version required: 1.04
+# Date created: 16 April 1999
+# Whom: Chris Piazza <cpiazza@home.net>
+#
+# $Id$
+
+DISTNAME= wmSpaceWeather-1.04
+PKGNAME= wmspaceweather-1.04
+CATEGORIES= astro windowmaker
+MASTER_SITES= http://nis-www.lanl.gov/~mgh/WindowMaker/
+
+MAINTAINER= cpiazza@home.net
+
+LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/wmSpaceWeather
+
+USE_GMAKE= yes
+USE_XLIB= yes
+USE_X_PREFIX= yes
+ALL_TARGET= clean all
+
+MAN1= wmSpaceWeather.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmSpaceWeather ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/GetKp ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/wmSpaceWeather.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/astro/wmspaceweather/distinfo b/astro/wmspaceweather/distinfo
new file mode 100644
index 000000000000..8511811e234c
--- /dev/null
+++ b/astro/wmspaceweather/distinfo
@@ -0,0 +1 @@
+MD5 (wmSpaceWeather-1.04.tar.gz) = b91415bc9e234d3e6fcd93d34c7fd680
diff --git a/astro/wmspaceweather/files/patch-aa b/astro/wmspaceweather/files/patch-aa
new file mode 100644
index 000000000000..6416f6a3176d
--- /dev/null
+++ b/astro/wmspaceweather/files/patch-aa
@@ -0,0 +1,13 @@
+--- Makefile.orig Fri Apr 16 15:05:58 1999
++++ Makefile Fri Apr 16 15:06:23 1999
+@@ -1,6 +1,7 @@
+-CC = gcc
+-CFLAGS = -O2 -Wall
+-INCDIR = -I/usr/X11R6/include/X11
++CC ?= gcc
++CFLAGS ?= -O2
++CFLAGS += -Wall
++INCDIR = -I/usr/X11R6/include
+ DESTDIR= /usr/X11R6
+ LIBDIR = -L/usr/X11R6/lib
+ # for linux
diff --git a/astro/wmspaceweather/files/patch-ab b/astro/wmspaceweather/files/patch-ab
new file mode 100644
index 000000000000..a3683822b864
--- /dev/null
+++ b/astro/wmspaceweather/files/patch-ab
@@ -0,0 +1,20 @@
+--- GetKp.orig Fri Apr 16 15:08:21 1999
++++ GetKp Fri Apr 16 15:09:24 1999
+@@ -19,7 +19,7 @@
+ }
+
+
+- $grabcmd = "cd /tmp; wget --passive-ftp --tries 2 -q ftp://www.sec.noaa.gov/pub/indices/DGD.txt";
++ $grabcmd = "cd /tmp; fetch -q ftp://www.sec.noaa.gov/pub/indices/DGD.txt";
+ system "$grabcmd";
+
+
+@@ -68,7 +68,7 @@
+ #
+ # Add in very latest stuff
+ #
+- $grabcmd = "cd /tmp; wget --passive-ftp --tries 2 -q ftp://www.sec.noaa.gov/pub/latest/curind.txt";
++ $grabcmd = "cd /tmp; fetch -q ftp://www.sec.noaa.gov/pub/latest/curind.txt";
+ system "$grabcmd";
+ %lmonstr = ( "Jan", 1, "Feb", 2, "Mar", 3, "Apr", 4, "May", 5, "Jun", 6, "Jul", 7, "Aug", 8, "Sep", 9, "Oct", 10, "Nov", 11, "Dec", 12);
+
diff --git a/astro/wmspaceweather/pkg-comment b/astro/wmspaceweather/pkg-comment
new file mode 100644
index 000000000000..7204145c5562
--- /dev/null
+++ b/astro/wmspaceweather/pkg-comment
@@ -0,0 +1 @@
+A DockApp that shows the weather at geosynchronous orbit.
diff --git a/astro/wmspaceweather/pkg-descr b/astro/wmspaceweather/pkg-descr
new file mode 100644
index 000000000000..20b668626d14
--- /dev/null
+++ b/astro/wmspaceweather/pkg-descr
@@ -0,0 +1,8 @@
+A DockApp that shows the weather at geosynchronous orbit. It gets data
+from the GOES satellites.
+
+Author:
+Mike Henderson <mghenderson@lanl.gov>
+
+-Chris Piazza
+cpiazza@home.net
diff --git a/astro/wmspaceweather/pkg-plist b/astro/wmspaceweather/pkg-plist
new file mode 100644
index 000000000000..e43bc4b4af02
--- /dev/null
+++ b/astro/wmspaceweather/pkg-plist
@@ -0,0 +1,2 @@
+bin/GetKp
+bin/wmSpaceWeather