aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-01-08 01:49:52 +0800
committerwill <will@FreeBSD.org>2001-01-08 01:49:52 +0800
commit17fc78c61a40e51c25675da0e3d99e222c1abdd3 (patch)
treea8b19a050dd6847de35f8b185751c1b52138d171 /www
parent98a4931c0a8138d6f6fb6de52d4fd949a15ae520 (diff)
downloadfreebsd-ports-gnome-17fc78c61a40e51c25675da0e3d99e222c1abdd3.tar.gz
freebsd-ports-gnome-17fc78c61a40e51c25675da0e3d99e222c1abdd3.tar.zst
freebsd-ports-gnome-17fc78c61a40e51c25675da0e3d99e222c1abdd3.zip
Clean up inefficient perl invocations; use multiple REs in the same call.
Diffstat (limited to 'www')
-rw-r--r--www/bkmrkconv/Makefile4
-rw-r--r--www/evg/Makefile6
-rw-r--r--www/fhttpd/Makefile4
3 files changed, 7 insertions, 7 deletions
diff --git a/www/bkmrkconv/Makefile b/www/bkmrkconv/Makefile
index 4ba2b64f6d88..2096f3f3aa89 100644
--- a/www/bkmrkconv/Makefile
+++ b/www/bkmrkconv/Makefile
@@ -17,8 +17,8 @@ USE_PERL5= yes
NO_BUILD= yes
pre-install:
- @${PERL} -pi -e "s:/usr/local/bin/perl:${PERL}:g" ${WRKSRC}/*.pl
- @${PERL} -pi -e "s:/usr/local/share:${PREFIX}/share:g" ${WRKSRC}/bkmrkconv.pl
+ @${PERL} -pi -e "s:/usr/local/bin/perl:${PERL}:g ; \
+ s:/usr/local/share:${PREFIX}/share:g" ${WRKSRC}/*.pl
do-install:
@${MKDIR} ${PREFIX}/share/bkmrkconv/src
diff --git a/www/evg/Makefile b/www/evg/Makefile
index 49ff81dbf7bf..54d6c2b4a16a 100644
--- a/www/evg/Makefile
+++ b/www/evg/Makefile
@@ -25,9 +25,9 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PKGNAME}
post-patch:
- @ ${PERL} -pi -e 's#/usr/bin/python#${PYTHON_CMD}#' ${WRKSRC}/evg
- @ ${PERL} -pi -e 's#/usr/X11R6#${X11BASE}#' ${WRKSRC}/evg
- @ ${PERL} -pi -e 's#/usr/bin/ee#${X11BASE}/bin/xv#' ${WRKSRC}/evg
+ @ ${PERL} -pi -e 's#/usr/bin/python#${PYTHON_CMD}# ; \
+ s#/usr/X11R6#${X11BASE}# ; \
+ s#/usr/bin/ee#${X11BASE}/bin/xv#' ${WRKSRC}/evg
do-install:
@ ${MKDIR} ${PYTHON_SITELIBDIR}
diff --git a/www/fhttpd/Makefile b/www/fhttpd/Makefile
index 29ab31076223..68e6a0d3eb09 100644
--- a/www/fhttpd/Makefile
+++ b/www/fhttpd/Makefile
@@ -23,9 +23,9 @@ pre-patch:
pre-install:
${RM} -rf ${WRKSRC}/http-root/pub/dummy_directory
- ${PERL} -pi -e "s:%%LOGFILE%%:${PREFIX}/${LOGFILE}:g" ${WRKSRC}/fhttpd.sh
+ ${PERL} -pi -e "s:%%LOGFILE%%:${PREFIX}/${LOGFILE}:g" \
+ ${WRKSRC}/fhttpd.sh ${WRKSRC}/http-root/root-fhttpd.conf
${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/http-root/root-fhttpd.conf
- ${PERL} -pi -e "s:%%LOGFILE%%:${PREFIX}/${LOGFILE}:g" ${WRKSRC}/http-root/root-fhttpd.conf
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/fhttpd.sh ${PREFIX}/etc/rc.d