summaryrefslogtreecommitdiff
path: root/games/jetpack/Makefile
blob: f7d76e56c616a818b31f7a3aaa297f6acf50836f (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.11 2010/01/29 23:23:21 joerg Exp $

DISTNAME=	jetpack
PKGNAME=	jetpack-1.0
PKGREVISION=	2
CATEGORIES=	games x11
MASTER_SITES=	ftp://qiclab.scn.rain.com/pub/games/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Arcade action game for X Windows

PKG_DESTDIR_SUPPORT=	user-destdir

USE_IMAKE=	yes
NO_INSTALL_MANPAGES=	yes
SETGIDGAME=		yes

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man6 share/jetpack

SPECIAL_PERMS+=	bin/jetpack ${SETGID_GAMES_PERMS}

CONF_FILES_PERM+=	/dev/null /var/games/jetpack.scores \
			${GAMES_USER} ${GAMES_GROUP} 0664
OWN_DIRS_PERMS+=	${PREFIX}/share/jetpack ${GAMES_USER} ${GAMES_GROUP} 0775

post-install:
	${INSTALL_MAN} ${WRKSRC}/jetpack.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/jetpack.6

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