summaryrefslogtreecommitdiffstats
path: root/games/chessx/Makefile
blob: 9e6ae52a8c49c7031d7fe35fd87744b7cbff0470 (plain)
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
# $FreeBSD$

PORTNAME=	chessx
PORTVERSION=	1.3.2
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Qt 4 chess database application

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		desktop-file-utils qmake shared-mime-info tar:tgz
USE_QT4=	corelib gui svg network linguisttools_build \
		moc_build qmake_build rcc_build uic_build
QMAKE_ARGS+=	QMAKE_LRELEASE=${LRELEASE}

PLIST_FILES=	bin/chessx \
		share/applications/chessx.desktop \
		share/pixmaps/chessx.png

OPTIONS_DEFINE=	STOCKFISH CRAFTY

STOCKFISH_DESC=	Install Stockfish Chess Engine
STOCKFISH_RUN_DEPENDS=	stockfish:games/stockfish

CRAFTY_DESC=	Install Crafty Chess Application
CRAFTY_RUN_DEPENDS=	crafty:games/crafty

.include <bsd.port.mk>
OpenPOWER on IntegriCloud