diff options
Diffstat (limited to 'astro/pyweather')
-rw-r--r-- | astro/pyweather/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/astro/pyweather/Makefile b/astro/pyweather/Makefile index 36b3d5358ea1..5a0c42b7fac3 100644 --- a/astro/pyweather/Makefile +++ b/astro/pyweather/Makefile @@ -14,13 +14,11 @@ DISTNAME= pyWeather MAINTAINER= ports@FreeBSD.org -RUN_DEPENDS= ${PYTHON}:${PORTSDIR}/lang/python - +USE_PYTHON= yes NO_BUILD= yes -PYTHON?= ${LOCALBASE}/bin/python -pre-install: - @${PERL} -pi -e "s:/usr/bin/python:${PYTHON}:g ; \ +post-patch: + @${PERL} -pi -e "s:/usr/bin/python:${PYTHON_CMD}:g ; \ s:pyWeather.py:pyWeather:g" ${WRKSRC}/pyWeather.py do-install: |