ports/91961: New port: games/blokish Clone of the strategy board game 'Blokus'

Dmitry Marakasov amdmi3 at mail.ru
Wed Jan 18 14:40:04 UTC 2006


>Number:         91961
>Category:       ports
>Synopsis:       New port: games/blokish Clone of the strategy board game 'Blokus'
>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:   Wed Jan 18 14:40:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Sun Dec 18 08:07:07 MSK 2005 amdmi3 at hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
Clone of the strategy board game 'Blokus'. Four players must place
as many of their 21 pieces on the board as possible while preventing
others from doing the same.

This is made difficult by the fact that a piece played by a player
must touch another of the player's pieces, but only at their corners
(a player's first piece must touch a board corner).

The game is over when no player can play any new pieces. The winner
is the player with the fewest & smallest pieces remaining. Bonus
points are awarded for playing all pieces.

Features a tweakable AI to take the place of any human players.

WWW: http://blokish.sourceforge.net/

>How-To-Repeat:
>Fix:

--- blokish-0.9.3.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:
#
#	blokish
#	blokish/Makefile
#	blokish/pkg-descr
#	blokish/distinfo
#	blokish/files
#	blokish/files/extra-patch-src-ai.h
#
echo c - blokish
mkdir -p blokish > /dev/null 2>&1
echo x - blokish/Makefile
sed 's/^X//' >blokish/Makefile << 'END-of-blokish/Makefile'
X# New ports collection makefile for:	blokish
X# Date created:				18 Jan 2006
X# Whom:					Dmitry Marakasov <amdmi3 at mail.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	blokish
XPORTVERSION=	0.9.3
XCATEGORIES=	games
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	${PORTNAME}_src_v${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XBUILD_DEPENDS=	wxgtk2-2.6-config:${PORTSDIR}/x11-toolkits/wxgtk26
X
XMAINTAINER=	amdmi3 at mail.ru
XCOMMENT=	Clone of the strategy board game 'Blokus'
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
XUSE_GL=		yes
XUSE_REINPLACE=	yes
X
XCONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
X		CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
X
XMAKEFILE=	makefile
X
XWRKSRC=		${WRKDIR}/blokish
X
XPLIST_FILES=	bin/blokish
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 500000
XEXTRA_PATCHES=	${PATCHDIR}/extra-patch-src-ai.h
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|wx-config|wxgtk2-2.6-config|' ${WRKSRC}/makefile.in ${WRKSRC}/configure
X
X.include <bsd.port.post.mk>
END-of-blokish/Makefile
echo x - blokish/pkg-descr
sed 's/^X//' >blokish/pkg-descr << 'END-of-blokish/pkg-descr'
XClone of the strategy board game 'Blokus'. Four players must place
Xas many of their 21 pieces on the board as possible while preventing
Xothers from doing the same.
X
XThis is made difficult by the fact that a piece played by a player
Xmust touch another of the player's pieces, but only at their corners
X(a player's first piece must touch a board corner).
X
XThe game is over when no player can play any new pieces. The winner
Xis the player with the fewest & smallest pieces remaining. Bonus
Xpoints are awarded for playing all pieces.
X
XFeatures a tweakable AI to take the place of any human players.
X
XWWW: http://blokish.sourceforge.net/
END-of-blokish/pkg-descr
echo x - blokish/distinfo
sed 's/^X//' >blokish/distinfo << 'END-of-blokish/distinfo'
XMD5 (blokish_src_v0.9.3.tgz) = b8969471cb6cb4f61565225f1d269e15
XSHA256 (blokish_src_v0.9.3.tgz) = 86922d6bdcc77eb1b1bff84eaf848d44c2b959267c582b978ff93a12c4e70906
XSIZE (blokish_src_v0.9.3.tgz) = 184460
END-of-blokish/distinfo
echo c - blokish/files
mkdir -p blokish/files > /dev/null 2>&1
echo x - blokish/files/extra-patch-src-ai.h
sed 's/^X//' >blokish/files/extra-patch-src-ai.h << 'END-of-blokish/files/extra-patch-src-ai.h'
X--- src/ai.h.orig	Wed Jan  4 13:39:31 2006
X+++ src/ai.h	Wed Jan 18 17:27:15 2006
X@@ -25,6 +25,8 @@
X #ifndef AI_H
X #define AI_H
X 
X+#include <time.h>
X+#include <algo.h>
X #include "piece.h"
X #include "player.h"
X #include "board.h"
END-of-blokish/files/extra-patch-src-ai.h
exit
--- blokish-0.9.3.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list