summaryrefslogtreecommitdiff
path: root/net/py-google
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
commit37f2224fa6a14520df830ae1daeba9b877daa347 (patch)
tree13d3d367b0967ab3adcc2ce528bfe1e770b4d48e /net/py-google
parent- reorder patches (diff)
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
Notes
Notes: svn path=/head/; revision=69436
Diffstat (limited to 'net/py-google')
-rw-r--r--net/py-google/Makefile5
1 files changed, 3 insertions, 2 deletions
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)