aboutsummaryrefslogtreecommitdiff
path: root/games/springlobby/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2021-05-06 17:12:37 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2022-03-14 15:06:41 +0000
commit881cc0caa07645a5996787c2b0d4d2e274b304c9 (patch)
treeb045d5456221a05a4098e60bc04ab0446e4695ad /games/springlobby/Makefile
parent2b9b2ccd9c044f4d07f2fa18d6cf7a9e98933914 (diff)
downloadports-881cc0caa07645a5996787c2b0d4d2e274b304c9.tar.gz
ports-881cc0caa07645a5996787c2b0d4d2e274b304c9.zip
games/springlobby: update 0.180 → 0.273
Diffstat (limited to 'games/springlobby/Makefile')
-rw-r--r--games/springlobby/Makefile41
1 files changed, 26 insertions, 15 deletions
diff --git a/games/springlobby/Makefile b/games/springlobby/Makefile
index 788056d4960e..71bc1e2fcd12 100644
--- a/games/springlobby/Makefile
+++ b/games/springlobby/Makefile
@@ -1,24 +1,30 @@
PORTNAME= springlobby
-PORTVERSION= 0.180
-PORTREVISION= 23
+PORTVERSION= 0.273
CATEGORIES= games net
-MASTER_SITES= http://www.springlobby.info/tarballs/ \
- http://mirror.amdmi3.ru/distfiles/
+MASTER_SITES= https://springlobby.springrts.com/dl/stable/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Cross-platform lobby client for the Spring RTS project
-LICENSE= GPLv2
+LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
+IGNORE_FreeBSD_12= not supported by spring engine
+ONLY_FOR_ARCHS= amd64
+ONLY_FOR_ARCHS_REASON= spring engine only supports amd64
+
RUN_DEPENDS= spring:games/spring
LIB_DEPENDS= libcurl.so:ftp/curl \
- libboost_thread.so:devel/boost-libs
+ libboost_thread.so:devel/boost-libs \
+ libjsoncpp.so:devel/jsoncpp \
+ libminizip.so:archivers/minizip \
+ libpng.so:graphics/png
-USES= cmake compiler:c++11-lib pkgconfig tar:bzip2
+USES= cmake compiler:c++17-lang pkgconfig ssl tar:bzip2
CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \
- -DENABLE_DEBUG_REPORT=FALSE
-USE_WX= 2.8+
+ -DPRD_JSONCPP_INTERNAL=OFF \
+ -Wno-dev
+USE_WX= 3.0+
PORTDOCS= *
@@ -29,17 +35,22 @@ OPTIONS_SUB= yes
SOUND_DESC= Enable sound notifications
NOTIFY_DESC= Enable libnotify support for popup status messages
-NLS_CMAKE_ON= -DOPTION_TRANSLATION_SUPPORT:BOOL=ON
-NLS_CMAKE_OFF= -DOPTION_TRANSLATION_SUPPORT:BOOL=OFF
+NLS_CMAKE_BOOL= OPTION_TRANSLATION_SUPPORT
NLS_USES= gettext
-SOUND_CMAKE_ON= -DOPTION_SOUND:BOOL=ON
-SOUND_CMAKE_OFF= -DOPTION_SOUND:BOOL=OFF
+SOUND_CMAKE_BOOL= OPTION_SOUND
SOUND_LIB_DEPENDS= libalure.so:audio/alure
SOUND_USES= openal:al
-NOTIFY_CMAKE_ON= -DOPTION_NOTIFY=ON
-NOTIFY_CMAKE_OFF= -DOPTION_NOTIFY=OFF
+NOTIFY_CMAKE_BOOL= OPTION_NOTIFY
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
+NOTIFY_USES= gnome
+NOTIFY_USE= GNOME=glib20
+
+# make sure bundled depends are not used
+post-patch:
+.for lib in minizip jsoncpp libgit2
+ @${RM} -r ${WRKSRC}/src/downloader/lib/src/lib/${lib}
+.endfor
.include <bsd.port.mk>