blob: 0e8f9f7093a0e3cd49f246b1dba1ff4ec7ffd5b5 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= pentobi
PORTVERSION= 18.3
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Computer opponent for the board game Blokus
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE.md
BUILD_DEPENDS= itstool:textproc/itstool \
rsvg-convert:graphics/librsvg2 \
xsltproc:textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl
USES= compiler:c++14-lang cmake desktop-file-utils gettext-tools qt:5 \
shared-mime-info tar:xz
USE_QT= core gui widgets svg concurrent quickcontrols2 \
declarative network \
qmake_build buildtools_build linguisttools_build
CMAKE_ARGS= -DDOCBOOK_XSL=${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl
PORTDOCS= AUTHORS.md HACKING.md NEWS.md README.md
PORTDATA= *
OPTIONS_DEFINE= DOCS TEST GNOME KDE EXTERNAL_HELP
OPTIONS_DEFAULT=EXTERNAL_HELP
OPTIONS_SUB= yes
TEST_CMAKE_BOOL= PENTOBI_BUILD_TESTS
TEST_TEST_TARGET= test
GNOME_DESC= Build Gnome thumbnailer
GNOME_CMAKE_BOOL= PENTOBI_BUILD_THUMBNAILER
KDE_CMAKE_BOOL= PENTOBI_BUILD_KDE_THUMBNAILER
KDE_USES= kde:5
KDE_USE= KDE=kio
KDE_DESC= Build KDE thumbnailer
EXTERNAL_HELP_DESC= Open help in web browser instead of build-in webview
EXTERNAL_HELP_CMAKE_BOOL= PENTOBI_OPEN_HELP_EXTERNALLY
EXTERNAL_HELP_USE_OFF= QT=webview
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|