aboutsummaryrefslogtreecommitdiff
path: root/astro/pyweather/Makefile
blob: c0414b0c718a7b09935df457c72d23bc6c7b1b0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Created by: Will Andrews <andrews@technologist.com>

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>