diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 05:46:38 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 05:46:38 +0000 |
commit | 37f2224fa6a14520df830ae1daeba9b877daa347 (patch) | |
tree | 13d3d367b0967ab3adcc2ce528bfe1e770b4d48e /textproc/py-4suite | |
parent | 3ff37e385bb15e608586b24278ba3dde9ea57151 (diff) | |
download | ports-37f2224fa6a14520df830ae1daeba9b877daa347.tar.gz ports-37f2224fa6a14520df830ae1daeba9b877daa347.zip |
Notes
Diffstat (limited to 'textproc/py-4suite')
-rw-r--r-- | textproc/py-4suite/Makefile | 5 |
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 |