Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2014 22:52:01 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375362 - head/games/quackle
Message-ID:  <201412232252.sBNMq1ND096706@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Tue Dec 23 22:52:00 2014
New Revision: 375362
URL: https://svnweb.freebsd.org/changeset/ports/375362
QAT: https://qat.redports.org/buildarchive/r375362/

Log:
  - Update to version 0.98, now hosted on GitHub
  - LICENSE is GPLv3 now
  - Builds fine with clang
  
  Changelog:
  
  Norwegian dictionary! (Choose "norwegian" alphabet and "norwegian" lexicon.
  Hat tip Per Steinar Moen.)
  Polish dictionary! (Choose "polish" alphabet and "osps" lexicon.
  Hat tip Adam Klimont and Polish Federation of Scrabble.)
  Color themes!
  Easier board configuration based on the mathematics of symmetry!
  Better behavior with international keyboards.
  Fixes for OS X Mavericks. (And a lot of other code cleanups by Matt Liberty.)

Modified:
  head/games/quackle/Makefile
  head/games/quackle/distinfo
  head/games/quackle/pkg-plist

Modified: head/games/quackle/Makefile
==============================================================================
--- head/games/quackle/Makefile	Tue Dec 23 22:47:39 2014	(r375361)
+++ head/games/quackle/Makefile	Tue Dec 23 22:52:00 2014	(r375362)
@@ -2,38 +2,31 @@
 # $FreeBSD$
 
 PORTNAME=	quackle
-PORTVERSION=	0.97
-PORTREVISION=	2
-DISTVERSIONSUFFIX=	-source
+PORTVERSION=	0.98
 CATEGORIES=	games
