2000-01-05 21:16:53 +00:00
|
|
|
# New ports collection makefile for: pyWeather
|
|
|
|
# Date created: 18 Dec 1999
|
|
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-08 22:04:57 +00:00
|
|
|
PORTNAME= pyWeather
|
|
|
|
PORTVERSION= 0.1b
|
2000-01-05 21:16:53 +00:00
|
|
|
CATEGORIES= astro python
|
2000-04-16 18:38:01 +00:00
|
|
|
MASTER_SITES= http://people.FreeBSD.org/~will/distfiles/
|
2000-04-08 22:04:57 +00:00
|
|
|
DISTNAME= pyWeather
|
2000-01-05 21:16:53 +00:00
|
|
|
|
2000-03-22 01:59:41 +00:00
|
|
|
MAINTAINER= will@FreeBSD.org
|
2000-01-05 21:16:53 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYTHON}:${PORTSDIR}/lang/python
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
PYTHON?= ${LOCALBASE}/bin/python
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${PERL} -pi -e "s:/usr/bin/python:${PYTHON}:g" ${WRKSRC}/pyWeather.py
|
|
|
|
@${PERL} -pi -e "s:pyWeather.py:pyWeather:g" ${WRKSRC}/pyWeather.py
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/pyWeather.py ${PREFIX}/bin/pyWeather
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|