From 3ece6623c9f42e8134a9211e3a981661eef1c99f Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Mon, 29 Apr 2002 11:24:29 +0000 Subject: use USE_PYTHON --- astro/pyweather/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'astro/pyweather') 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: -- cgit v1.2.3