-MASTER_SITES=	http://people.csail.mit.edu/jasonkb/quackle/downloads/%SUBDIR%/
-MASTER_SITE_SUBDIR=	${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	pawel@FreeBSD.org
 COMMENT=	Scrabble-like word game utilizing Qt4
 
-LICENSE=	GPLv2 GPLv3
-LICENSE_COMB=	dual
+LICENSE=	GPLv3
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-BUILD_WRKSRC=	${WRKSRC}/quacker
+USE_GITHUB=	yes
+GH_TAGNAME=	v${PORTVERSION}
+GH_COMMIT=	7c118f2	
 
 USES=		gmake qmake
-USE_GCC=	any
 USE_QT4=	gui moc_build
 
-DESKTOP_ENTRIES="Quackle" "${COMMENT}" "" "quackle" "Game;BoardGame;" "true"
+BUILD_WRKSRC=	${WRKSRC}/quacker
 
-post-extract:
-	@${FIND} ${WRKSRC} \( -name "*.[ao]" -or -name "moc_*" \) -delete
+DESKTOP_ENTRIES="Quackle" "${COMMENT}" "" "quackle" "Game;BoardGame;" "true"
 
 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
+	@${REINPLACE_CMD} '/-Wno-unused-local-typedefs/d' \
+		${BUILD_WRKSRC}/quacker.pro \
+		${WRKSRC}/quackleio/quackleio.pro
+	@${REINPLACE_CMD} 's|"data"|"${DATADIR}"|' \
+		${BUILD_WRKSRC}/settings.cpp
 
 post-configure:
 .for dir in quackleio quacker
@@ -47,8 +40,8 @@ pre-build:
 .endfor
 
 do-install:
-	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/quacker \
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/Quackle \
 		${STAGEDIR}${PREFIX}/bin/quackle
-	@(cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
+	(cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
 
 .include <bsd.port.mk>

Modified: head/games/quackle/distinfo
==============================================================================
--- head/games/quackle/distinfo	Tue Dec 23 22:47:39 2014	(r375361)
+++ head/games/quackle/distinfo	Tue Dec 23 22:52:00 2014	(r375362)
@@ -1,2 +1,2 @@
-SHA256 (quackle-0.97-source.tar.gz) = f570dfbafe0d82510ba6cbe4816ae1acabb61733e29a1044e02e6c9060040152
-SIZE (quackle-0.97-source.tar.gz) = 61947124
+SHA256 (quackle-0.98.tar.gz) = 414c693bd2e97b5e8200df853cad04ab49bde3184914dd16f9292451af2ad581
+SIZE (quackle-0.98.tar.gz) = 42197478

Modified: head/games/quackle/pkg-plist
==============================================================================
--- head/games/quackle/pkg-plist	Tue Dec 23 22:47:39 2014	(r375361)
+++ head/games/quackle/pkg-plist	Tue Dec 23 22:52:00 2014	(r375362)
@@ -6,8 +6,9 @@ bin/quackle
 %%DATADIR%%/alphabets/greek.quackle_alphabet
 %%DATADIR%%/alphabets/korean.quackle_alphabet
 %%DATADIR%%/alphabets/mandarin.quackle_alphabet
-%%DATADIR%%/alphabets/mandarin.quackle_alphabet~
+%%DATADIR%%/alphabets/norwegian.quackle_alphabet
 %%DATADIR%%/alphabets/pinyin.quackle_alphabet
+%%DATADIR%%/alphabets/polish.quackle_alphabet
 %%DATADIR%%/alphabets/russian.quackle_alphabet
 %%DATADIR%%/alphabets/swedish.quackle_alphabet
 %%DATADIR%%/alphabets/tuvan.quackle_alphabet
@@ -15,51 +16,36 @@ bin/quackle
 %%DATADIR%%/lexica/csw12.dawg
 %%DATADIR%%/lexica/csw12.gaddag
 %%DATADIR%%/lexica/cswapr07.dawg
-%%DATADIR%%/lexica/cswapr07.gaddag
-%%DATADIR%%/lexica/cswjan11.dawg
 %%DATADIR%%/lexica/greek.dawg
 %%DATADIR%%/lexica/korean.dawg
+%%DATADIR%%/lexica/norwegian.dawg
 %%DATADIR%%/lexica/ods5.dawg
+%%DATADIR%%/lexica/osps.dawg
 %%DATADIR%%/lexica/russian.dawg
 %%DATADIR%%/lexica/sowpods.dawg
 %%DATADIR%%/lexica/tuvan.dawg
-%%DATADIR%%/lexica/twl06_wild.dawg
 %%DATADIR%%/lexica/twl06.dawg
 %%DATADIR%%/lexica/twl06.gaddag
+%%DATADIR%%/lexica/twl06_wild.dawg
 %%DATADIR%%/lexica/twl98.dawg
 %%DATADIR%%/raw_lexica/cswapr07.raw
 %%DATADIR%%/raw_lexica/cswfeb07.raw
-%%DATADIR%%/raw_lexica/faa3.raw
-%%DATADIR%%/raw_lexica/fise-spanish.raw
 %%DATADIR%%/raw_lexica/greek.raw
 %%DATADIR%%/raw_lexica/korean.raw
+%%DATADIR%%/raw_lexica/norwegian.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/mandarin/superleaves
-%%DATADIR%%/strategy/mandarin/syn2
-%%DATADIR%%/strategy/mandarin/worths
-%%DATADIR%%/strategy/russian/superleaves
-%%DATADIR%%/strategy/russian/syn2
-%%DATADIR%%/strategy/russian/worths
-%%DATADIR%%/strategy/tuvan/superleaves
-%%DATADIR%%/strategy/tuvan/syn2
-%%DATADIR%%/strategy/tuvan/worths
+%%DATADIR%%/strategy/ods5/superleaves
+%%DATADIR%%/strategy/ods5/worths
 %%DATADIR%%/strategy/twl06/bogowin
 %%DATADIR%%/strategy/twl06/superleaves
 %%DATADIR%%/strategy/twl06/syn2
 %%DATADIR%%/strategy/twl06/vcplace
 %%DATADIR%%/strategy/twl06/worths
 %%DATADIR%%/strategy/twl98/worths
+%%DATADIR%%/themes/modern.ini
+%%DATADIR%%/themes/plain.ini
+%%DATADIR%%/themes/traditional.ini



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