mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
25 lines
585 B
Makefile
25 lines
585 B
Makefile
# Created by: Will Andrews <andrews@technologist.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pyWeather
|
|
PORTVERSION= 0.1b
|
|
CATEGORIES= astro python geography
|
|
MASTER_SITES= LOCAL/will
|
|
DISTNAME= pyWeather
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Python script that downloads weather data and can be cronned
|
|
|
|
USE_PYTHON= yes
|
|
NO_BUILD= yes
|
|
PLIST_FILES= bin/pyWeather
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s:/usr/bin/python:${PYTHON_CMD}:g ; \
|
|
s:pyWeather.py:pyWeather:g" ${WRKSRC}/pyWeather.py
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pyWeather.py ${STAGEDIR}${PREFIX}/bin/pyWeather
|
|
|
|
.include <bsd.port.mk>
|