summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
committeredwin <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
commit7dd6805c44bf98d4d64a54313e9f622fd7cb2656 (patch)
tree753b016f246dce9957c268962733d34c7e3eb7b7 /textproc
parentc4fd09e68bc5c2ee1078b7b21b2ac0601f34aead (diff)
downloadFreeBSD-ports-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.zip
FreeBSD-ports-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.tar.gz
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/diffutils/Makefile3
-rw-r--r--textproc/py-4suite/Makefile5
2 files changed, 5 insertions, 3 deletions
diff --git a/textproc/diffutils/Makefile b/textproc/diffutils/Makefile
index feb830e..20664a5 100644
--- a/textproc/diffutils/Makefile
+++ b/textproc/diffutils/Makefile
@@ -13,6 +13,7 @@ MASTER_SITE_SUBDIR= diffutils
MAINTAINER= rooneg@electricjellyfish.net
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
@@ -26,7 +27,7 @@ remove-info-files:
post-patch: patch-makeinfo
patch-makeinfo:
- @${PERL} -pi.fbsd -e 's|makeinfo|makeinfo --no-split|g' \
+ @${REINPLACE_CMD} -e 's|makeinfo|makeinfo --no-split|g' \
${WRKSRC}/Makefile.in
post-install: install-info
diff --git a/textproc/py-4suite/Makefile b/textproc/py-4suite/Makefile
index c73685a..62b1df9 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
OpenPOWER on IntegriCloud