aboutsummaryrefslogtreecommitdiff
path: root/astro/pyweather
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 11:24:29 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 11:24:29 +0000
commit3ece6623c9f42e8134a9211e3a981661eef1c99f (patch)
treeb01c4afcdcc4abc64b30854166faa844886fe247 /astro/pyweather
parent7fffb59783ae299ce24ae6822bb94ac747d05919 (diff)
downloadports-3ece6623c9f42e8134a9211e3a981661eef1c99f.tar.gz
ports-3ece6623c9f42e8134a9211e3a981661eef1c99f.zip
use USE_PYTHON
Notes
Notes: svn path=/head/; revision=58304
Diffstat (limited to 'astro/pyweather')
-rw-r--r--astro/pyweather/Makefile8
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: