ports/154821: [maintainer-update] games/pokerth: update to 0.8.3
Guido Falsi
mad at madpilot.net
Wed Feb 16 11:10:08 UTC 2011
>Number: 154821
>Category: ports
>Synopsis: [maintainer-update] games/pokerth: update to 0.8.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 16 11:10:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Guido Falsi
>Release: FreeBSD 8.1-STABLE amd64
>Organization:
none
>Environment:
System: FreeBSD megatron.madpilot.net 8.1-STABLE FreeBSD 8.1-STABLE #23: Sun Nov 14 14:54:14 CET 2010 root at megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64
>Description:
Update to 0.8.3.
Add LICENSE while there.
>How-To-Repeat:
>Fix:
diff -ruN pokerth.old/Makefile pokerth/Makefile
--- pokerth.old/Makefile 2011-02-16 11:35:43.341429390 +0100
+++ pokerth/Makefile 2011-02-16 11:49:14.833620799 +0100
@@ -6,7 +6,7 @@
#
PORTNAME= pokerth
-PORTVERSION= 0.8.1
+PORTVERSION= 0.8.3
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.8
DISTNAME= PokerTH-${PORTVERSION}-src
@@ -14,6 +14,9 @@
MAINTAINER= mad at 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 \
@@ -25,7 +28,8 @@
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}
@@ -45,6 +49,7 @@
-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 -ruN pokerth.old/distinfo pokerth/distinfo
--- pokerth.old/distinfo 2011-02-16 11:35:43.327232392 +0100
+++ pokerth/distinfo 2011-02-16 11:49:14.832619558 +0100
@@ -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 -ruN pokerth.old/files/patch-pokerth_game.pro pokerth/files/patch-pokerth_game.pro
--- pokerth.old/files/patch-pokerth_game.pro 2011-02-16 11:35:43.327232392 +0100
+++ pokerth/files/patch-pokerth_game.pro 2011-02-16 11:49:14.832619558 +0100
@@ -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) {
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list