summaryrefslogtreecommitdiff
path: root/games/dd2/Makefile
blob: dc6ab24604bbea50f1c6df0a24c630993c6c33db (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
# $NetBSD: Makefile,v 1.14 2012/10/06 11:54:35 asau 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

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"