Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 1999 15:46:42 -0700 (PDT)
From:      cpiazza@home.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11173: New port: astro/wmspaceweather
Message-ID:  <19990416224642.51F6F16EE@norn.ca.eu.org>

next in thread | raw e-mail | index | archive | help

>Number:         11173
>Category:       ports
>Synopsis:       New port: astro/wmspaceweather
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 16 15:50:02 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Chris Piazza
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
n/a 
>Environment:

FreeBSD 4.0-CURRENT i386

>Description:

Dockapp that displays the weather at geosynchronous orbit.

>How-To-Repeat:


>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	wmspaceweather
#	wmspaceweather/files
#	wmspaceweather/files/md5
#	wmspaceweather/patches
#	wmspaceweather/patches/patch-aa
#	wmspaceweather/patches/patch-ab
#	wmspaceweather/pkg
#	wmspaceweather/pkg/COMMENT
#	wmspaceweather/pkg/DESCR
#	wmspaceweather/pkg/PLIST
#	wmspaceweather/Makefile
#
echo c - wmspaceweather
mkdir -p wmspaceweather > /dev/null 2>&1
echo c - wmspaceweather/files
mkdir -p wmspaceweather/files > /dev/null 2>&1
echo x - wmspaceweather/files/md5
sed 's/^X//' >wmspaceweather/files/md5 << 'END-of-wmspaceweather/files/md5'
XMD5 (wmSpaceWeather-1.04.tar.gz) = b91415bc9e234d3e6fcd93d34c7fd680
END-of-wmspaceweather/files/md5
echo c - wmspaceweather/patches
mkdir -p wmspaceweather/patches > /dev/null 2>&1
echo x - wmspaceweather/patches/patch-aa
sed 's/^X//' >wmspaceweather/patches/patch-aa << 'END-of-wmspaceweather/patches/patch-aa'
X--- Makefile.orig	Fri Apr 16 15:05:58 1999
X+++ Makefile	Fri Apr 16 15:06:23 1999
X@@ -1,6 +1,7 @@
X-CC     = gcc
X-CFLAGS = -O2 -Wall
X-INCDIR = -I/usr/X11R6/include/X11
X+CC     ?= gcc
X+CFLAGS ?= -O2
X+CFLAGS += -Wall
X+INCDIR = -I/usr/X11R6/include
X DESTDIR= /usr/X11R6
X LIBDIR = -L/usr/X11R6/lib
X # for linux
END-of-wmspaceweather/patches/patch-aa
echo x - wmspaceweather/patches/patch-ab
sed 's/^X//' >wmspaceweather/patches/patch-ab << 'END-of-wmspaceweather/patches/patch-ab'
X--- GetKp.orig	Fri Apr 16 15:08:21 1999
X+++ GetKp	Fri Apr 16 15:09:24 1999
X@@ -19,7 +19,7 @@
X     }
X 
X 
X-    $grabcmd = "cd /tmp; wget --passive-ftp --tries 2 -q ftp://www.sec.noaa.gov/pub/indices/DGD.txt";
X+    $grabcmd = "cd /tmp; fetch -q ftp://www.sec.noaa.gov/pub/indices/DGD.txt";
X     system "$grabcmd";
X 
X 
X@@ -68,7 +68,7 @@
X     #
X     # Add in very latest stuff
X     #
X-    $grabcmd = "cd /tmp; wget --passive-ftp --tries 2 -q ftp://www.sec.noaa.gov/pub/latest/curind.txt";
X+    $grabcmd = "cd /tmp; fetch -q ftp://www.sec.noaa.gov/pub/latest/curind.txt";
X     system "$grabcmd";
X     %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);
X 
END-of-wmspaceweather/patches/patch-ab
echo c - wmspaceweather/pkg
mkdir -p wmspaceweather/pkg > /dev/null 2>&1
echo x - wmspaceweather/pkg/COMMENT
sed 's/^X//' >wmspaceweather/pkg/COMMENT << 'END-of-wmspaceweather/pkg/COMMENT'
XA DockApp that shows the weather at geosynchronous orbit. 
END-of-wmspaceweather/pkg/COMMENT
echo x - wmspaceweather/pkg/DESCR
sed 's/^X//' >wmspaceweather/pkg/DESCR << 'END-of-wmspaceweather/pkg/DESCR'
XA DockApp that shows the weather at geosynchronous orbit.  It gets data
Xfrom the GOES satellites.
X
XAuthor:
XMike Henderson <mghenderson@lanl.gov>
X
X-Chris Piazza
Xcpiazza@home.net
END-of-wmspaceweather/pkg/DESCR
echo x - wmspaceweather/pkg/PLIST
sed 's/^X//' >wmspaceweather/pkg/PLIST << 'END-of-wmspaceweather/pkg/PLIST'
Xbin/GetKp
Xbin/wmSpaceWeather
END-of-wmspaceweather/pkg/PLIST
echo x - wmspaceweather/Makefile
sed 's/^X//' >wmspaceweather/Makefile << 'END-of-wmspaceweather/Makefile'
X# New ports collection makefile for:	wmSpaceWeather
X# Version required:     1.04
X# Date created:		16 April 1999
X# Whom:			Chris Piazza <cpiazza@home.net>
X#
X# $Id$
X
XDISTNAME=	wmSpaceWeather-1.04
XPKGNAME=	wmspaceweather-1.04
XCATEGORIES=	astro windowmaker
XMASTER_SITES=	http://nis-www.lanl.gov/~mgh/WindowMaker/
X
XMAINTAINER=	cpiazza@home.net
X
XLIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm
X
XWRKSRC=		${WRKDIR}/${DISTNAME}/wmSpaceWeather
X
XUSE_GMAKE=	yes
XUSE_XLIB=	yes
XUSE_X_PREFIX=	yes
XALL_TARGET=	clean all
X
XMAN1=	wmSpaceWeather.1
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/wmSpaceWeather ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${WRKSRC}/GetKp ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/wmSpaceWeather.1 ${PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-wmspaceweather/Makefile
exit

-Chris

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990416224642.51F6F16EE>