summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/knights/DESCR6
-rw-r--r--games/knights/Makefile28
-rw-r--r--games/knights/PLIST26
-rw-r--r--games/knights/distinfo5
-rw-r--r--games/knights/patches/patch-aa12
5 files changed, 77 insertions, 0 deletions
diff --git a/games/knights/DESCR b/games/knights/DESCR
new file mode 100644
index 00000000000..5a9250149e5
--- /dev/null
+++ b/games/knights/DESCR
@@ -0,0 +1,6 @@
+Knights is a graphical chess interface to various chess engines and is
+designed to work with KDE2. It has features geared toward novice players,
+such as "previews": when you right click on a piece, Knights will show you
+where that piece can move, and where it can attack. Future releases of
+Knights will include tutorials which teach everything from piece movement
+to advanced endgame strategy.
diff --git a/games/knights/Makefile b/games/knights/Makefile
new file mode 100644
index 00000000000..2788d47a6d1
--- /dev/null
+++ b/games/knights/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/11/13 21:32:50 jlam Exp $
+
+DISTNAME= knights-0.4.6
+CATEGORIES= games kde
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=knights/}
+EXTRACT_SUFX= .tar.gz
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://knights.sourceforge.net/
+COMMENT= chess interface for KDE
+
+.include "../../x11/kde2/Makefile.kde2"
+
+AUTOMAKE_OVERRIDE= YES
+MEINPROC= ${BUILDLINK_PREFIX.kdelibs2}/bin/meinproc
+DOCDIR= ${PREFIX}/share/doc/kde/HTML/en/knights
+
+post-build:
+ cd ${WRKSRC}/doc/en; \
+ ${MEINPROC} --check --cache index.cache.bz2 index.docbook
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/doc/en/index.cache.bz2 ${DOCDIR}
+
+.include "../../x11/kde2/buildlink.mk"
+.include "../../x11/kdebase2/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/knights/PLIST b/games/knights/PLIST
new file mode 100644
index 00000000000..889980b3c1f
--- /dev/null
+++ b/games/knights/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/11/13 21:32:50 jlam Exp $
+bin/knights
+share/doc/kde/HTML/en/knights/common
+share/doc/kde/HTML/en/knights/configure-02.png
+share/doc/kde/HTML/en/knights/configure-1.png
+share/doc/kde/HTML/en/knights/configure-3.png
+share/doc/kde/HTML/en/knights/index.cache.bz2
+share/doc/kde/HTML/en/knights/index.docbook
+share/doc/kde/HTML/en/knights/knights-01.png
+share/doc/kde/HTML/en/knights/knights-02.png
+share/kde/applnk/Games/Board/knights.desktop
+share/kde/apps/knights/icon-display.png
+share/kde/apps/knights/splash.png
+share/kde/apps/knights/themes/KTDefault.tar.gz
+share/kde/apps/knights/themes/KTGreen_Marble.tar.gz
+share/kde/icons/hicolor/16x16/apps/knights.png
+share/kde/icons/hicolor/32x32/apps/knights.png
+share/kde/icons/hicolor/48x48/apps/knights.png
+share/kde/icons/hicolor/64x64/apps/knights.png
+share/kde/icons/locolor/16x16/apps/knights.png
+share/kde/icons/locolor/32x32/apps/knights.png
+share/kde/icons/locolor/48x48/apps/knights.png
+share/kde/icons/locolor/64x64/apps/knights.png
+@dirrm share/kde/apps/knights/themes
+@dirrm share/kde/apps/knights
+@dirrm share/doc/kde/HTML/en/knights
diff --git a/games/knights/distinfo b/games/knights/distinfo
new file mode 100644
index 00000000000..44828bfde92
--- /dev/null
+++ b/games/knights/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/11/13 21:32:50 jlam Exp $
+
+SHA1 (knights-0.4.6.tar.gz) = b060436198d311d42191c7944aba7564f72971a9
+Size (knights-0.4.6.tar.gz) = 1138560 bytes
+SHA1 (patch-aa) = 4d8fa0076dda17b7b06826d95dc28e26e163290f
diff --git a/games/knights/patches/patch-aa b/games/knights/patches/patch-aa
new file mode 100644
index 00000000000..874c7cff7ac
--- /dev/null
+++ b/games/knights/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/11/13 21:32:50 jlam Exp $
+
+--- doc/en/index.docbook.orig Wed Aug 15 17:44:29 2001
++++ doc/en/index.docbook
+@@ -3,7 +3,6 @@
+ <!ENTITY kappname "Knights">
+ <!ENTITY % addindex "IGNORE">
+ <!ENTITY % English "INCLUDE" > <!-- change language only here -->
+- %ents;
+ ]>
+
+ <book lang="&language;">