aboutsummaryrefslogtreecommitdiff
path: root/games/powerpak
diff options
context:
space:
mode:
Diffstat (limited to 'games/powerpak')
-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