aboutsummaryrefslogtreecommitdiff
path: root/games/powermanga/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-01-19 11:26:34 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-01-19 11:26:34 +0000
commit6b39dd78d3887d433a285d429346d82ab11768a7 (patch)
tree0073a46da0093e72cd1c4cd84bfe7a32a4af14de /games/powermanga/Makefile
parent65d7eb9af037e4dc670d1759f67358cdd6d67ec7 (diff)
downloadports-6b39dd78d3887d433a285d429346d82ab11768a7.tar.gz
ports-6b39dd78d3887d433a285d429346d82ab11768a7.zip
Update port: games/powermanga to 0.79
* Update to 0.79 * Cleanups PR: ports/76393 Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Notes
Notes: svn path=/head/; revision=126821
Diffstat (limited to 'games/powermanga/Makefile')
-rw-r--r--games/powermanga/Makefile26
1 files changed, 20 insertions, 6 deletions
diff --git a/games/powermanga/Makefile b/games/powermanga/Makefile
index 9cbc5c763db9..177de846c91c 100644
--- a/games/powermanga/Makefile
+++ b/games/powermanga/Makefile
@@ -6,25 +6,39 @@
#
PORTNAME= powermanga
-PORTVERSION= 0.78
-PORTREVISION= 2
+PORTVERSION= 0.79
CATEGORIES= games
-MASTER_SITES= http://www.tlk.fr/lesjeux/
-DISTNAME= ${PORTNAME}
+MASTER_SITES= http://linux.tlk.fr/games/Powermanga/download/
+EXTRACT_SUFX= .tgz
MAINTAINER= jylefort@brutele.be
COMMENT= An arcade 2D shoot-em-up
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_X_PREFIX= yes
USE_SDL= sdl mixer
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --program-prefix=""
USE_REINPLACE= yes
MAN6= powermanga.6
post-patch:
- @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/powermanga.6
+ @${REINPLACE_CMD} -e 's|^CXXFLAGS="-O3.*||' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|/usr/share/games/\(powermanga/graphics\)|${PREFIX}/share/\1|; \
+ s|/usr/share/games/\(powermanga\)/sound|${PREFIX}/share/\1/sounds|' \
+ ${WRKSRC}/powermanga.6
+ @${REINPLACE_CMD} -e 's|(mandir)|&/man6|' \
+ ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|\((prefix)\)/games|\1/bin|' \
+ ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|games/\(powermanga\)|\1|' \
+ ${WRKSRC}/graphics/Makefile.in \
+ ${WRKSRC}/sounds/Makefile.in \
+ ${WRKSRC}/src/linuxroutines.cpp
+ @${REINPLACE_CMD} -e 's|SDL/||' \
+ ${WRKSRC}/src/powermanga.hpp \
+ ${WRKSRC}/src/sdl_mixer.cpp
.if !defined(NOPORTDOCS)
post-install: