summaryrefslogtreecommitdiff
path: root/games/xpat2/Makefile
blob: f739e33d2d031db93e0a6a359a7ba5de17063bf7 (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
# $NetBSD: Makefile,v 1.26 2010/02/19 21:38:42 joerg Exp $

DISTNAME=	xpat2-1.07
PKGREVISION=	3
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SUNSITE:=games/solitaires/}
EXTRACT_SUFX=	-src.tar.gz

MAINTAINER=	kuebart@mathematik.uni-ulm.de
COMMENT=	X11 solitaire game with 14 variations

MAKE_JOBS_SAFE=		no
PKG_INSTALLATION_TYPES=	overwrite pkgviews
PKG_DESTDIR_SUPPORT=	user-destdir

USE_TOOLS+=	imake pax

MAKE_ENV+=	XPMDIR=${BUILDLINK_PREFIX.libXpm:Q} XMKMF=${XMKMF_CMD:Q}

SETGIDGAME=	yes

CONF_FILES_PERMS=	/dev/null /var/games/xpat.log ${GAMES_USER} ${GAMES_GROUP} ${GAMEMODE}
MAKE_DIRS=		/var/games

SPECIAL_PERMS+=	bin/xpat2 ${SETGID_GAMES_PERMS}

.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXp/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"