aboutsummaryrefslogtreecommitdiff
path: root/games/pentobi/Makefile
blob: 988335641153fae87d7088c187aa1e9fd50f81e8 (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
PORTNAME=	pentobi
PORTVERSION=	26.3
CATEGORIES=	games
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Computer opponent for the board game Blokus
WWW=		https://pentobi.sourceforge.io/ \
		https://github.com/enz/pentobi

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/LICENSE.md

USES=		compiler:c++20-lang cmake desktop-file-utils gettext-tools gnome qt:6 \
		shared-mime-info tar:xz
USE_GNOME=	librsvg2:build
USE_QT=		base declarative tools:build

PORTDATA=	*
PORTDOCS=	*

OPTIONS_DEFINE=	DOCS TEST
OPTIONS_DEFAULT=TEST

TEST_CMAKE_BOOL=	BUILD_TESTING
TEST_TEST_TARGET=	test

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS.md CONTRIBUTING.md NEWS.md \
		README.md ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>