summaryrefslogtreecommitdiffstats
path: root/games/chessx/Makefile
blob: 87c3908f219b78eb287bc243588b2601dc71f802 (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