opnsense-ports/astro/pyweather/Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

24 lines
583 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
USES= python
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>