1 # $NetBSD: Makefile,v 1.22 2009/10/29 20:21:43 joerg Exp $
4 DISTNAME= powermanga-0.90
6 MASTER_SITES= http://linux.tlk.fr/games/Powermanga/download/
8 MAINTAINER= pkgsrc-users@NetBSD.org
9 HOMEPAGE= http://linux.tlk.fr/games/Powermanga/
10 COMMENT= Arcade 2D shoot-em-up game
13 PKG_DESTDIR_SUPPORT= user-destdir
18 CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
19 MAKE_ENV+= TOUCH=${TOUCH:Q} WRKSRC=${WRKSRC:Q}
21 .include "../../mk/bsd.prefs.mk"
23 .if ${X11_TYPE} == "modular"
24 CONFIGURE_ARGS+= --x-includes=${PREFIX}/include
25 CONFIGURE_ARGS+= --x-libraries=${PREFIX}/lib
29 SUBST_STAGE.path= post-patch
30 SUBST_SED.path+= -e "s,/games/powermanga,/powermanga,g"
31 SUBST_MESSAGE.path= Fixing support file installation paths.
32 SUBST_FILES.path+= data/Makefile.in
33 SUBST_FILES.path+= data/curves/Makefile.in
34 SUBST_FILES.path+= data/levels/curves_phase/Makefile.in
35 SUBST_FILES.path+= data/levels/grids_phase/Makefile.in
36 SUBST_FILES.path+= graphics/Makefile.in
37 SUBST_FILES.path+= graphics/bitmap/Makefile.in
38 SUBST_FILES.path+= graphics/bitmap/fonts/Makefile.in
39 SUBST_FILES.path+= graphics/sprites/Makefile.in
40 SUBST_FILES.path+= graphics/sprites/guardians/Makefile.in
41 SUBST_FILES.path+= graphics/sprites/meteors/Makefile.in
42 SUBST_FILES.path+= graphics/sprites/spaceships/Makefile.in
43 SUBST_FILES.path+= graphics/sprites/stars/Makefile.in
44 SUBST_FILES.path+= powermanga.6
45 SUBST_FILES.path+= sounds/Makefile.in
46 SUBST_FILES.path+= sounds/handheld_console/Makefile.in
47 SUBST_FILES.path+= src/tools.c
48 SUBST_FILES.path+= texts/Makefile.in
50 .include "../../audio/SDL_mixer/buildlink3.mk"
51 .include "../../devel/SDL/buildlink3.mk"
52 .include "../../x11/libXxf86dga/buildlink3.mk"
53 .include "../../x11/libXxf86vm/buildlink3.mk"
54 .include "../../mk/bsd.pkg.mk"