aboutsummaryrefslogtreecommitdiffstats
path: root/games/xgospel/Makefile
blob: aa4b6659c924160aa6fc0e3bbc8ef810e06b3a2c (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
42
# New ports collection makefile for:    xgospel
# Date created:        13 November 2001
# Whom:                Shao Zhang <shaoz@asia.com>
#
# $FreeBSD$

PORTNAME=   xgospel
PORTVERSION=    1.12d
CATEGORIES= games
MASTER_SITES=   http://www.teaser.fr/~jlgailly/

MAINTAINER= ports@FreeBSD.org
COMMENT=    An X11 Go (weiqi, baduk) client for the Internet Go Server

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

USE_XLIB=   yes
USE_XPM=    yes
GNU_CONFIGURE=  yes

CONFIGURE_ARGS= --with-x --with-xpm --with-xaw3d

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386"
BROKEN=     "Does not compile on !i386"
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/relay ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/rport ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/xgospel ${PREFIX}/bin
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/board.xpm ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/pagoda.xpm ${DATADIR}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/FAQ ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.post.mk>