aboutsummaryrefslogtreecommitdiffstats
path: root/games/xfrisk/Makefile
blob: 00b5f9211e3d2939e31be286b91d88491669333c (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
# Created by: Matthew Hunt <mph@pobox.com>
# $FreeBSD$

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 # or later
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libXaw3d.so:${PORTSDIR}/x11-toolkits/Xaw3d

NO_CDROM=   Possible trademark infringement

WRKSRC=     ${WRKDIR}/XFrisk

USE_XORG=   x11 xt xaw xmu sm ice
USES=       gmake
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>