mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
61eb5a90a2
homepage has apparently disappeared of the face of the earth, so for the time being, I'll store it here. Maybe they'll pop up later this year.
29 lines
668 B
Makefile
29 lines
668 B
Makefile
# New ports collection makefile for: pyWeather
|
|
# Date created: 18 Dec 1999
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pyWeather
|
|
PORTVERSION= 0.1b
|
|
CATEGORIES= astro python
|
|
MASTER_SITES= http://people.FreeBSD.org/~will/distfiles/
|
|
DISTNAME= pyWeather
|
|
|
|
MAINTAINER= will@FreeBSD.org
|
|
|
|
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>
|