aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-4suite
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 /textproc/py-4suite
parent3ff37e385bb15e608586b24278ba3dde9ea57151 (diff)
downloadports-37f2224fa6a14520df830ae1daeba9b877daa347.tar.gz
ports-37f2224fa6a14520df830ae1daeba9b877daa347.zip
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
Notes
Notes: svn path=/head/; revision=69436
Diffstat (limited to 'textproc/py-4suite')
-rw-r--r--textproc/py-4suite/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/py-4suite/Makefile b/textproc/py-4suite/Makefile
index c73685a261cb..62b1df93b16e 100644
--- a/textproc/py-4suite/Makefile
+++ b/textproc/py-4suite/Makefile
@@ -18,6 +18,7 @@ MAINTAINER= wjv@FreeBSD.org
BUILD_DEPENDS= ${PYXML}
RUN_DEPENDS= ${PYXML}
+USE_REINPLACE= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_INSTALLARGS= -c -O1 --prefix=${PREFIX} \
@@ -31,12 +32,12 @@ PLIST_SUB+= PACKAGE_DIR=_xmlplus PYTHON2_ONLY=""
.endif
post-patch:
- @ ${PERL} -pi -e \
+ @ ${REINPLACE_CMD} -e \
's#(copy_to=.)docs#$$1doc/${PORTNAME}#; \
s#(copy_to=.)(test_suite|demo)#$$1examples/${PORTNAME}/$$2#' \
${WRKSRC}/setup.py
.if defined(NOPORTDOCS)
- @ ${PERL} -pi -e 's/(data_files=)data_files/$$1/' \
+ @ ${REINPLACE_CMD} -e 's/(data_files=)data_files/$$1/' \
${WRKSRC}/setup.py
.endif