aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/mtoolsfm/Makefile
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-06-27 01:33:16 +0800
committerperky <perky@FreeBSD.org>2002-06-27 01:33:16 +0800
commit451f8cd362c06518e11e249043c5ef4aecb9487e (patch)
treeb1922cf633eb61ffe38fb94bc1585287569092e3 /x11-fm/mtoolsfm/Makefile
parentb48647a234d408f1093cd3272ea4d0f964554d29 (diff)
downloadfreebsd-ports-gnome-451f8cd362c06518e11e249043c5ef4aecb9487e.tar.gz
freebsd-ports-gnome-451f8cd362c06518e11e249043c5ef4aecb9487e.tar.zst
freebsd-ports-gnome-451f8cd362c06518e11e249043c5ef4aecb9487e.zip
Use REINPLACE_CMD instead of PERL
PR: 39790 Submitted by: Scott Flatman <sf@dsinw.com>
Diffstat (limited to 'x11-fm/mtoolsfm/Makefile')
-rw-r--r--x11-fm/mtoolsfm/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/x11-fm/mtoolsfm/Makefile b/x11-fm/mtoolsfm/Makefile
index 020e1a7702df..f0b336cf9670 100644
--- a/x11-fm/mtoolsfm/Makefile
+++ b/x11-fm/mtoolsfm/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= mtools:${PORTSDIR}/emulators/mtools
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GTK= yes
GNU_CONFIGURE= yes
@@ -26,11 +27,11 @@ CONFIGURE_ARGS= --with-conffile="${PREFIX}/etc/mtoolsfm.conf"
MAN1= mtoolsfm.1
post-patch:
- @${PERL} -pi -e 's|MToolsFM|mtoolsfm|g ; \
+ @${REINPLACE_CMD} -e 's|MToolsFM|mtoolsfm|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g ; \
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/MToolsFM.1
- @${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${PERL} -pi -e \
+ @${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \
's|MToolsFM|mtoolsfm|g'
.for file in src/mtoolsfm.h po/de.po po/fr.po
@${MV} -f ${WRKSRC}/${file} ${WRKSRC}/${file}.preedit