aboutsummaryrefslogtreecommitdiff
path: root/ftp/junglemonkey/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-21 16:13:17 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-21 16:13:17 +0000
commit930e3a6637bf9a7c5fdb4f16ff8c39903da8c1ed (patch)
treec49bac1d3dc0d53bf8493e58c274d95059a66bbd /ftp/junglemonkey/Makefile
parent01c4a820a3a20a4551e47f92722429043fb63e6a (diff)
downloadports-930e3a6637bf9a7c5fdb4f16ff8c39903da8c1ed.tar.gz
ports-930e3a6637bf9a7c5fdb4f16ff8c39903da8c1ed.zip
Notes
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>