summaryrefslogtreecommitdiff
path: root/games/xbomb/Makefile
blob: 6123a1cad38f5cbc243f70a9de65910e8fc8c5dc (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.10 2007/02/02 18:26:09 joerg Exp $

DISTNAME=	xbomb-2.1a
PKGREVISION=	2
CATEGORIES=	games x11
MASTER_SITES=	http://www.gedanken.demon.co.uk/download-xbomb/ \
		ftp://ftp.demon.co.uk/pub/unix/xwindows/games/ \
		ftp://ftp.ibiblio.org/pub/Linux/games/strategy/
EXTRACT_SUFX=	.tgz

MAINTAINER=	adam@NetBSD.org
HOMEPAGE=	http://www.gedanken.demon.co.uk/xbomb/
COMMENT=	Square, hexagonal, and triangual minesweeper clone

USE_TOOLS+=		gmake
BUILD_TARGET=		xbomb
MAKE_ENV+=		SCORE_PATH=${SCORE_PATH:Q}

SCORE_PATH=	${VARBASE}/games/xbomb
SCORE_USER=	games
SCORE_GROUP=	games
PKG_USERS=	${SCORE_USER}:${SCORE_GROUP}
PKG_GROUPS=	${SCORE_GROUP}

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man6 lib/X11/app-defaults
CONF_FILES_PERMS+=	/dev/null ${SCORE_PATH}/xbomb3.hi ${GAMEOWN} ${GAMEGRP} ${GAMEDATAMODE}
CONF_FILES_PERMS+=	/dev/null ${SCORE_PATH}/xbomb4.hi ${GAMEOWN} ${GAMEGRP} ${GAMEDATAMODE}
CONF_FILES_PERMS+=	/dev/null ${SCORE_PATH}/xbomb6.hi ${GAMEOWN} ${GAMEGRP} ${GAMEDATAMODE}


.include "../../x11/libXaw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"