aboutsummaryrefslogtreecommitdiff
path: root/games/gno3dtet
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-30 02:50:27 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-30 02:50:27 +0000
commit520bec1f56b59e6f799cb8d16ae618cda06384a1 (patch)
treed6f3d35c80e52d7987e6598f667ba08fe60f38fb /games/gno3dtet
parent3dd7df2bffece28c084c9d7b7b7fb32fd9cf8f96 (diff)
downloadports-520bec1f56b59e6f799cb8d16ae618cda06384a1.tar.gz
ports-520bec1f56b59e6f799cb8d16ae618cda06384a1.zip
Notes
Diffstat (limited to 'games/gno3dtet')
-rw-r--r--games/gno3dtet/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/games/gno3dtet/Makefile b/games/gno3dtet/Makefile
index d948c727833d..1116d2acfc82 100644
--- a/games/gno3dtet/Makefile
+++ b/games/gno3dtet/Makefile
@@ -14,6 +14,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= yes
@@ -22,11 +23,11 @@ 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'
post-install:
${CHOWN} root:games ${PREFIX}/bin/gno3dtet