mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
0a87a5fb5d
PR: 15806 Submitted by: Will Andrews <andrews@technologist.com>
29 lines
687 B
Makefile
29 lines
687 B
Makefile
# 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>
|