aboutsummaryrefslogtreecommitdiff
path: root/games/xboard/Makefile
blob: c6686f5df122c4f8f23de75f1926a3d5a0bbefa4 (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
PORTREVISION=	3
CATEGORIES=	games
MASTER_SITES=	http://www.tim-mann.org/xboard/ \
		${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	xboard

MAINTAINER=	johans@stack.nl
COMMENT=	X frontend for Crafty, GNUChess, Chess Servers, or e-mail chess

USE_XORG=	xt xpm xaw
GNU_CONFIGURE=	yes
STRIP=
MAN6=		xboard.6 zic2xpm.6
INFO=		xboard
USE_PERL5_BUILD=yes

.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@,' \
		-e 's, html dvi ps,,' \
		${WRKSRC}/Makefile.in

.include <bsd.port.mk>