aboutsummaryrefslogtreecommitdiffstats
path: root/games/ksudoku
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2005-11-16 18:18:25 +0800
committerehaupt <ehaupt@FreeBSD.org>2005-11-16 18:18:25 +0800
commit7512738db317697b806e850c89b2699048c17187 (patch)
tree050a14e028b552d0fe51c7d66a08d79d3afaa41b /games/ksudoku
parent8e5eaaf1bc83f11610b0eb916ee10b55cf5a8d42 (diff)
downloadfreebsd-ports-gnome-7512738db317697b806e850c89b2699048c17187.tar.gz
freebsd-ports-gnome-7512738db317697b806e850c89b2699048c17187.tar.zst
freebsd-ports-gnome-7512738db317697b806e850c89b2699048c17187.zip
Add ksudoku, a Sudoku generator and solver for KDE
PR: 86766 Submitted by: Bartosz Fabianowski <freebsd@chillt.de>
Diffstat (limited to 'games/ksudoku')
-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
4 files changed, 61 insertions, 0 deletions
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