summaryrefslogtreecommitdiffstats
path: root/freebsd/applications/games/knights
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-10-27 04:21:15 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-10-29 13:25:04 +0200
commit0be4bb38e65d682e612205f5865a5529b42dc5f1 (patch)
tree9a67f67cdd05cbb6b67a396ba1d4293da17dd1fa /freebsd/applications/games/knights
parentb9d33de3622fcad3fdfdc9b1464b4bc160f205ba (diff)
downloadtde-packaging-0be4bb38e65d682e612205f5865a5529b42dc5f1.tar.gz
tde-packaging-0be4bb38e65d682e612205f5865a5529b42dc5f1.zip
FreeBSD: Update for final release R14.0.11.r14.0.11
Adjusted to new a layout of applications folder. Pinetry-tqt package is not built within the tree. Switch several applications to CMake. Add ports for several applications. Add port for cmake-trinity. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/applications/games/knights')
-rw-r--r--freebsd/applications/games/knights/Makefile34
-rw-r--r--freebsd/applications/games/knights/distinfo3
-rw-r--r--freebsd/applications/games/knights/pkg-descr15
-rw-r--r--freebsd/applications/games/knights/pkg-plist31
4 files changed, 83 insertions, 0 deletions
diff --git a/freebsd/applications/games/knights/Makefile b/freebsd/applications/games/knights/Makefile
new file mode 100644
index 000000000..fb6e6b2b2
--- /dev/null
+++ b/freebsd/applications/games/knights/Makefile
@@ -0,0 +1,34 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+
+.include <../../../trinity.port.mk>
+
+PORTNAME= knights-trinity
+COMMENT= A chess interface for the Trinity Desktop Environment
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= k/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= x11
+DIST_SUBDIR= TDE/applications/games
+
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/core/tdelibs
+
+LIB_DEPENDS+= libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface
+
+
+# Build
+post-patch: tde-pathfix
+
+do-configure: tde-cmake-prepare
+ ${TDE_CMAKE_CONFIGURE} \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
+
+do-build: tde-cmake-build
+
+do-install: tde-cmake-install
+
+.include <bsd.port.mk>
diff --git a/freebsd/applications/games/knights/distinfo b/freebsd/applications/games/knights/distinfo
new file mode 100644
index 000000000..a85341b63
--- /dev/null
+++ b/freebsd/applications/games/knights/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1635130879
+SHA256 (TDE/applications/games/knights-trinity_14.0.11.orig.tar.xz) = b8f9ba772a3abe3a6b34b1df06ae5dd6d5ac49cb7450134aa448de0a0f7360f3
+SIZE (TDE/applications/games/knights-trinity_14.0.11.orig.tar.xz) = 587180
diff --git a/freebsd/applications/games/knights/pkg-descr b/freebsd/applications/games/knights/pkg-descr
new file mode 100644
index 000000000..ce1f00c75
--- /dev/null
+++ b/freebsd/applications/games/knights/pkg-descr
@@ -0,0 +1,15 @@
+A chess interface for the Trinity Desktop Environment
+
+Knights aims to be the ultimate chess resource on your computer.
+Written for the Trinity Desktop Environment, it's designed to be both friendly
+to new chess players and functional for Grand Masters.
+
+Here's a quick list of Knights' key features:
+
+ * Play against yourself, against computer opponents,
+ or against others over the Internet.
+ * Customize your board and pieces with over 30 different themes,
+ or make your own!
+ * Audio cues help alert you to important events
+ * Novice players can preview potential moves.
+ * Save your unfinished matches and play them again later.
diff --git a/freebsd/applications/games/knights/pkg-plist b/freebsd/applications/games/knights/pkg-plist
new file mode 100644
index 000000000..5845e45ce
--- /dev/null
+++ b/freebsd/applications/games/knights/pkg-plist
@@ -0,0 +1,31 @@
+bin/knights
+share/applications/tde/knights.desktop
+share/apps/knights/default-engine-portrait.jpg
+share/apps/knights/default-portrait.jpg
+share/apps/knights/icon-display.png
+share/apps/knights/icon-general.png
+share/apps/knights/pgn_template.kml
+share/apps/knights/splash.png
+share/apps/knights/themes/KBDefault.tar.gz
+share/apps/knights/themes/KCDefault.tar.gz
+share/apps/knights/themes/KSDefault.tar.gz
+share/apps/knights/wizard.png
+share/doc/tde/HTML/en/knights/common
+share/doc/tde/HTML/en/knights/index.cache.bz2
+share/doc/tde/HTML/en/knights/index.docbook
+share/icons/hicolor/16x16/apps/knights.png
+share/icons/hicolor/16x16/mimetypes/pgn.png
+share/icons/hicolor/32x32/apps/knights.png
+share/icons/hicolor/32x32/mimetypes/pgn.png
+share/icons/hicolor/48x48/apps/knights.png
+share/icons/hicolor/48x48/mimetypes/pgn.png
+share/icons/hicolor/64x64/apps/knights.png
+share/icons/hicolor/64x64/mimetypes/pgn.png
+share/locale/de/LC_MESSAGES/knights.mo
+share/locale/es/LC_MESSAGES/knights.mo
+share/locale/et/LC_MESSAGES/knights.mo
+share/locale/fi/LC_MESSAGES/knights.mo
+share/locale/fr/LC_MESSAGES/knights.mo
+share/locale/it/LC_MESSAGES/knights.mo
+share/man/man1/knights.1.gz
+share/mimelnk/application/pgn.desktop