aboutsummaryrefslogtreecommitdiffstats
path: root/games/xboard/Makefile
blob: e8e1f4357e2c9ad75672e0a22472328f328aa347 (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
# New ports collection makefile for:    xboard
# Date created:         5 Jan 1997
# Whom:                 xaa@stack.nl
#
# $FreeBSD$
#

PORTNAME=   xboard
PORTVERSION=    4.2.7
CATEGORIES= games
MASTER_SITES=   http://www.tim-mann.org/xboard/ \
        ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= xboard

MAINTAINER= xaa+ports@timewasters.nl
COMMENT=    X frontend for Crafty, GNUChess, Chess Servers, or e-mail chess

BUILD_DEPENDS=  texi2html:${PORTSDIR}/textproc/texi2html

USE_XLIB=   yes
GNU_CONFIGURE=  yes
USE_REINPLACE=  yes
STRIP=
MAN6=       xboard.6 zic2xpm.6
INFO=       xboard

.if defined(WITH_XAW3D)
CONFIGURE_ARGS+=    "--with-Xaw3d"
LIB_DEPENDS+=   Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
.endif

pre-patch:
    @${REINPLACE_CMD} -e 's,$$(prefix)/share/info,@infodir@,' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>