summaryrefslogtreecommitdiff
path: root/games/xjewel/Makefile
blob: 8c2c7fcd8c702ad6972e6af42e7363897475a372 (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.12 2011/05/24 09:54:05 obache Exp $

DISTNAME=	xjewel-1.6
PKGREVISION=	3
CATEGORIES=	games x11
MASTER_SITES=	${MASTER_SITE_XCONTRIB:S/contrib/R5contrib/}
EXTRACT_SUFX=	.tar.z

MAINTAINER=	jdc@NetBSD.org
COMMENT=	X windows-based dropping jewels game

PKG_DESTDIR_SUPPORT=	user-destdir

USE_IMAKE=	yes
USE_TOOLS+=	gzcat bdftopcf mkfontdir

BUILD_DEFS+=	VARBASE

SPECIAL_PERMS+=		bin/xjewel ${SETGID_GAMES_PERMS}
REQD_DIRS+=		${VARBASE}/games
REQD_FILES_PERMS+=	/dev/null ${VARBASE}/games/xjewel.scores ${GAMEDATA_PERMS}

SUBST_CLASSES+=		varbase
SUBST_STAGE.varbase=	pre-configure
SUBST_FILES.varbase=	Imakefile
SUBST_VARS.varbase=	VARBASE

.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"