summaryrefslogtreecommitdiff
path: root/games/xpipeman/Makefile
blob: 101994d65098ae472c38063b360102e7b4cece14 (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
33
34
35
# $NetBSD: Makefile,v 1.18 2008/04/07 18:28:11 joerg Exp $
#

DISTNAME=	xpipeman-1.5
PKGREVISION=	3
CATEGORIES=	games x11
MASTER_SITES=	${MASTER_SITE_SUNSITE:=games/strategy/}

MAINTAINER=	pkgsrc-users@NetBSD.org
# HOMEPAGE=	http://www.spinne.com/x/games/xpipeman/
# domain squatted, page last updated 1999
COMMENT=	Connect the pipes to contain the water flow game for X11

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/xpipeman
USE_IMAKE=	yes

SETGIDGAME=		yes
CONF_FILES_PERMS=	share/xpipeman/xpipescores /var/games/xpipescores \
			${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
SPECIAL_PERMS=		bin/xpipeman ${SETGID_GAMES_PERMS}
REQD_DIRS_PERMS=	share/xpipeman ${GAMES_USER} ${GAMES_GROUP} ${GAMEDIRMODE}

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

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xpipeman ${DESTDIR}${PREFIX}/bin/xpipeman
	${INSTALL_MAN} ${WRKSRC}/xpipeman.man \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xpipeman.6
	${INSTALL_DATA} ${WRKSRC}/xpipescores ${DESTDIR}${PREFIX}/share/xpipeman

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