summaryrefslogtreecommitdiff
path: root/games/pipenightdreams/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/pipenightdreams/Makefile')
-rw-r--r--games/pipenightdreams/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/games/pipenightdreams/Makefile b/games/pipenightdreams/Makefile
index a7135d3d5e46..212d11b8c967 100644
--- a/games/pipenightdreams/Makefile
+++ b/games/pipenightdreams/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pipenightdreams
-PORTVERSION= 0.8.0
+PORTVERSION= 0.9.0
CATEGORIES= games
MASTER_SITES= http://www.libsdl.org/projects/pipenightdreams/packages/
@@ -20,8 +20,12 @@ USE_BZIP2= yes
USE_GMAKE= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" CPPFLAGS="-I${LOCALBASE}/include"
+MAN6= pipenightdreams.6
+
pre-patch:
- @${PERL} -pi -e 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g; s|SDL_LIBSS|SDL_LIBS|g;' ${WRKSRC}/configure
+ @${PERL} -pi -e 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g; \
+ s|SDL_LIBSS|SDL_LIBS|g; s|datadir/games|datadir|;' \
+ ${WRKSRC}/configure
@find ${WRKSRC} -name Makefile.in | \
xargs ${PERL} -pi -e 's|/games/|/|g; \
s/^pipenightdreams_LDADD.+//g;'