diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-30 02:50:27 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-30 02:50:27 +0000 |
commit | 520bec1f56b59e6f799cb8d16ae618cda06384a1 (patch) | |
tree | d6f3d35c80e52d7987e6598f667ba08fe60f38fb /games/glife | |
parent | it needs PERL (diff) |
Replace ${PERL} with ${REINPLACE_CMD}
PR: 40012
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Notes
Notes:
svn path=/head/; revision=62204
Diffstat (limited to 'games/glife')
-rw-r--r-- | games/glife/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/games/glife/Makefile b/games/glife/Makefile index 4034d1cf067d..35f25cbcee1b 100644 --- a/games/glife/Makefile +++ b/games/glife/Makefile @@ -15,16 +15,17 @@ DISTNAME= gLife-${PORTVERSION} MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_X_PREFIX= yes USE_LIBTOOL= yes USE_GNOME= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-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> |