aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-01-07 17:49:52 +0000
committerWill Andrews <will@FreeBSD.org>2001-01-07 17:49:52 +0000
commite40046b15dfb9ad5c4dcaa8137ef304b829ea59b (patch)
tree608ae9c87b150f1e38d0af957c8f5103a8dacaab /astro
parentcc2dc5fd2b0497078f0984b0b3a9123d7ede14e6 (diff)
downloadports-e40046b15dfb9ad5c4dcaa8137ef304b829ea59b.tar.gz
ports-e40046b15dfb9ad5c4dcaa8137ef304b829ea59b.zip
Clean up inefficient perl invocations; use multiple REs in the same call.
Notes
Notes: svn path=/head/; revision=36897
Diffstat (limited to 'astro')
-rw-r--r--astro/pyweather/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/astro/pyweather/Makefile b/astro/pyweather/Makefile
index f99cc4759126..36b3d5358ea1 100644
--- a/astro/pyweather/Makefile
+++ b/astro/pyweather/Makefile
@@ -20,8 +20,8 @@ NO_BUILD= yes
PYTHON?= ${LOCALBASE}/bin/python
pre-install:
- @${PERL} -pi -e "s:/usr/bin/python:${PYTHON}:g" ${WRKSRC}/pyWeather.py
- @${PERL} -pi -e "s:pyWeather.py:pyWeather:g" ${WRKSRC}/pyWeather.py
+ @${PERL} -pi -e "s:/usr/bin/python:${PYTHON}:g ; \
+ s:pyWeather.py:pyWeather:g" ${WRKSRC}/pyWeather.py
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/pyWeather.py ${PREFIX}/bin/pyWeather