Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 1999 06:47:50 -0500 (EST)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/15806: new port: astro/pyweather
Message-ID:  <199912311147.GAA37438@argon.blackdawn.com>

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

>Number:         15806
>Category:       ports
>Synopsis:       new port: astro/pyweather
>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 Dec 31 03:50:07 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:

FreeBSD argon.blackdawn.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Tue Nov 30 10:14:31 EST 1999     root@argon.blackdawn.com:/usr/src/sys/compile/ARGON  i386

>Description:

See pkg/DESCR. This is a nice script, especially
useful if you have a shell account or something
with a dedicated connection.. you could receive
current weather reports for any time.

>How-To-Repeat:

Use the shar below to commit the port to the tree.

>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:
#
#	pyweather
#	pyweather/files
#	pyweather/files/md5
#	pyweather/pkg
#	pyweather/pkg/COMMENT
#	pyweather/pkg/DESCR
#	pyweather/pkg/PLIST
#	pyweather/Makefile
#
echo c - pyweather
mkdir -p pyweather > /dev/null 2>&1
echo c - pyweather/files
mkdir -p pyweather/files > /dev/null 2>&1
echo x - pyweather/files/md5
sed 's/^X//' >pyweather/files/md5 << 'END-of-pyweather/files/md5'
XMD5 (pyWeather.tar.gz) = 0c62a75cf3357c5a5f92ca5df004c4d7
END-of-pyweather/files/md5
echo c - pyweather/pkg
mkdir -p pyweather/pkg > /dev/null 2>&1
echo x - pyweather/pkg/COMMENT
sed 's/^X//' >pyweather/pkg/COMMENT << 'END-of-pyweather/pkg/COMMENT'
XPython script that downloads weather data and can be cron'd.
END-of-pyweather/pkg/COMMENT
echo x - pyweather/pkg/DESCR
sed 's/^X//' >pyweather/pkg/DESCR << 'END-of-pyweather/pkg/DESCR'
XWWW: http://members.bellatlantic.net/~rasclkng/
XAuthor: The Almighty Groundhog <groundhog@linuxfreak.com>
END-of-pyweather/pkg/DESCR
echo x - pyweather/pkg/PLIST
sed 's/^X//' >pyweather/pkg/PLIST << 'END-of-pyweather/pkg/PLIST'
Xbin/pyWeather
END-of-pyweather/pkg/PLIST
echo x - pyweather/Makefile
sed 's/^X//' >pyweather/Makefile << 'END-of-pyweather/Makefile'
X# New ports collection makefile for:	pyWeather
X# Version required:	0.1b
X# Date created:		18 Dec 1999
X# Whom:			Will Andrews <andrews@technologist.com>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	pyWeather
XPKGNAME=	pyWeather-0.1b
XCATEGORIES=	astro python
XMASTER_SITES=	http://members.bellatlantic.net/~rasclkng/
X
XRUN_DEPENDS=	${PYTHON}:${PORTSDIR}/lang/python
X
XMAINTAINER=	andrews@technologist.com
X
XNO_BUILD=	yes
XPYTHON?=	${LOCALBASE}/bin/python
X
Xpre-install:
X	@${PERL} -pi -e "s:/usr/bin/python:${PYTHON}:g" ${WRKSRC}/pyWeather.py
X	@${PERL} -pi -e "s:pyWeather.py:pyWeather:g" ${WRKSRC}/pyWeather.py
X
Xdo-install:
X	@${INSTALL_SCRIPT} ${WRKSRC}/pyWeather.py ${PREFIX}/bin/pyWeather
X
X.include <bsd.port.mk>
END-of-pyweather/Makefile
exit


>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?199912311147.GAA37438>