aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-02-27 21:35:14 +0800
committermiwi <miwi@FreeBSD.org>2011-02-27 21:35:14 +0800
commitc49ce8c9a9e4dccd8c6805346c1acbb801f68157 (patch)
tree257b1f5302d395e6aaa6335c17017054bdd49614 /games
parent0af24e489bf5673f6a9f445b6383c1c00a2adab2 (diff)
downloadfreebsd-ports-gnome-c49ce8c9a9e4dccd8c6805346c1acbb801f68157.tar.gz
freebsd-ports-gnome-c49ce8c9a9e4dccd8c6805346c1acbb801f68157.tar.zst
freebsd-ports-gnome-c49ce8c9a9e4dccd8c6805346c1acbb801f68157.zip
- Update to 0.8.3.
PR: 154821 Submitted by: Guido Falsi <mad@madpilot.net> Approved by: maintainer
Diffstat (limited to 'games')
-rw-r--r--games/pokerth/Makefile10
-rw-r--r--games/pokerth/distinfo5
-rw-r--r--games/pokerth/files/patch-pokerth_game.pro33
3 files changed, 30 insertions, 18 deletions
diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile
index edcb9f972cb6..0b40833c9d42 100644
--- a/games/pokerth/Makefile
+++ b/games/pokerth/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= pokerth
-PORTVERSION= 0.8.1
-PORTREVISION= 1
+PORTVERSION= 0.8.3
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.8
DISTNAME= PokerTH-${PORTVERSION}-src
@@ -15,6 +14,9 @@ DISTNAME= PokerTH-${PORTVERSION}-src
MAINTAINER= mad@madpilot.net
COMMENT= A poker game written in C++/QT4
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs \
mikmod.2:${PORTSDIR}/audio/libmikmod \
gnutls.40:${PORTSDIR}/security/gnutls \
@@ -26,7 +28,8 @@ USE_BZIP2= yes
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
USE_QT_VER= 4
-QT_COMPONENTS= gui corelib network sql qmake_build moc_build rcc_build uic_build
+QT_COMPONENTS= gui corelib network sql sql-sqlite3 qmake_build \
+ moc_build rcc_build uic_build
USE_SDL= mixer
HAS_CONFIGURE= yes
QMAKE_ARGS+= -unix PREFIX=${PREFIX}
@@ -46,6 +49,7 @@ post-patch:
-e 's|(-lcurl)|\1 -liconv|g' \
-e 's:boost_([a-z]+)-[-|a-z|0-9|_]*:boost_\1:g' \
-e 's|LIB_DIRS =.*|LIB_DIRS = ${LOCALBASE}/lib|g' \
+ -e '/^QMAKE_CXXFLAGS.*/d' \
${WRKSRC}/*.pro
do-configure:
diff --git a/games/pokerth/distinfo b/games/pokerth/distinfo
index b1372001d211..fab164dde550 100644
--- a/games/pokerth/distinfo
+++ b/games/pokerth/distinfo
@@ -1,3 +1,2 @@
-MD5 (PokerTH-0.8.1-src.tar.bz2) = 990b2b7dcb48028c0e963161ddea5806
-SHA256 (PokerTH-0.8.1-src.tar.bz2) = d2b6f8bf0cc9b6e5348aa4d6d5e59b3b17465a0f1a822341fd4417c2a5db1240
-SIZE (PokerTH-0.8.1-src.tar.bz2) = 7080728
+SHA256 (PokerTH-0.8.3-src.tar.bz2) = ff68054753b87dc8713306a96b53108b2e485610086a28481f0fc3d7a365a02e
+SIZE (PokerTH-0.8.3-src.tar.bz2) = 7037418
diff --git a/games/pokerth/files/patch-pokerth_game.pro b/games/pokerth/files/patch-pokerth_game.pro
index 94036466da9f..9a7d7365bf85 100644
--- a/games/pokerth/files/patch-pokerth_game.pro
+++ b/games/pokerth/files/patch-pokerth_game.pro
@@ -1,12 +1,21 @@
---- pokerth_game.pro.orig 2009-05-03 21:19:24.000000000 +0200
-+++ pokerth_game.pro 2009-05-10 13:48:21.535041464 +0200
-@@ -357,8 +357,7 @@
- # QMAKE_CXXFLAGS += -ffunction-sections -fdata-sections
- # QMAKE_LFLAGS += -Wl,--gc-sections
- LIBPATH += lib
-- LIB_DIRS = $${PREFIX}/lib \
-- $${PREFIX}/lib64
-+ LIB_DIRS = $${PREFIX}/lib
- BOOST_FS = boost_filesystem \
- boost_filesystem-mt
- BOOST_THREAD = boost_thread \
+--- pokerth_game.pro.orig 2011-01-16 20:37:12.000000000 +0100
++++ pokerth_game.pro 2011-02-15 17:46:10.218078631 +0100
+@@ -379,8 +379,7 @@
+ # QMAKE_LFLAGS += -Wl,--gc-sections
+ LIBPATH += lib $${PREFIX}/lib /opt/gsasl/lib
+ INCLUDEPATH += $${PREFIX}/include
+- LIB_DIRS = $${PREFIX}/lib \
+- $${PREFIX}/lib64
++ LIB_DIRS = $${PREFIX}/lib
+ BOOST_FS = boost_filesystem \
+ boost_filesystem-mt
+ BOOST_THREAD = boost_thread \
+@@ -392,7 +391,7 @@
+ BOOST_SYS = boost_system \
+ boost_system-mt
+
+- # searching in $PREFIX/lib and $PREFIX/lib64
++ # searching in $PREFIX/lib
+ # to override the default '/usr' pass PREFIX
+ # variable to qmake.
+ for(dir, LIB_DIRS):exists($$dir) {