2012-10-06 13:54:29 +02:00
|
|
|
# $NetBSD: Makefile,v 1.25 2012/10/06 11:54:50 asau Exp $
|
2004-04-16 21:34:06 +02:00
|
|
|
#
|
|
|
|
|
2009-09-02 13:38:01 +02:00
|
|
|
DISTNAME= powermanga-0.90
|
2004-04-16 21:34:06 +02:00
|
|
|
CATEGORIES= games
|
2005-01-31 00:48:32 +01:00
|
|
|
MASTER_SITES= http://linux.tlk.fr/games/Powermanga/download/
|
2004-04-16 21:34:06 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-07-26 00:01:15 +02:00
|
|
|
HOMEPAGE= http://linux.tlk.fr/games/Powermanga/
|
2004-05-07 17:25:13 +02:00
|
|
|
COMMENT= Arcade 2D shoot-em-up game
|
2009-09-02 13:38:01 +02:00
|
|
|
LICENSE= gnu-gpl-v3
|
2004-04-16 21:34:06 +02:00
|
|
|
|
2006-05-25 15:39:02 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2004-04-16 21:34:06 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-01-31 00:48:32 +01:00
|
|
|
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
|
2009-09-02 13:38:01 +02:00
|
|
|
MAKE_ENV+= TOUCH=${TOUCH:Q} WRKSRC=${WRKSRC:Q}
|
2012-05-16 17:02:41 +02:00
|
|
|
LDFLAGS.DragonFly= -lm
|
2009-09-02 13:38:01 +02:00
|
|
|
|
2009-10-29 21:21:43 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${X11_TYPE} == "modular"
|
|
|
|
CONFIGURE_ARGS+= --x-includes=${PREFIX}/include
|
|
|
|
CONFIGURE_ARGS+= --x-libraries=${PREFIX}/lib
|
|
|
|
.endif
|
|
|
|
|
2009-09-02 13:38:01 +02:00
|
|
|
SUBST_CLASSES+= path
|
|
|
|
SUBST_STAGE.path= post-patch
|
|
|
|
SUBST_SED.path+= -e "s,/games/powermanga,/powermanga,g"
|
|
|
|
SUBST_MESSAGE.path= Fixing support file installation paths.
|
|
|
|
SUBST_FILES.path+= data/Makefile.in
|
|
|
|
SUBST_FILES.path+= data/curves/Makefile.in
|
|
|
|
SUBST_FILES.path+= data/levels/curves_phase/Makefile.in
|
|
|
|
SUBST_FILES.path+= data/levels/grids_phase/Makefile.in
|
|
|
|
SUBST_FILES.path+= graphics/Makefile.in
|
|
|
|
SUBST_FILES.path+= graphics/bitmap/Makefile.in
|
|
|
|
SUBST_FILES.path+= graphics/bitmap/fonts/Makefile.in
|
|
|
|
SUBST_FILES.path+= graphics/sprites/Makefile.in
|
|
|
|
SUBST_FILES.path+= graphics/sprites/guardians/Makefile.in
|
|
|
|
SUBST_FILES.path+= graphics/sprites/meteors/Makefile.in
|
|
|
|
SUBST_FILES.path+= graphics/sprites/spaceships/Makefile.in
|
|
|
|
SUBST_FILES.path+= graphics/sprites/stars/Makefile.in
|
|
|
|
SUBST_FILES.path+= powermanga.6
|
|
|
|
SUBST_FILES.path+= sounds/Makefile.in
|
|
|
|
SUBST_FILES.path+= sounds/handheld_console/Makefile.in
|
|
|
|
SUBST_FILES.path+= src/tools.c
|
|
|
|
SUBST_FILES.path+= texts/Makefile.in
|
2004-04-16 21:34:06 +02:00
|
|
|
|
|
|
|
.include "../../audio/SDL_mixer/buildlink3.mk"
|
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
2007-01-30 16:34:36 +01:00
|
|
|
.include "../../x11/libXxf86dga/buildlink3.mk"
|
|
|
|
.include "../../x11/libXxf86vm/buildlink3.mk"
|
2011-07-05 03:33:25 +02:00
|
|
|
.include "../../x11/xf86dgaproto/buildlink3.mk"
|
2004-04-16 21:34:06 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|