summaryrefslogtreecommitdiff
path: root/games/powerpak/Makefile
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
commit534fffca27bb18f7529d548c46ee3326505a89c7 (patch)
treea09ac440edd299d85a3517dea62caa2b115543fc /games/powerpak/Makefile
parentUpdate for a new patchset, which has only different comments. (diff)
${PERL} -> ${REINPLACE_CMD}
PR: 40784 Submitted by: corecode@corecode.ath.cx Reviewed by: flynn@energyhq.homeip.net
Notes
Notes: svn path=/head/; revision=65426
Diffstat (limited to '')
-rw-r--r--games/powerpak/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/powerpak/Makefile b/games/powerpak/Makefile
index b812bdd9cc26..a35284c70058 100644
--- a/games/powerpak/Makefile
+++ b/games/powerpak/Makefile
@@ -21,13 +21,14 @@ LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 \
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
USE_FREETYPE= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
MAKEFILE= Makefile.UNIX
post-extract:
- @ /usr/bin/find ${WRKSRC} -type f | xargs ${PERL} -pi -e 's/\r//g ; \
- s|"SDL/|"|g ; s|<SDL/|<|g'
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e "s/`/usr/bin/printf '\r'`//g ; \
+ s|\"SDL/|\"|g ; s|<SDL/|<|g"
do-install:
@ ${INSTALL_DATA} ${WRKSRC}/libPP.a ${PREFIX}/lib