Bug 122810

Summary: New port: games/quackle: A scrabble-like word game utilizing qt4
Product: Ports & Packages Reporter: shoemaker <shoemaker>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description shoemaker 2008-04-16 03:40:00 UTC
	
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/

Fix: 

----------------------------------------------------------------------
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com/tag/1--5iZM63J45kb9TE89qFenjsGFVaUD6a6VRuoX4vAnlDfVLnWd
Content-Type: text/plain; name="file.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.shar"

# 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@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@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@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
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-04-16 03:40:07 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (new ports should be change-requests) (via the GNATS Auto 
Assign Tool)
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2008-04-25 18:21:38 UTC
State Changed
From-To: open->closed

New port added, thank you!
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-04-25 18:22:46 UTC
pav         2008-04-25 17:22:39 UTC

  FreeBSD ports repository

  Modified files:
    games                Makefile 
  Added files:
    games/quackle        Makefile distinfo pkg-descr pkg-plist 
    games/quackle/files  patch-fixedstring.h 
  Log:
  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/
  
  PR:             ports/122810
  Submitted by:   Jonathan Shoemaker <shoemaker@bluebottle.com>
  
  Revision  Changes    Path
  1.1194    +1 -0      ports/games/Makefile
  1.1       +34 -0     ports/games/quackle/Makefile (new)
  1.1       +3 -0      ports/games/quackle/distinfo (new)
  1.1       +10 -0     ports/games/quackle/files/patch-fixedstring.h (new)
  1.1       +9 -0      ports/games/quackle/pkg-descr (new)
  1.1       +47 -0     ports/games/quackle/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"