summaryrefslogtreecommitdiff
path: root/games/dd2/Makefile
blob: 673f9e35d51d3ff8329950078ff4b8aeb26abb02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.13 2010/02/19 19:25:20 joerg Exp $
#

DISTNAME=		dd2-0.2.2
PKGREVISION=		1
CATEGORIES=		games
MASTER_SITES=		http://www.usebox.net/jjm/dd2/releases/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.usebox.net/jjm/dd2/
COMMENT=		Shoot'em up arcade game for one or two players

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=		yes

DD2_SCORE=		${VARBASE}/games
CFLAGS+=		-DDD2_SCORE=\"${DD2_SCORE}\"

SETGIDGAME=		yes
SPECIAL_PERMS=		bin/dd2 ${SETGID_GAMES_PERMS}
REQD_DIRS_PERMS+=	${DD2_SCORE} ${GAMES_USER} ${GAMES_GROUP} ${GAMEDIRMODE}
REQD_FILES_PERMS+=	share/dd2/dd2-hiscore ${DD2_SCORE}/dd2-hiscore	\
			${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}

BUILD_DEFS+=		VARBASE
BUILD_DEFS+=		GAMEDATAMODE
BUILD_DEFS+=		GAMEMODE

.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"