summaryrefslogtreecommitdiffstats
path: root/freebsd/applications/knights
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/applications/knights')
-rw-r--r--freebsd/applications/knights/Makefile34
-rw-r--r--freebsd/applications/knights/distinfo3
-rw-r--r--freebsd/applications/knights/pkg-descr15
-rw-r--r--freebsd/applications/knights/pkg-plist31
4 files changed, 83 insertions, 0 deletions
diff --git a/freebsd/applications/knights/Makefile b/freebsd/applications/knights/Makefile
new file mode 100644
index 000000000..02ab3930f
--- /dev/null
+++ b/freebsd/applications/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
+
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/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/knights/distinfo b/freebsd/applications/knights/distinfo
new file mode 100644
index 000000000..767b17f7a
--- /dev/null
+++ b/freebsd/applications/knights/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1552243531
+SHA256 (TDE/applications/knights-trinity_14.0.6.orig.tar.xz) = 737339d2e137c5e8953a625c734ba6fb89cb62e01575d497656a77fc3c65fcbb
+SIZE (TDE/applications/knights-trinity_14.0.6.orig.tar.xz) = 860928
diff --git a/freebsd/applications/knights/pkg-descr b/freebsd/applications/knights/pkg-descr
new file mode 100644
index 000000000..ce1f00c75
--- /dev/null
+++ b/freebsd/applications/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/knights/pkg-plist b/freebsd/applications/knights/pkg-plist
new file mode 100644
index 000000000..2f7af3fdc
--- /dev/null
+++ b/freebsd/applications/knights/pkg-plist
@@ -0,0 +1,31 @@
+bin/knights
+share/applnk/Games/Board/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
+share/mimelnk/application/pgn.desktop