From 37f2224fa6a14520df830ae1daeba9b877daa347 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 4 Nov 2002 05:46:38 +0000 Subject: PERL -> REINPLACE And some ports have USE_PERL5=yes now. --- net/py-google/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'net/py-google') diff --git a/net/py-google/Makefile b/net/py-google/Makefile index 752537f90f21..0f33dc0fc907 100644 --- a/net/py-google/Makefile +++ b/net/py-google/Makefile @@ -19,6 +19,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_xmlplus/sax/__init__.py:${PORTSDIR}/textproc/ USE_PYTHON= yes USE_ZIP= yes USE_PYDISTUTILS= yes +USE_REINPLACE= yes EXTRACT_BEFORE_ARGS= -q -aa WRKSRC= ${WRKDIR}/pygoogle @@ -28,11 +29,11 @@ post-patch: # www/py-websvcs has an incompatible version of SOAP.py @${MV} ${WRKSRC}/SOAP.py ${WRKSRC}/SOAPgoogle.py @cd ${WRKSRC}; for f in *.py; do \ - ${PERL} -pi -e 's,import SOAP,import SOAPgoogle as SOAP,g' $$f; \ + ${REINPLACE_CMD} -e 's,import SOAP,import SOAPgoogle as SOAP,g' $$f; \ done @${MKDIR} ${WRKSRC}/tests @${MV} ${WRKSRC}/*test*.py ${WRKSRC}/tests - @${PERL} -pi -e 's,.*extra_path.*,,g' ${WRKSRC}/setup.py + @${REINPLACE_CMD} -e 's,.*extra_path.*,,g' ${WRKSRC}/setup.py post-install: .if !defined(NOPORTDOCS) -- cgit v1.2.3