[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / powermanga

File: [cvs.NetBSD.org] / pkgsrc / games / powermanga / Makefile (download)

Revision 1.28, Sun Jan 14 15:26:48 2018 UTC (6 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.27: +3 -3 lines

pkgsrc doesn't support PREFIX with spaces or other special characters.
Therefore it is not necessary to add the :Q modifier to this variable
and several others.

pkglint -r -Wall --autofix --only :Q

# $NetBSD: Makefile,v 1.28 2018/01/14 15:26:48 rillig Exp $
#

DISTNAME=	powermanga-0.90
PKGREVISION=	1
CATEGORIES=	games
MASTER_SITES=	http://linux.tlk.fr/games/Powermanga/download/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://linux.tlk.fr/games/Powermanga/
COMMENT=	Arcade 2D shoot-em-up game
LICENSE=	gnu-gpl-v3

USE_LANGUAGES=	c c++
GNU_CONFIGURE=	yes

CONFIGURE_ARGS+=	--localstatedir=${VARBASE}
MAKE_ENV+=		TOUCH=${TOUCH:Q} WRKSRC=${WRKSRC}
LDFLAGS.DragonFly=	-lm
LDFLAGS.SunOS+=		-lm

.include "../../mk/bsd.prefs.mk"

.if ${X11_TYPE} == "modular"
CONFIGURE_ARGS+=	--x-includes=${PREFIX}/include
CONFIGURE_ARGS+=	--x-libraries=${PREFIX}/lib
.endif

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

.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../x11/libXxf86dga/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../x11/xf86dgaproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"