freebsd-ports/astro/pyweather/Makefile
2002-04-29 11:24:29 +00:00

28 lines
574 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= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= will
DISTNAME= pyWeather
MAINTAINER= ports@FreeBSD.org
USE_PYTHON= yes
NO_BUILD= yes
post-patch:
@${PERL} -pi -e "s:/usr/bin/python:${PYTHON_CMD}:g ; \
s:pyWeather.py:pyWeather:g" ${WRKSRC}/pyWeather.py
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/pyWeather.py ${PREFIX}/bin/pyWeather
.include <bsd.port.mk>