summaryrefslogtreecommitdiff
path: root/games/bastet/Makefile
blob: be0693a2dd88c555e1550d1d0f1157d1d286244d (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.4 2008/03/04 11:02:24 rillig Exp $
#

DISTNAME=		bastet-0.41
PKGREVISION=		1
CATEGORIES=		games
MASTER_SITES=		http://fph.altervista.org/prog/
EXTRACT_SUFX=		.tgz

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://fph.altervista.org/prog/bastet.shtml
COMMENT=		Bastard Tetris

PKG_DESTDIR_SUPPORT=	user-destdir

USE_TOOLS+=		gmake
MAKE_FLAGS+=		BIN_PREFIX=${PREFIX}/bin/
MAKE_FLAGS+=		DATA_PREFIX=${VARBASE}/games/
BUILD_DEFS+=		VARBASE

SETGIDGAME=		yes
SPECIAL_PERMS=		bin/bastet ${SETGID_GAMES_PERMS}
INSTALLATION_DIRS=	bin ${PKGMANDIR}/man6

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bastet ${DESTDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/bastet.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/

.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"