summaryrefslogtreecommitdiff
path: root/games/pentobi/Makefile
blob: cb1ce7461319065d1808fbd775f82f6b4925bb9a (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
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=	pentobi
PORTVERSION=	15.0
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Computer opponent for the board game Blokus

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

USES=		cmake compiler:c++11-lang desktop-file-utils qt:5 \
		shared-mime-info tar:xz
USE_QT=		core gui widgets svg concurrent \
		qmake_build buildtools_build linguisttools_build

PORTDOCS=	NEWS

OPTIONS_DEFINE=	DOCS TEST
TEST_CMAKE_BOOL=	PENTOBI_BUILD_TESTS
TEST_TEST_TARGET=	test

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>