ports/159454: Update port: games/quackle to 0.96

KATO Tsuguru tkato432 at yahoo.com
Wed Aug 3 18:40:24 UTC 2011


>Number:         159454
>Category:       ports
>Synopsis:       Update port: games/quackle to 0.96
>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 Aug 03 18:40:23 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 0.96

Remove file:
files/patch-fixedstring.h

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/quackle/Makefile games/quackle/Makefile
--- /usr/ports/games/quackle/Makefile	2010-03-28 17:37:34.000000000 +0900
+++ games/quackle/Makefile	2011-08-03 05:55:30.000000000 +0900
@@ -6,30 +6,50 @@
 #
 
 PORTNAME=	quackle
-PORTVERSION=	0.95
-PORTREVISION=	3
+PORTVERSION=	0.96
+DISTVERSIONSUFFIX=	-source
 CATEGORIES=	games
-MASTER_SITES=	http://web.mit.edu/jasonkb/www/quackle/downloads/${PORTNAME}-${PORTVERSION}/
-DISTFILES=	${PORTNAME}-${PORTVERSION}-source.tar.gz
+MASTER_SITES=	http://people.csail.mit.edu/jasonkb/quackle/downloads/%SUBDIR%/
+MASTER_SITE_SUBDIR=	${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A scrabble-like word game utilizing qt4
 
-USE_SCONS=	yes
+LICENSE=	GPLv2 GPLv3
+LICENSE_COMB=	dual
+
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+BUILD_WRKSRC=	${WRKSRC}/quacker
+
 USE_QT_VER=	4
-QT_COMPONENTS=	qmake_build moc_build gui
+QT_COMPONENTS=	corelib gui moc_build qmake_build
 USE_GMAKE=	yes
-QMAKE_ARGS=	-unix -spec ${QMAKESPEC}
+MAKE_JOBS_SAFE=	yes
 
-pre-patch:
-	@${REINPLACE_CMD} -e 's|if (QFile::exists("data"))|if (QFile::exists("${DATADIR}"))|' ${WRKSRC}/quacker/settings.cpp
-	@${REINPLACE_CMD} -e 's|QUACKLE_DATAMANAGER->setDataDirectory("data");|QUACKLE_DATAMANAGER->setDataDirectory("${DATADIR}");|' ${WRKSRC}/quacker/settings.cpp
+post-extract:
+	@${FIND} ${WRKSRC} \( -name "*.[ao]" -or -name "moc_*" \) -delete
 
-post-build:
-	@(cd ${WRKSRC}/quackleio && ${QMAKE} ${QMAKE_ARGS} -o Makefile quackleio.pro && ${SETENV} ${MAKE_ENV} ${GMAKE} && cd ${WRKSRC}/quacker && ${QMAKE} ${QMAKE_ARGS} -o Makefile quacker.pro && ${SETENV} ${MAKE_ENV} ${GMAKE})
+post-patch:
+	@${REINPLACE_CMD} -e \
+		'/debug/s|^CONFIG|#CONFIG| ; \
+		 /release/s|^#CONFIG|CONFIG|' ${BUILD_WRKSRC}/quacker.pro
+	@${REINPLACE_CMD} -e \
+		'/QFile::exists/s|("data")|("${DATADIR}")| ; \
+		 /setDataDirectory/s|("data")|("${DATADIR}")|' ${BUILD_WRKSRC}/settings.cpp
+
+do-configure:
+.for dir in . quackleio quacker
+	@(cd ${WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS})
+.endfor
+
+pre-build:
+.for dir in . quackleio
+	@(cd ${WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
+		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
+.endfor
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/quacker/quacker ${PREFIX}/bin/quackle
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/quacker ${PREFIX}/bin/quackle
 	@(cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${DATADIR})
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/quackle/distinfo games/quackle/distinfo
--- /usr/ports/games/quackle/distinfo	2011-07-04 02:03:57.000000000 +0900
+++ games/quackle/distinfo	2011-07-30 19:56:45.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (quackle-0.95-source.tar.gz) = 21544c41f465818f7c33a514eae3d725108b2992532b6db6ded269aa69de3e4c
-SIZE (quackle-0.95-source.tar.gz) = 49800462
+SHA256 (quackle-0.96-source.tar.gz) = 545a5cf32e5e8391df22a72c63eef3c1fbb991635630ede3b16fb5f4b99b701f
+SIZE (quackle-0.96-source.tar.gz) = 48267335
diff -urN /usr/ports/games/quackle/files/patch-fixedstring.h games/quackle/files/patch-fixedstring.h
--- /usr/ports/games/quackle/files/patch-fixedstring.h	2008-04-26 02:22:39.000000000 +0900
+++ games/quackle/files/patch-fixedstring.h	1970-01-01 09:00:00.000000000 +0900
@@ -1,10 +0,0 @@
---- fixedstring.h.orig	2008-04-15 20:02:38.000000000 -0600
-+++ fixedstring.h	2008-04-15 20:02:55.000000000 -0600
-@@ -18,6 +18,7 @@
-  *  02110-1301  USA
-  */
- 
-+#include <cassert>
- #ifndef QUACKLE_FIXEDSTRING_H
- #define QUACKLE_FIXEDSTRING_H
- 
diff -urN /usr/ports/games/quackle/pkg-descr games/quackle/pkg-descr
--- /usr/ports/games/quackle/pkg-descr	2011-08-03 15:32:26.000000000 +0900
+++ games/quackle/pkg-descr	2011-08-02 04:08:29.000000000 +0900
@@ -5,3 +5,5 @@
 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://quackle.org/
diff -urN /usr/ports/games/quackle/pkg-plist games/quackle/pkg-plist
--- /usr/ports/games/quackle/pkg-plist	2008-07-18 22:43:10.000000000 +0900
+++ games/quackle/pkg-plist	2011-08-01 03:36:01.000000000 +0900
@@ -3,24 +3,46 @@
 %%DATADIR%%/alphabets/english_super.quackle_alphabet
 %%DATADIR%%/alphabets/english_wild.quackle_alphabet
 %%DATADIR%%/alphabets/french.quackle_alphabet
+%%DATADIR%%/alphabets/greek.quackle_alphabet
 %%DATADIR%%/alphabets/korean.quackle_alphabet
+%%DATADIR%%/alphabets/mandarin.quackle_alphabet
+%%DATADIR%%/alphabets/mandarin.quackle_alphabet~
+%%DATADIR%%/alphabets/pinyin.quackle_alphabet
 %%DATADIR%%/alphabets/russian.quackle_alphabet
 %%DATADIR%%/alphabets/tuvan.quackle_alphabet
-%%DATADIR%%/lexica/cswfeb07.gaddag
+%%DATADIR%%/alphabets/zhuyin.quackle_alphabet
+%%DATADIR%%/lexica/cswapr07.dawg
+%%DATADIR%%/lexica/cswapr07.gaddag
+%%DATADIR%%/lexica/greek.dawg
 %%DATADIR%%/lexica/korean.dawg
-%%DATADIR%%/lexica/ods4.gaddag
-%%DATADIR%%/lexica/russian.dawg
-%%DATADIR%%/lexica/sowpods.gaddag
-%%DATADIR%%/lexica/tuvan.dawg
+%%DATADIR%%/lexica/ods5.dawg
+%%DATADIR%%/lexica/sowpods.dawg
+%%DATADIR%%/lexica/twl06.dawg
 %%DATADIR%%/lexica/twl06.gaddag
-%%DATADIR%%/lexica/twl06_wild.dawg
 %%DATADIR%%/lexica/twl98.dawg
-%%DATADIR%%/strategy/cswfeb07/superleaves
+%%DATADIR%%/raw_lexica/cswapr07.raw
+%%DATADIR%%/raw_lexica/cswfeb07.raw
+%%DATADIR%%/raw_lexica/faa3.raw
+%%DATADIR%%/raw_lexica/greek.raw
+%%DATADIR%%/raw_lexica/korean.raw
+%%DATADIR%%/raw_lexica/ods4.raw
+%%DATADIR%%/raw_lexica/ods5.raw
+%%DATADIR%%/raw_lexica/sowpods.raw
+%%DATADIR%%/raw_lexica/twl06.raw
+%%DATADIR%%/raw_lexica/twl98.raw
+%%DATADIR%%/strategy/chinese/superleaves
+%%DATADIR%%/strategy/chinese/syn2
+%%DATADIR%%/strategy/chinese/worths
+%%DATADIR%%/strategy/cswapr07/superleaves
+%%DATADIR%%/strategy/greek/superleaves
+%%DATADIR%%/strategy/greek/syn2
+%%DATADIR%%/strategy/greek/worths
 %%DATADIR%%/strategy/korean/superleaves
 %%DATADIR%%/strategy/korean/syn2
 %%DATADIR%%/strategy/korean/worths
-%%DATADIR%%/strategy/ods4/superleaves
-%%DATADIR%%/strategy/ods4/worths
+%%DATADIR%%/strategy/mandarin/superleaves
+%%DATADIR%%/strategy/mandarin/syn2
+%%DATADIR%%/strategy/mandarin/worths
 %%DATADIR%%/strategy/russian/superleaves
 %%DATADIR%%/strategy/russian/syn2
 %%DATADIR%%/strategy/russian/worths
@@ -33,15 +55,20 @@
 %%DATADIR%%/strategy/twl06/vcplace
 %%DATADIR%%/strategy/twl06/worths
 %%DATADIR%%/strategy/twl98/worths
- at dirrm %%DATADIR%%/alphabets
+ at dirrm %%DATADIR%%/strategy/twl98
+ at dirrm %%DATADIR%%/strategy/twl06
+ at dirrm %%DATADIR%%/strategy/tuvan
+ at dirrm %%DATADIR%%/strategy/sowpods
+ at dirrm %%DATADIR%%/strategy/russian
+ at dirrm %%DATADIR%%/strategy/ods4
+ at dirrm %%DATADIR%%/strategy/mandarin
+ at dirrm %%DATADIR%%/strategy/korean
+ at dirrm %%DATADIR%%/strategy/greek
+ at dirrm %%DATADIR%%/strategy/cswfeb07
+ at dirrm %%DATADIR%%/strategy/cswapr07
+ at dirrm %%DATADIR%%/strategy/chinese
+ at dirrm %%DATADIR%%/strategy
+ at dirrm %%DATADIR%%/raw_lexica
 @dirrm %%DATADIR%%/lexica
- at dirrm %%DATADIR%%/strategy/cswfeb07/
- at dirrm %%DATADIR%%/strategy/korean/
- at dirrm %%DATADIR%%/strategy/ods4/
- at dirrm %%DATADIR%%/strategy/russian/
- at dirrm %%DATADIR%%/strategy/sowpods/
- at dirrm %%DATADIR%%/strategy/tuvan/
- at dirrm %%DATADIR%%/strategy/twl06/
- at dirrm %%DATADIR%%/strategy/twl98/
- at dirrm %%DATADIR%%/strategy/
+ at dirrm %%DATADIR%%/alphabets
 @dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list