aboutsummaryrefslogtreecommitdiff
path: root/games/powerpak
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
parent5bc499ce47fa1a8da853b36cc61cddf06075d203 (diff)
downloadports-534fffca27bb18f7529d548c46ee3326505a89c7.tar.gz
ports-534fffca27bb18f7529d548c46ee3326505a89c7.zip
Notes
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