summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-09-04 23:01:38 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-09-04 23:01:38 +0000
commit5ca897867af766086c3208c7e8cc90c405d6336f (patch)
treec7fe9dd658207c2e388dae3f8f443ea238db8282
parentxrdesktop is a GTK-Perl frontend for rdesktop that allows saving and editing of (diff)
Sudsol is a small Sudoku puzzle solver (see
http://en.wikipedia.org/wiki/Sudoku). I've built a small port for it. Have fun! PR: ports/85293 Submitted by: Ed Schouten <ed@fxq.nl>
-rw-r--r--games/Makefile1
-rw-r--r--games/sudsol/Makefile25
-rw-r--r--games/sudsol/distinfo2
-rw-r--r--games/sudsol/pkg-descr18
4 files changed, 46 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 74a16c3d9ff8..644b687cfeba 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -492,6 +492,7 @@
SUBDIR += stratagus
SUBDIR += stvef-paks
SUBDIR += stvef-server
+ SUBDIR += sudsol
SUBDIR += super_methane_brothers
SUBDIR += supertux
SUBDIR += sxsame
diff --git a/games/sudsol/Makefile b/games/sudsol/Makefile
new file mode 100644
index 000000000000..171a3717fa92
--- /dev/null
+++ b/games/sudsol/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: sudsol
+# Date created: 25 Aug 2005
+# Whom: Ed Schouten <ed@fxq.nl>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sudsol
+PORTVERSION= 0.1
+CATEGORIES= games
+MASTER_SITES= http://rink.nu/downloads/projects/
+
+MAINTAINER= ed@fxq.nl
+COMMENT= A utility to solve Sudoku puzzles
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_REINPLACE= yes
+
+PLIST_FILES= bin/sudsol
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' ${WRKSRC}/src/sudsol.c
+
+.include <bsd.port.mk>
diff --git a/games/sudsol/distinfo b/games/sudsol/distinfo
new file mode 100644
index 000000000000..97bbd0f9e10e
--- /dev/null
+++ b/games/sudsol/distinfo
@@ -0,0 +1,2 @@
+MD5 (sudsol-0.1.tar.gz) = 895774d1921e55c2f18d0d86e5f78a25
+SIZE (sudsol-0.1.tar.gz) = 75416
diff --git a/games/sudsol/pkg-descr b/games/sudsol/pkg-descr
new file mode 100644
index 000000000000..abdce64a9537
--- /dev/null
+++ b/games/sudsol/pkg-descr
@@ -0,0 +1,18 @@
+Sudsol is a small utility to solve Sudoku puzzles.
+
+The usage is very simple; add your puzzle to a textfile in the following
+format:
+
+7.94...18
+.3......2
+....974..
+...13.5..
+.....83..
+.4..7...9
+5683...7.
+2.3....51
+.7..2....
+
+and run 'sudsol puzzle.txt'
+
+WWW: http://rink.nu/