From f8a5891a55c4a02c7c5ddb40268e6052a5133846 Mon Sep 17 00:00:00 2001
From: zhuk <zhuk@openbsd.org>
Date: Wed, 24 Apr 2013 12:19:37 +0000
Subject: [PATCH] KReversi is a simple one player strategy game played against
 the computer.  If a player's piece is captured by an opposing player, that
 piece is turned over to reveal the color of that player.  A winner is
 declared when one player has more pieces of his own color on the board and
 there are no more possible moves.

---
 x11/kde4/kreversi/Makefile  | 12 +++++++++++
 x11/kde4/kreversi/distinfo  |  2 ++
 x11/kde4/kreversi/pkg/DESCR |  5 +++++
 x11/kde4/kreversi/pkg/PLIST | 41 +++++++++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 x11/kde4/kreversi/Makefile
 create mode 100644 x11/kde4/kreversi/distinfo
 create mode 100644 x11/kde4/kreversi/pkg/DESCR
 create mode 100644 x11/kde4/kreversi/pkg/PLIST

diff --git a/x11/kde4/kreversi/Makefile b/x11/kde4/kreversi/Makefile
new file mode 100644
index 00000000000..f1f0805ca67
--- /dev/null
+++ b/x11/kde4/kreversi/Makefile
@@ -0,0 +1,12 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2013/04/24 12:19:37 zhuk Exp $
+
+COMMENT =	Go-like board game for KDE
+DISTNAME =	kreversi-${MODKDE4_VERSION}
+
+WANTLIB =  c m pthread stdc++
+WANTLIB += lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtSvg
+WANTLIB += ${KDE4LIB}/kdeui
+
+MODKDE4_USE =	games
+
+.include <bsd.port.mk>
diff --git a/x11/kde4/kreversi/distinfo b/x11/kde4/kreversi/distinfo
new file mode 100644
index 00000000000..c321197df4f
--- /dev/null
+++ b/x11/kde4/kreversi/distinfo
@@ -0,0 +1,2 @@
+SHA256 (kde/kreversi-4.10.2.tar.xz) = O4KHKovsPKcupUifSTZdDqoEssyKDE0kOltBiMbTrjY=
+SIZE (kde/kreversi-4.10.2.tar.xz) = 398900
diff --git a/x11/kde4/kreversi/pkg/DESCR b/x11/kde4/kreversi/pkg/DESCR
new file mode 100644
index 00000000000..7921f79f5b1
--- /dev/null
+++ b/x11/kde4/kreversi/pkg/DESCR
@@ -0,0 +1,5 @@
+KReversi is a simple one player strategy game played against the
+computer.  If a player's piece is captured by an opposing player,
+that piece is turned over to reveal the color of that player.  A
+winner is declared when one player has more pieces of his own color
+on the board and there are no more possible moves.
diff --git a/x11/kde4/kreversi/pkg/PLIST b/x11/kde4/kreversi/pkg/PLIST
new file mode 100644
index 00000000000..c2bf53f9ead
--- /dev/null
+++ b/x11/kde4/kreversi/pkg/PLIST
@@ -0,0 +1,41 @@
+@comment $OpenBSD: PLIST,v 1.1.1.1 2013/04/24 12:19:37 zhuk Exp $
+@conflict kdegames-<4.10
+@bin bin/kreversi
+share/applications/kde4/kreversi.desktop
+share/apps/kreversi/
+share/apps/kreversi/kreversi.notifyrc
+share/apps/kreversi/kreversiui.rc
+share/apps/kreversi/pics/
+share/apps/kreversi/pics/default_theme.svgz
+share/apps/kreversi/sounds/
+share/apps/kreversi/sounds/reversi-click.wav
+share/apps/kreversi/sounds/reversi-won.wav
+share/doc/HTML/en/kreversi/
+share/doc/HTML/en/kreversi/common
+share/doc/HTML/en/kreversi/index.cache.bz2
+share/doc/HTML/en/kreversi/index.docbook
+share/doc/HTML/en/kreversi/kreversi1.png
+share/icons/hicolor/128x128/apps/kreversi.png
+share/icons/hicolor/16x16/apps/kreversi.png
+share/icons/hicolor/22x22/apps/kreversi.png
+share/icons/hicolor/32x32/apps/kreversi.png
+share/icons/hicolor/48x48/apps/kreversi.png
+share/icons/hicolor/64x64/apps/kreversi.png
+share/icons/oxygen/16x16/actions/lastmoves.png
+share/icons/oxygen/16x16/actions/legalmoves.png
+share/icons/oxygen/22x22/actions/lastmoves.png
+share/icons/oxygen/22x22/actions/legalmoves.png
+share/icons/oxygen/32x32/actions/lastmoves.png
+share/icons/oxygen/32x32/actions/legalmoves.png
+share/icons/oxygen/48x48/actions/lastmoves.png
+share/icons/oxygen/48x48/actions/legalmoves.png
+share/icons/oxygen/scalable/
+share/icons/oxygen/scalable/actions/
+share/icons/oxygen/scalable/actions/lastmoves.svgz
+share/icons/oxygen/scalable/actions/legalmoves.svgz
+@exec %D/bin/update-desktop-database
+@unexec-delete %D/bin/update-desktop-database
+@exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
+@unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
+@exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/oxygen
+@unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/oxygen