Date: Thu, 4 Aug 2011 03:22:22 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/159454: Update port: games/quackle to 0.96 Message-ID: <20110804032222.bd9ef4e9.tkato432@yahoo.com> Resent-Message-ID: <201108031840.p73IeNJ8076045@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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 -@dirrm %%DATADIR%%/alphabets +@dirrm %%DATADIR%%/strategy/twl98 +@dirrm %%DATADIR%%/strategy/twl06 +@dirrm %%DATADIR%%/strategy/tuvan +@dirrm %%DATADIR%%/strategy/sowpods +@dirrm %%DATADIR%%/strategy/russian +@dirrm %%DATADIR%%/strategy/ods4 +@dirrm %%DATADIR%%/strategy/mandarin +@dirrm %%DATADIR%%/strategy/korean +@dirrm %%DATADIR%%/strategy/greek +@dirrm %%DATADIR%%/strategy/cswfeb07 +@dirrm %%DATADIR%%/strategy/cswapr07 +@dirrm %%DATADIR%%/strategy/chinese +@dirrm %%DATADIR%%/strategy +@dirrm %%DATADIR%%/raw_lexica @dirrm %%DATADIR%%/lexica -@dirrm %%DATADIR%%/strategy/cswfeb07/ -@dirrm %%DATADIR%%/strategy/korean/ -@dirrm %%DATADIR%%/strategy/ods4/ -@dirrm %%DATADIR%%/strategy/russian/ -@dirrm %%DATADIR%%/strategy/sowpods/ -@dirrm %%DATADIR%%/strategy/tuvan/ -@dirrm %%DATADIR%%/strategy/twl06/ -@dirrm %%DATADIR%%/strategy/twl98/ -@dirrm %%DATADIR%%/strategy/ +@dirrm %%DATADIR%%/alphabets @dirrm %%DATADIR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110804032222.bd9ef4e9.tkato432>