diff options
Diffstat (limited to 'astro/pyweather/Makefile')
-rw-r--r-- | astro/pyweather/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/astro/pyweather/Makefile b/astro/pyweather/Makefile new file mode 100644 index 000000000000..dd1b2c163825 --- /dev/null +++ b/astro/pyweather/Makefile @@ -0,0 +1,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> |