aboutsummaryrefslogtreecommitdiff
path: root/games/xfrisk/Makefile
blob: 97a6839c59ce1031d393513e6c690e8a6b7bbe07 (plain) (blame)
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
36
37
38
39
40
41
# Created by: Matthew Hunt <mph@pobox.com>

PORTNAME=	xfrisk
PORTVERSION=	1.2
PORTREVISION=	6
CATEGORIES=	games
MASTER_SITES=	http://old.tuxick.net/xfrisk/files/ \
		http://devel.ringlet.net/games/xfrisk/
DISTNAME=	XFrisk-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Multi-player networked Risk game for X11

LICENSE=	GPLv2+ CR
LICENSE_COMB=	multi
LICENSE_NAME_CR=	Copyright
LICENSE_TEXT_CR=	Possible trademark infringement
LICENSE_FILE_GPLv2+ =	${WRKSRC}/COPYING
LICENSE_PERMS_CR=	dist-mirror pkg-mirror auto-accept

LIB_DEPENDS=	libXaw3d.so:x11-toolkits/Xaw3d

WRKSRC=		${WRKDIR}/XFrisk

USES=		gmake xorg
USE_XORG=	x11 xt xaw xmu sm ice
MAKE_ENV=	XDIR="${LOCALBASE}"

do-install:
.for file in aiColson aiConway aiDummy friskserver xfrisk
	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
.endfor
.for file in risk
	${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
.endfor
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
.for file in Countries.risk Help.risk World.risk
	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
.endfor

.include <bsd.port.mk>