aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnomememoryblocks
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-30 10:50:27 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-30 10:50:27 +0800
commitf55431a8d1adc783966829cc20c13f8a8b1f8d2a (patch)
tree0365b2c8f70162a32a46c986ab39d12c562fadaf /games/gnomememoryblocks
parent6295b7b9e0570c420742d9fee3ee55a4a1ff24f7 (diff)
downloadfreebsd-ports-gnome-f55431a8d1adc783966829cc20c13f8a8b1f8d2a.tar.gz
freebsd-ports-gnome-f55431a8d1adc783966829cc20c13f8a8b1f8d2a.tar.zst
freebsd-ports-gnome-f55431a8d1adc783966829cc20c13f8a8b1f8d2a.zip
Replace ${PERL} with ${REINPLACE_CMD}
PR: 40012 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'games/gnomememoryblocks')
-rw-r--r--games/gnomememoryblocks/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/games/gnomememoryblocks/Makefile b/games/gnomememoryblocks/Makefile
index 4e376c16f6ce..dc6e893732ff 100644
--- a/games/gnomememoryblocks/Makefile
+++ b/games/gnomememoryblocks/Makefile
@@ -14,6 +14,7 @@ DISTNAME= gnome-memblocks-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GNOME= yes
USE_LIBTOOL= yes
@@ -21,10 +22,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|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>