Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2006 17:27:52 +0800 (CST)
From:      Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/93892: [NEW PORT] games/sudoku: Console based sudoku games
Message-ID:  <20060227092752.B23A07E99B@FreeBSD.csie.nctu.edu.tw>
Resent-Message-ID: <200602270930.k1R9U5Jg039804@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93892
>Category:       ports
>Synopsis:       [NEW PORT] games/sudoku: Console based sudoku games
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 27 09:30:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD FreeBSD.csie.nctu.edu.tw 6.0-STABLE FreeBSD 6.0-STABLE #3: Fri Nov 25 11:26:33 CST 2005
>Description:
The sudoku board game is played on a 9x9 grid, divided into rows, columns,
and 9 blocks of 3x3 squares. The objective is to fill the empty squares with
the digits 1-9, so that each row, column, and block contains each of the
digits 1-9 (and hence, it is not possible for any digit to appear twice in
the same row, column or block).

Features:
   - character based (curses) interface;
   - cross-platform (Minix, Unix, Windows) with full source code (ANSI C);
   - generates hints upon request;
   - classification of board difficulty (very easy, easy, medium, hard or
     fiendish);
   - generation of new boards;
   - easy entry of boards published in newspapers, internet, etc...;
   - multiple output formats (text,csv,html,postscript).

WWW: http://www.laurasia.com.au/sudoku/

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- sudoku-1.0.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	sudoku
#	sudoku/Makefile
#	sudoku/distinfo
#	sudoku/pkg-descr
#
echo c - sudoku
mkdir -p sudoku > /dev/null 2>&1
echo x - sudoku/Makefile
sed 's/^X//' >sudoku/Makefile << 'END-of-sudoku/Makefile'
X# ex:ts=8
X# Ports collection makefile for:	sudoku
X# Date created:			Feb 27, 2006
X# Whom:				ijliao
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sudoku
XPORTVERSION=	1.0.1
XCATEGORIES=	games
XMASTER_SITES=	http://www.laurasia.com.au/downloads/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	Console based sudoku games
X
XPLIST_FILES=	bin/sudoku \
X		share/sudoku/template
X
XMAN6=	sudoku.6
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=	*
X.endif
X
Xpost-patch:
X	@${GREP} -lR "/usr/lib/sudoku" ${WRKSRC} | ${XARGS} \
X		${REINPLACE_CMD} -e "s,/usr/lib,${DATADIR},"
X
Xdo-build:
X	@cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} sudoku.c -lcurses
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X	@${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MAN6PREFIX}/man/man6
X	@${MKDIR} ${DATADIR}
X	@${CP} ${WRKSRC}/template ${DATADIR}
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	@${CP} ${WRKSRC}/sudoku.html ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-sudoku/Makefile
echo x - sudoku/distinfo
sed 's/^X//' >sudoku/distinfo << 'END-of-sudoku/distinfo'
XMD5 (sudoku-1.0.1.tgz) = 80a6a4a52aec36ffef2f76c4b15fc571
XSHA256 (sudoku-1.0.1.tgz) = a067b3fb1ffd4e5bf0fa5bc705d391bafc33ca45d51f5d45db0733cad3da9d0f
XSIZE (sudoku-1.0.1.tgz) = 31576
END-of-sudoku/distinfo
echo x - sudoku/pkg-descr
sed 's/^X//' >sudoku/pkg-descr << 'END-of-sudoku/pkg-descr'
XThe sudoku board game is played on a 9x9 grid, divided into rows, columns,
Xand 9 blocks of 3x3 squares. The objective is to fill the empty squares with
Xthe digits 1-9, so that each row, column, and block contains each of the
Xdigits 1-9 (and hence, it is not possible for any digit to appear twice in
Xthe same row, column or block).
X
XFeatures:
X   - character based (curses) interface;
X   - cross-platform (Minix, Unix, Windows) with full source code (ANSI C);
X   - generates hints upon request;
X   - classification of board difficulty (very easy, easy, medium, hard or
X     fiendish);
X   - generation of new boards;
X   - easy entry of boards published in newspapers, internet, etc...;
X   - multiple output formats (text,csv,html,postscript).
X
XWWW: http://www.laurasia.com.au/sudoku/
END-of-sudoku/pkg-descr
exit
--- sudoku-1.0.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060227092752.B23A07E99B>