1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/astro/weather/Makefile
Sunpoet Po-Chuan Hsieh 0d5e39c89e - Use LOCAL/sunpoet as backup MASTER_SITES
Approved by:	pgollucci (mentor)
2010-10-01 01:14:18 +00:00

38 lines
964 B
Makefile

# New ports collection makefile for: weather
# Date created: 2010-05-25
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
#
# $FreeBSD$
#
PORTNAME= weather
PORTVERSION= 1.5
CATEGORIES= astro python
MASTER_SITES= http://fungi.yuggoth.org/weather/src/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= An utility to provide current weather conditions and forecasts
USE_PYTHON= -2.7
MAN1= weather.1
MAN5= weatherrc.5
PLIST_FILES= bin/weather \
%%PYTHON_SITELIBDIR%%/${PORTNAME}.py \
%%PYTHON_SITELIBDIR%%/${PORTNAME}.pyc
post-patch:
@${REINPLACE_CMD} -e '1 s/python/${PYTHON_VERSION}/' ${WRKSRC}/weather
do-build:
@${WRKSRC}/weather --version
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/weather ${PREFIX}/bin/
@${INSTALL_DATA} ${WRKSRC}/weather.py ${WRKSRC}/weather.pyc ${PYTHON_SITELIBDIR}/
@${INSTALL_MAN} ${WRKSRC}/weather.1 ${MANPREFIX}/man/man1/
@${INSTALL_MAN} ${WRKSRC}/weatherrc.5 ${MANPREFIX}/man/man5/
.include <bsd.port.mk>