ports/122810: New port: games/quackle: A scrabble-like word game utilizing qt4

Jonathan Shoemaker shoemaker at bluebottle.com
Wed Apr 16 02:40:01 UTC 2008


>Number:         122810
>Category:       ports
>Synopsis:       New port: games/quackle: A scrabble-like word game utilizing qt4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 16 02:40:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     shoemaker at bluebottle.com (Jonathan Shoemaker)
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD dakar.lan 7.0-RELEASE FreeBSD 7.0-RELEASE #3: Sun Apr 13 21:17:23 MDT 2008 root@:/var/tmp/obj/usr/src/sys/DAKAR i386
>Description:
	
Free crossword game artificial intelligence and analysis tool that
rivals the best players in the world!

You will need to set up a game board with the bonus squares scrabble has.
See http://web.mit.edu/jasonkb/www/quackle/example_report.html for a 
reminder of which squares are which, and recreate this board to have
exactly the same rules as Scrabble (TM)

WWW: http://web.mit.edu/jasonkb/www/quackle/
>How-To-Repeat:
>Fix:

# 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:
#
#	quackle
#	quackle/distinfo
#	quackle/Makefile
#	quackle/pkg-descr
#	quackle/pkg-plist
#	quackle/files
#	quackle/files/patch-fixedstring.h
#
echo c - quackle
mkdir -p quackle > /dev/null 2>&1
echo x - quackle/distinfo
sed 's/^X//' >quackle/distinfo << 'END-of-quackle/distinfo'
XMD5 (quackle-0.95-source.tar.gz) = a9dafb5823a96a70971741f030914910
XSHA256 (quackle-0.95-source.tar.gz) = 21544c41f465818f7c33a514eae3d725108b2992532b6db6ded269aa69de3e4c
XSIZE (quackle-0.95-source.tar.gz) = 49800462
END-of-quackle/distinfo
echo x - quackle/Makefile
sed 's/^X//' >quackle/Makefile << 'END-of-quackle/Makefile'
X# New ports collection makefile for:	quackle
X# Date created:			15 Feb 2008
X# Whom:				shoemaker at bluebottle.com (Jonathan Shoemaker)
X#
X# $FreeBSD:$
X#
X
XPORTNAME=	quackle
XPORTVERSION=	0.95
XCATEGORIES=	games
XMASTER_SITES=	http://web.mit.edu/jasonkb/www/quackle/downloads/${PORTNAME}-${PORTVERSION}/
XDISTFILES=	${PORTNAME}-${PORTVERSION}-source.tar.gz
X
XMAINTAINER=	shoemaker at bluebottle.com
XCOMMENT=	A scrabble-like word game utilizing qt4
X
XUSE_SCONS=	yes
XUSE_QT_VER=	4
XUSE_GMAKE=	yes
X
Xpre-patch:
X	@${REINPLACE_CMD} -e 's|if (QFile::exists("data"))|if (QFile::exists("${PREFIX}/lib/quackle"))|' ${WRKSRC}/quacker/settings.cpp
X	@${REINPLACE_CMD} -e 's|QUACKLE_DATAMANAGER->setDataDirectory("data");|QUACKLE_DATAMANAGER->setDataDirectory("${PREFIX}/lib/quackle");|' ${WRKSRC}/quacker/settings.cpp
X
Xpost-build:
X	@(cd ${WRKSRC}/quackleio && qmake-qt4 -unix -spec freebsd-g++ -o Makefile quackleio.pro && ${GMAKE} && cd ${WRKSRC}/quacker && qmake-qt4 -unix -spec freebsd-g++ -o Makefile quacker.pro && ${GMAKE})
X
Xdo-install:
X	@(${MKDIR} -m 555 ${PREFIX}/lib/quackle; cd ${WRKSRC}/data && ${PAX} -rw ./ ${PREFIX}/lib/quackle)
X	@${FIND} ${PREFIX}/lib/quackle -type directory -exec ${CHMOD} 555 {} \;
X	@${FIND} ${PREFIX}/lib/quackle -type file -exec ${CHMOD} 444 {} \;
X	@${INSTALL} -m 0555 ${WRKSRC}/quacker/quacker ${PREFIX}/bin/quackle
X
X.include <bsd.port.mk>
END-of-quackle/Makefile
echo x - quackle/pkg-descr
sed 's/^X//' >quackle/pkg-descr << 'END-of-quackle/pkg-descr'
XFree crossword game artificial intelligence and analysis tool that
Xrivals the best players in the world!
X
XYou will need to set up a game board with the bonus squares scrabble has.
XSee http://web.mit.edu/jasonkb/www/quackle/example_report.html for a 
Xreminder of which squares are which, and recreate this board to have
Xexactly the same rules as Scrabble (TM)
X
XWWW: http://web.mit.edu/jasonkb/www/quackle/
END-of-quackle/pkg-descr
echo x - quackle/pkg-plist
sed 's/^X//' >quackle/pkg-plist << 'END-of-quackle/pkg-plist'
Xbin/quackle
Xlib/quackle/alphabets/english.quackle_alphabet
Xlib/quackle/alphabets/english_super.quackle_alphabet
Xlib/quackle/alphabets/english_wild.quackle_alphabet
Xlib/quackle/alphabets/french.quackle_alphabet
Xlib/quackle/alphabets/korean.quackle_alphabet
Xlib/quackle/alphabets/russian.quackle_alphabet
Xlib/quackle/alphabets/tuvan.quackle_alphabet
Xlib/quackle/lexica/cswfeb07.gaddag
Xlib/quackle/lexica/korean.dawg
Xlib/quackle/lexica/ods4.gaddag
Xlib/quackle/lexica/russian.dawg
Xlib/quackle/lexica/sowpods.gaddag
Xlib/quackle/lexica/tuvan.dawg
Xlib/quackle/lexica/twl06.gaddag
Xlib/quackle/lexica/twl06_wild.dawg
Xlib/quackle/lexica/twl98.dawg
Xlib/quackle/strategy/cswfeb07/superleaves
Xlib/quackle/strategy/korean/superleaves
Xlib/quackle/strategy/korean/syn2
Xlib/quackle/strategy/korean/worths
Xlib/quackle/strategy/ods4/superleaves
Xlib/quackle/strategy/ods4/worths
Xlib/quackle/strategy/russian/superleaves
Xlib/quackle/strategy/russian/syn2
Xlib/quackle/strategy/russian/worths
Xlib/quackle/strategy/tuvan/superleaves
Xlib/quackle/strategy/tuvan/syn2
Xlib/quackle/strategy/tuvan/worths
Xlib/quackle/strategy/twl06/bogowin
Xlib/quackle/strategy/twl06/superleaves
Xlib/quackle/strategy/twl06/syn2
Xlib/quackle/strategy/twl06/vcplace
Xlib/quackle/strategy/twl06/worths
Xlib/quackle/strategy/twl98/worths
X at dirrm lib/quackle/alphabets
X at dirrm lib/quackle/lexica
X at dirrm lib/quackle/strategy/cswfeb07/
X at dirrm lib/quackle/strategy/korean/
X at dirrm lib/quackle/strategy/ods4/
X at dirrm lib/quackle/strategy/russian/
X at dirrm lib/quackle/strategy/sowpods/
X at dirrm lib/quackle/strategy/tuvan/
X at dirrm lib/quackle/strategy/twl06/
X at dirrm lib/quackle/strategy/twl98/
X at dirrm lib/quackle/strategy/
X at dirrm lib/quackle
END-of-quackle/pkg-plist
echo c - quackle/files
mkdir -p quackle/files > /dev/null 2>&1
echo x - quackle/files/patch-fixedstring.h
sed 's/^X//' >quackle/files/patch-fixedstring.h << 'END-of-quackle/files/patch-fixedstring.h'
X--- fixedstring.h.orig	2008-04-15 20:02:38.000000000 -0600
X+++ fixedstring.h	2008-04-15 20:02:55.000000000 -0600
X@@ -18,6 +18,7 @@
X  *  02110-1301  USA
X  */
X 
X+#include <cassert>
X #ifndef QUACKLE_FIXEDSTRING_H
X #define QUACKLE_FIXEDSTRING_H
X 
END-of-quackle/files/patch-fixedstring.h
exit

----------------------------------------------------------------------
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com/tag/1

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



More information about the freebsd-ports-bugs mailing list