From fce669373fa013c61c97027071832779a1048423 Mon Sep 17 00:00:00 2001 From: ijliao 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') 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