aboutsummaryrefslogtreecommitdiff
path: root/astro/pyweather
diff options
context:
space:
mode:
Diffstat (limited to 'astro/pyweather')
-rw-r--r--astro/pyweather/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/astro/pyweather/Makefile b/astro/pyweather/Makefile
index 5a0c42b7fac3..51499b424a0e 100644
--- a/astro/pyweather/Makefile
+++ b/astro/pyweather/Makefile
@@ -14,11 +14,12 @@ DISTNAME= pyWeather
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_PYTHON= yes
NO_BUILD= yes
post-patch:
- @${PERL} -pi -e "s:/usr/bin/python:${PYTHON_CMD}:g ; \
+ @${REINPLACE_CMD} -e "s:/usr/bin/python:${PYTHON_CMD}:g ; \
s:pyWeather.py:pyWeather:g" ${WRKSRC}/pyWeather.py
do-install: