diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile index ea90de62e833..35f03da48b4f 100644 --- a/games/pokerth/Makefile +++ b/games/pokerth/Makefile @@ -1,75 +1,73 @@ PORTNAME= pokerth PORTVERSION= 1.1.2 PORTREVISION= 24 CATEGORIES= games MASTER_SITES= SF PATCH_SITES= https://gitweb.gentoo.org/repo/gentoo.git/plain/games-board/pokerth/files/ \ https://raw.githubusercontent.com/gentoo/gentoo/master/games-board/pokerth/files/ -PATCHFILES= pokerth-1.1.2-boost-1.73.patch:-p1 +PATCHFILES= pokerth-1.1.2-boost-1.73.patch:-p1 \ + pokerth-1.1.2-boost-1.85.patch:-p1 MAINTAINER= ports@FreeBSD.org COMMENT= Poker game written in C++/Qt WWW= https://www.pokerth.net/ LICENSE= AGPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN= error: no member named 'directory_string' in 'boost::filesystem::path' -EXPIRATION_DATE=2025-01-31 - LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libmikmod.so:audio/libmikmod \ libgnutls.so:security/gnutls \ libcurl.so:ftp/curl \ libgsasl.so:security/libgsasl \ libtinyxml.so:textproc/tinyxml \ libprotobuf.so:devel/protobuf \ libircclient.so:irc/libircclient BUILD_DEPENDS= ${LOCALBASE}/include/websocketpp/client.hpp:devel/websocketpp \ protoc:devel/protobuf USES= compiler:c++17-lang gl gmake iconv localbase:ldflags qmake qt:5 sdl sqlite ssl USE_GL= gl USE_CXXSTD= c++17 USE_QT= buildtools:build core gui network sql sql-sqlite3 widgets USE_SDL= mixer CXXFLAGS+= -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION LDFLAGS+= -labsl_log_internal_check_op \ -labsl_log_internal_message \ -lprotobuf QMAKE_SOURCE_PATH= pokerth.pro QMAKE_ARGS+= CONFIG+="client" WRKSRC= ${WRKDIR}/${DISTNAME}-rc PORTDOCS= server_setup_howto.txt OPTIONS_DEFINE= DOCS .include post-patch: @${REINPLACE_CMD} -E \ -e 's|/usr([a-z|/]*)|${LOCALBASE}/\1|g' \ -e 's|(-lcurl)|\1 ${ICONV_LIB}|g' \ -e 's|(-lcrypto) -liconv|\1 ${ICONV_LIB}|' \ -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 pre-build: (cd ${WRKSRC} && \ protoc --cpp_out=src/third_party/protobuf chatcleaner.proto && \ protoc --cpp_out=src/third_party/protobuf pokerth.proto \ ) post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pokerth ${INSTALL_PROGRAM} ${WRKSRC}/bin/pokerth_server ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/docs/pokerth.1 ${STAGEDIR}${PREFIX}/share/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/server_setup_howto.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/games/pokerth/distinfo b/games/pokerth/distinfo index 1237b2f08849..728a0d6b9551 100644 --- a/games/pokerth/distinfo +++ b/games/pokerth/distinfo @@ -1,5 +1,7 @@ TIMESTAMP = 1509445273 SHA256 (pokerth-1.1.2.tar.gz) = 02cb3dee8077de20cd4491b66049b123d8bdd7fa243855f97c817934875c297a SIZE (pokerth-1.1.2.tar.gz) = 21354306 SHA256 (pokerth-1.1.2-boost-1.73.patch) = 4dc22f47d534f3cf415e57310b02d8b11a410e904682f33044b6693ec36a25ba SIZE (pokerth-1.1.2-boost-1.73.patch) = 2281 +SHA256 (pokerth-1.1.2-boost-1.85.patch) = 0064cd2ce0781470fea91da611e5f0f2f6c9cae00d856b7650c4ae23fa8a9082 +SIZE (pokerth-1.1.2-boost-1.85.patch) = 10725