aboutsummaryrefslogtreecommitdiffstats
path: root/astro/pyweather/Makefile
blob: dd1b2c16382590adb73e1fd89c03314f071ab9e1 (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
24
25
26
27
28
# New ports collection makefile for:    pyWeather
# Version required: 0.1b
# Date created:     18 Dec 1999
# Whom:         Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

DISTNAME=   pyWeather
PKGNAME=    pyWeather-0.1b
CATEGORIES= astro python
MASTER_SITES=   http://members.bellatlantic.net/~rasclkng/

MAINTAINER= andrews@technologist.com

RUN_DEPENDS=    ${PYTHON}:${PORTSDIR}/lang/python

NO_BUILD=   yes
PYTHON?=    ${LOCALBASE}/bin/python

pre-install:
    @${PERL} -pi -e "s:/usr/bin/python:${PYTHON}:g" ${WRKSRC}/pyWeather.py
    @${PERL} -pi -e "s:pyWeather.py:pyWeather:g" ${WRKSRC}/pyWeather.py

do-install:
    @${INSTALL_SCRIPT} ${WRKSRC}/pyWeather.py ${PREFIX}/bin/pyWeather

.include <bsd.port.mk>