summaryrefslogtreecommitdiff
path: root/games/xtris/Makefile
blob: c48df36b653701f880b901b9fdd0064ccd108c25 (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.15 2006/12/19 12:40:48 rillig Exp $
#

DISTNAME=	xtris-1.15
PKGREVISION=	1
CATEGORIES=	games x11
MASTER_SITES=	http://www.iagora.com/~espel/xtris/

MAINTAINER=	opp@MuFFiN.Org
HOMEPAGE=	http://www.iagora.com/~espel/xtris/xtris.html
COMMENT=	Multi-player version of a popular game for the X Window system

WRKSRC=		${WRKDIR}/xtris
USE_X11BASE=	yes
LIBS.SunOS+=	-lsocket -lnsl
MAKE_ENV+=	LIBS=${LIBS:Q}

.include "options.mk"

INSTALLATION_DIRS=	bin ${PREFIX}/man6

.include "../../mk/x11.buildlink3.mk"

do-install:
	${INSTALL_GAME} ${WRKSRC}/xtris ${PREFIX}/bin/xtris
	${INSTALL_GAME} ${WRKSRC}/xtbot ${PREFIX}/bin/xtbot
	${INSTALL_GAME} ${WRKSRC}/xtserv ${PREFIX}/bin/xtserv
	${INSTALL_MAN} ${WRKSRC}/xtris.6 ${PREFIX}/${PKGMANDIR}/man6/xtris.6
	${INSTALL_MAN} ${WRKSRC}/xtbot.6 ${PREFIX}/${PKGMANDIR}/man6/xtbot.6
	${INSTALL_MAN} ${WRKSRC}/xtserv.6 ${PREFIX}/${PKGMANDIR}/man6/xtserv.6

.include "../../mk/bsd.pkg.mk"