- Update to 0.8.3.

PR:		154821
Submitted by:	Guido Falsi <mad@madpilot.net>
Approved by:	maintainer
This commit is contained in:
Martin Wilke 2011-02-27 13:35:14 +00:00
parent a210c4979f
commit ecdd680992
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269897
3 changed files with 30 additions and 18 deletions

View file

@ -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:

View file

@ -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

View file

@ -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) {