update Thu Oct 29 18:37:00 PDT 2009
[pkgsrc.git] / games / powermanga / Makefile
1 # $NetBSD: Makefile,v 1.22 2009/10/29 20:21:43 joerg Exp $
2 #
3
4 DISTNAME=       powermanga-0.90
5 CATEGORIES=     games
6 MASTER_SITES=   http://linux.tlk.fr/games/Powermanga/download/
7
8 MAINTAINER=     pkgsrc-users@NetBSD.org
9 HOMEPAGE=       http://linux.tlk.fr/games/Powermanga/
10 COMMENT=        Arcade 2D shoot-em-up game
11 LICENSE=        gnu-gpl-v3
12
13 PKG_DESTDIR_SUPPORT=    user-destdir
14
15 USE_LANGUAGES=  c c++
16 GNU_CONFIGURE=  yes
17
18 CONFIGURE_ARGS+=        --localstatedir=${VARBASE:Q}
19 MAKE_ENV+=              TOUCH=${TOUCH:Q} WRKSRC=${WRKSRC:Q}
20
21 .include "../../mk/bsd.prefs.mk"
22
23 .if ${X11_TYPE} == "modular"
24 CONFIGURE_ARGS+=        --x-includes=${PREFIX}/include
25 CONFIGURE_ARGS+=        --x-libraries=${PREFIX}/lib
26 .endif
27
28 SUBST_CLASSES+=         path
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
49
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"