aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/junglemonkey/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-22 00:13:17 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-22 00:13:17 +0800
commitc892af1780b67e6fdabc7f4945bcad3d9e29571d (patch)
tree8a9971c8edf6533234e79b9a5cc3a411a279b46f /ftp/junglemonkey/Makefile
parent37a43dfd3cd3a54cc3207c6a319b0e292b80f6fd (diff)
downloadfreebsd-ports-gnome-c892af1780b67e6fdabc7f4945bcad3d9e29571d.tar.gz
freebsd-ports-gnome-c892af1780b67e6fdabc7f4945bcad3d9e29571d.tar.zst
freebsd-ports-gnome-c892af1780b67e6fdabc7f4945bcad3d9e29571d.zip
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39594 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'ftp/junglemonkey/Makefile')
-rw-r--r--ftp/junglemonkey/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/ftp/junglemonkey/Makefile b/ftp/junglemonkey/Makefile
index 8e366b464dc5..18a61803b3e0 100644
--- a/ftp/junglemonkey/Makefile
+++ b/ftp/junglemonkey/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gnet.0:${PORTSDIR}/net/gnet
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GNOME= yes
USE_GMAKE= yes
@@ -27,11 +28,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= jm.1 jmlite.1 mtprendezvous.1
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|/gnome/help/|/help/|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${PERL} -pi -e \
- 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
- s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
+ @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \
+ s|\$$(datadir)/locale|\$$(prefix)/share/locale|g'
.include <bsd.port.mk>