aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/ksudoku/Makefile33
-rw-r--r--games/ksudoku/distinfo3
-rw-r--r--games/ksudoku/pkg-descr13
-rw-r--r--games/ksudoku/pkg-plist12
5 files changed, 62 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index c1d3420c24c6..5ff099d501fd 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -302,6 +302,7 @@
SUBDIR += kpuzzle
SUBDIR += krosswordplayer
SUBDIR += kslide
+ SUBDIR += ksudoku
SUBDIR += ktritoc
SUBDIR += kwappen
SUBDIR += ladder
diff --git a/games/ksudoku/Makefile b/games/ksudoku/Makefile
new file mode 100644
index 000000000000..832e79d834d1
--- /dev/null
+++ b/games/ksudoku/Makefile
@@ -0,0 +1,33 @@
+# Ports collection makefile for: ksudoku
+# Date created: 30 September 2005
+# Whom: Bartosz Fabianowski <freebsd@chillt.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ksudoku
+PORTVERSION= 0.3
+CATEGORIES= games kde
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= freebsd@chillt.de
+COMMENT= A Sudoku generator and solver for KDE
+
+EXTRA_PATCHES= ${.CURDIR}/../../x11/kde3/files/extrapatch-old_configure
+
+USE_LIBTOOL_VER=15
+USE_KDELIBS_VER=3
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+IGNORE= does not build on FreeBSD 4.x
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/games/ksudoku/distinfo b/games/ksudoku/distinfo
new file mode 100644
index 000000000000..70fe0d5fe97d
--- /dev/null
+++ b/games/ksudoku/distinfo
@@ -0,0 +1,3 @@
+MD5 (ksudoku-0.3.tar.gz) = d5fe20e9deda671dd15340f43ab4c4a3
+SHA256 (ksudoku-0.3.tar.gz) = 18f95cb383a7d313f907eff6a1f23e0cf66627d901cbbb8488c521851c3f2cca
+SIZE (ksudoku-0.3.tar.gz) = 704694
diff --git a/games/ksudoku/pkg-descr b/games/ksudoku/pkg-descr
new file mode 100644
index 000000000000..19efcca4f3f8
--- /dev/null
+++ b/games/ksudoku/pkg-descr
@@ -0,0 +1,13 @@
+KSudoku is a 2D and 3D Sudoku puzzle generator and solver for KDE.
+
+Among its features are:
+
+* Supported board sizes (2D): 9x9, 16x16, 25x25
+* Supported board sizes (3D): 3x3x3, 4x4x4, 5x5x5
+* GUI for playing, saving, printing, solving and dubbing puzzles
+* Automatic solver that can provide hints should you get stuck
+
+For more information on Sudoku puzzles in general, see:
+http://en.wikipedia.org/wiki/Sudoku
+
+WWW: http://ksudoku.sourceforge.net/
diff --git a/games/ksudoku/pkg-plist b/games/ksudoku/pkg-plist
new file mode 100644
index 000000000000..2e05696f63a8
--- /dev/null
+++ b/games/ksudoku/pkg-plist
@@ -0,0 +1,12 @@
+bin/ksudoku
+bin/ksudoku_client
+share/applnk/Games/ksudoku.desktop
+share/apps/ksudoku/ksudokuui.rc
+share/doc/HTML/en/ksudoku/common
+share/doc/HTML/en/ksudoku/index.cache.bz2
+share/doc/HTML/en/ksudoku/index.docbook
+share/icons/hicolor/128x128/apps/ksudoku.png
+share/icons/hicolor/16x16/apps/ksudoku.png
+share/icons/hicolor/32x32/apps/ksudoku.png
+@dirrm share/doc/HTML/en/ksudoku
+@dirrm share/apps/ksudoku