aboutsummaryrefslogtreecommitdiffstats
path: root/astro/pyweather/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-29 19:24:29 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-29 19:24:29 +0800
commitfce669373fa013c61c97027071832779a1048423 (patch)
tree9d73dc4fdf97fbf45794c8427da6b5616eb9eaa1 /astro/pyweather/Makefile
parent0442fc653aa4d472dcfee803df426c2fbf40bdd4 (diff)
downloadfreebsd-ports-gnome-fce669373fa013c61c97027071832779a1048423.tar.gz
freebsd-ports-gnome-fce669373fa013c61c97027071832779a1048423.tar.zst
freebsd-ports-gnome-fce669373fa013c61c97027071832779a1048423.zip
use USE_PYTHON
Diffstat (limited to 'astro/pyweather/Makefile')
-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: