1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Pentobi is a computer opponent for the board game Blokus.

* Supported game variants: Classic, Duo, Trigon, Junior, Nexos,
  GembloQ, Callisto
* Strong Blokus engine with 9 different playing levels
* Player rating by playing rated games against the computer
* Game analysis function
* Save and load games in Smart Game Format including comments and
  move variations
* Source code is available under the GNU General Public License
* System requirements: 1 GB RAM, 1 GHz CPU (4 GB RAM, 2.5 GHz
  dual-core or faster CPU recommended for playing level 9)

WWW: https://pentobi.sourceforge.io/
This commit is contained in:
Dmitry Marakasov 2017-06-16 09:20:07 +00:00
parent 31343e2427
commit 19c7dc4450
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443680
6 changed files with 156 additions and 0 deletions

View File

@ -742,6 +742,7 @@
SUBDIR += pengpong
SUBDIR += penguin-command
SUBDIR += pengupop
SUBDIR += pentobi
SUBDIR += phalanx
SUBDIR += phlipple
SUBDIR += picmi

27
games/pentobi/Makefile Normal file
View File

@ -0,0 +1,27 @@
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= pentobi
PORTVERSION= 13.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 desktop-file-utils shared-mime-info tar:xz
USE_QT5= core gui widgets svg concurrent \
qmake_build buildtools_build linguisttools_build
PORTDOCS= NEWS
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>

3
games/pentobi/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1497519656
SHA256 (pentobi-13.1.tar.xz) = 3903935654f5a2e369a3fe8bf7f08bfe2700cf5be3c3392dad164d6ab8bf9734
SIZE (pentobi-13.1.tar.xz) = 419672

View File

@ -0,0 +1,24 @@
--- src/libboardgame_sgf/MissingProperty.cpp.orig 2017-06-06 11:23:03 UTC
+++ src/libboardgame_sgf/MissingProperty.cpp
@@ -10,17 +10,19 @@
#include "MissingProperty.h"
+#include <string>
+
namespace libboardgame_sgf {
//-----------------------------------------------------------------------------
MissingProperty::MissingProperty(const string& message)
- : InvalidTree("Missing SGF property: " + message)
+ : InvalidTree(string{"Missing SGF property: "} + message)
{
}
MissingProperty::MissingProperty(const string& id, const string& message)
- : InvalidTree("Missing SGF property '" + id + ": " + message)
+ : InvalidTree(string{"Missing SGF property '"} + id + ": " + message)
{
}

14
games/pentobi/pkg-descr Normal file
View File

@ -0,0 +1,14 @@
Pentobi is a computer opponent for the board game Blokus.
* Supported game variants: Classic, Duo, Trigon, Junior, Nexos,
GembloQ, Callisto
* Strong Blokus engine with 9 different playing levels
* Player rating by playing rated games against the computer
* Game analysis function
* Save and load games in Smart Game Format including comments and
move variations
* Source code is available under the GNU General Public License
* System requirements: 1 GB RAM, 1 GHz CPU (4 GB RAM, 2.5 GHz
dual-core or faster CPU recommended for playing level 9)
WWW: https://pentobi.sourceforge.io/

87
games/pentobi/pkg-plist Normal file
View File

@ -0,0 +1,87 @@
bin/pentobi
bin/pentobi-thumbnailer
man/man6/pentobi-thumbnailer.6.gz
man/man6/pentobi.6.gz
share/applications/io.sourceforge.pentobi.desktop
share/help/C/pentobi/analysis.jpg
share/help/C/pentobi/become_stronger.html
share/help/C/pentobi/board_callisto.png
share/help/C/pentobi/board_classic.png
share/help/C/pentobi/board_duo.png
share/help/C/pentobi/board_gembloq.png
share/help/C/pentobi/board_nexos.png
share/help/C/pentobi/board_trigon.jpg
share/help/C/pentobi/callisto_rules.html
share/help/C/pentobi/classic_rules.html
share/help/C/pentobi/duo_rules.html
share/help/C/pentobi/gembloq_rules.html
share/help/C/pentobi/index.html
share/help/C/pentobi/junior_rules.html
share/help/C/pentobi/license.html
share/help/C/pentobi/nexos_rules.html
share/help/C/pentobi/pieces.png
share/help/C/pentobi/pieces_callisto.png
share/help/C/pentobi/pieces_gembloq.jpg
share/help/C/pentobi/pieces_junior.png
share/help/C/pentobi/pieces_nexos.png
share/help/C/pentobi/pieces_trigon.jpg
share/help/C/pentobi/position_callisto.png
share/help/C/pentobi/position_classic.png
share/help/C/pentobi/position_duo.png
share/help/C/pentobi/position_gembloq.png
share/help/C/pentobi/position_nexos.png
share/help/C/pentobi/position_trigon.jpg
share/help/C/pentobi/rating.jpg
share/help/C/pentobi/shortcuts.html
share/help/C/pentobi/stylesheet.css
share/help/C/pentobi/system.html
share/help/C/pentobi/trigon_rules.html
share/help/C/pentobi/user_interface.html
share/help/C/pentobi/window_menu.html
share/help/de/pentobi/become_stronger.html
share/help/de/pentobi/callisto_rules.html
share/help/de/pentobi/classic_rules.html
share/help/de/pentobi/duo_rules.html
share/help/de/pentobi/gembloq_rules.html
share/help/de/pentobi/index.html
share/help/de/pentobi/junior_rules.html
share/help/de/pentobi/license.html
share/help/de/pentobi/nexos_rules.html
share/help/de/pentobi/shortcuts.html
share/help/de/pentobi/system.html
share/help/de/pentobi/trigon_rules.html
share/help/de/pentobi/user_interface.html
share/help/de/pentobi/window_menu.html
share/icons/hicolor/16x16/apps/pentobi.png
share/icons/hicolor/16x16/mimetypes/application-x-blokus-sgf.png
share/icons/hicolor/32x32/apps/pentobi.png
share/icons/hicolor/32x32/mimetypes/application-x-blokus-sgf.png
share/icons/hicolor/48x48/apps/pentobi.png
share/icons/hicolor/48x48/mimetypes/application-x-blokus-sgf.png
share/icons/hicolor/64x64/apps/pentobi.png
share/icons/hicolor/64x64/mimetypes/application-x-blokus-sgf.png
share/icons/hicolor/scalable/apps/pentobi.svg
share/icons/hicolor/scalable/mimetypes/application-x-blokus-sgf.svg
share/metainfo/io.sourceforge.pentobi.appdata.xml
share/mime/packages/pentobi-mime.xml
%%DATADIR%%/books/book_callisto.blksgf
%%DATADIR%%/books/book_callisto_2.blksgf
%%DATADIR%%/books/book_callisto_3.blksgf
%%DATADIR%%/books/book_classic.blksgf
%%DATADIR%%/books/book_classic_2.blksgf
%%DATADIR%%/books/book_classic_3.blksgf
%%DATADIR%%/books/book_duo.blksgf
%%DATADIR%%/books/book_gembloq.blksgf
%%DATADIR%%/books/book_gembloq_2.blksgf
%%DATADIR%%/books/book_gembloq_2_4.blksgf
%%DATADIR%%/books/book_gembloq_3.blksgf
%%DATADIR%%/books/book_junior.blksgf
%%DATADIR%%/books/book_nexos.blksgf
%%DATADIR%%/books/book_nexos_2.blksgf
%%DATADIR%%/books/book_trigon.blksgf
%%DATADIR%%/books/book_trigon_2.blksgf
%%DATADIR%%/books/book_trigon_3.blksgf
%%DATADIR%%/translations/libpentobi_gui_de.qm
%%DATADIR%%/translations/pentobi.qm
%%DATADIR%%/translations/pentobi_de.qm
share/thumbnailers/pentobi.thumbnailer