Skip site navigation (1)Skip section navigation (2)
Date:      12 Sep 2007 11:50:55 -0600
From:      shoemaker@bluebottle.com (Jonathan Shoemaker)
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/116314: [NEW PORT]: games/quackle - A scrabble-like game
Message-ID:  <86lkbbdb7k.fsf@localhost.lan>
Resent-Message-ID: <200709121800.l8CI03RM020139@freefall.freebsd.org>

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

>Number:         116314
>Category:       ports
>Synopsis:       [NEW PORT]: games/quackle - A scrabble-like game
>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 Sep 12 18:00:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Shoemaker
>Release:        FreeBSD 6.2-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD localhost 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Sat Sep 8 13:47:46 MDT 2007 root@localhost:/var/obj/usr/src/sys/CUSTOM i386
>Description:
	
Free crossword game artificial intelligence and analysis tool that
rivals the best players in the world!

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
#
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:			11 Sep 2007
X# Whom:				Jonathan Shoemaker <shoemaker@bluebottle.com
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@bluebottle.com
XCOMMENT=	A scrabble-like word game utilizing qt4
X
XUSE_SCONS=	yes
XUSE_QT_VER=	4
XUSE_GMAKE=	yes
X
Xdo-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++34 -o Makefile quackleio.pro && gmake && cd ${WRKSRC}/quacker && qmake-qt4 -unix -spec freebsd-g++34 -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/
X
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@dirrm lib/quackle/alphabets
X@dirrm lib/quackle/lexica
X@dirrm lib/quackle/strategy/cswfeb07/
X@dirrm lib/quackle/strategy/korean/
X@dirrm lib/quackle/strategy/ods4/
X@dirrm lib/quackle/strategy/russian/
X@dirrm lib/quackle/strategy/sowpods/
X@dirrm lib/quackle/strategy/tuvan/
X@dirrm lib/quackle/strategy/twl06/
X@dirrm lib/quackle/strategy/twl98/
X@dirrm lib/quackle/strategy/
X@dirrm lib/quackle
END-of-quackle/pkg-plist
exit

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

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



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