Index: head/games/warzone2100/Makefile =================================================================== --- head/games/warzone2100/Makefile (revision 517391) +++ head/games/warzone2100/Makefile (revision 517392) @@ -1,61 +1,57 @@ # $FreeBSD$ PORTNAME= warzone2100 -PORTVERSION= 3.2.3 -PORTREVISION= 7 +PORTVERSION= 3.3.0 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/releases/${PORTVERSION}/ +DISTNAME= ${PORTNAME}-${PORTVERSION}_src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Innovative 3D real-time strategy game -BROKEN= unfetchable - LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= zip:archivers/zip LIB_DEPENDS= libphysfs.so:devel/physfs \ libpng.so:graphics/png \ libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg \ libtheora.so:multimedia/libtheora \ libfribidi.so:converters/fribidi \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu -USES= bison compiler:c++11-lib gl gmake localbase openal:al pkgconfig \ +USES= autoreconf bison compiler:c++11-lib gl gmake localbase openal:al pkgconfig \ qmake:no_env qt:5 sdl ssl tar:xz xorg GNU_CONFIGURE= yes USE_GL= gl glu glew USE_SDL= sdl2 USE_XORG= x11 xrandr USE_QT= core gui widgets script buildtools_build CONFIGURE_ARGS= --program-transform-name="" --with-distributor="FreeBSD ports" CONFIGURE_ENV= LIBCRYPTO_CFLAGS="-I${OPENSSLINC}" \ LIBCRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" \ CCOMPILER="${CC}" CXXCOMPILER="${CXX}" +WRKSRC= ${WRKDIR}/${PORTNAME} + PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS NLS MANPAGES OPTIONS_DEFAULT=MANPAGES OPTIONS_SUB= yes NLS_USES= gettext +NLS_USES_OFF= gettext-tools NLS_CONFIGURE_ENABLE= nls MANPAGES_BUILD_DEPENDS= a2x:textproc/asciidoc post-patch: - @${REINPLACE_CMD} -e 's|-Werror||g; s|-R$$found_dir||g' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|./build_tools/autorevision|& -f|g' ${WRKSRC}/src/Makefile.in - @${REINPLACE_CMD} -e '/INSTALL_DATA.*warzone2100.appdata.xml/d' ${WRKSRC}/icons/Makefile.* - -post-install: - @${RMDIR} ${STAGEDIR}${PREFIX}/share/metainfo + @${REINPLACE_CMD} -e 's|./build_tools/autorevision|& -f|g' ${WRKSRC}/src/Makefile.am .include Index: head/games/warzone2100/distinfo =================================================================== --- head/games/warzone2100/distinfo (revision 517391) +++ head/games/warzone2100/distinfo (revision 517392) @@ -1,3 +1,3 @@ -TIMESTAMP = 1493412166 -SHA256 (warzone2100-3.2.3.tar.xz) = fcab9e860203e7dacda6ee60384da490a9d44aeafc07aa31ff25f9c548be7582 -SIZE (warzone2100-3.2.3.tar.xz) = 81314060 +TIMESTAMP = 1568381470 +SHA256 (warzone2100-3.3.0_src.tar.xz) = cc48c8128d17a499e833996470d843855389d9fc985c71f05be08901f33116e8 +SIZE (warzone2100-3.3.0_src.tar.xz) = 86605304 Index: head/games/warzone2100/files/patch-lib_exceptionhandler_exceptionhandler.cpp =================================================================== --- head/games/warzone2100/files/patch-lib_exceptionhandler_exceptionhandler.cpp (revision 517391) +++ head/games/warzone2100/files/patch-lib_exceptionhandler_exceptionhandler.cpp (nonexistent) @@ -1,10 +0,0 @@ ---- lib/exceptionhandler/exceptionhandler.cpp.orig 2017-04-23 13:12:16 UTC -+++ lib/exceptionhandler/exceptionhandler.cpp -@@ -120,6 +120,7 @@ static LONG WINAPI windowsExceptionHandl - - // POSIX headers: - # include -+# include - # include - # include - # include Property changes on: head/games/warzone2100/files/patch-lib_exceptionhandler_exceptionhandler.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/warzone2100/files/patch-lib_netplay_netplay.cpp =================================================================== --- head/games/warzone2100/files/patch-lib_netplay_netplay.cpp (revision 517391) +++ head/games/warzone2100/files/patch-lib_netplay_netplay.cpp (nonexistent) @@ -1,11 +0,0 @@ ---- lib/netplay/netplay.cpp.orig 2017-04-23 13:12:16 UTC -+++ lib/netplay/netplay.cpp -@@ -1783,7 +1783,7 @@ static void NETcheckPlayers(void) - // We should not block here. - bool NETrecvNet(NETQUEUE *queue, uint8_t *type) - { -- switch (upnp_status) -+ switch ((int)upnp_status) - { - case UPNP_ERROR_CONTROL_NOT_AVAILABLE: - case UPNP_ERROR_DEVICE_NOT_FOUND: Property changes on: head/games/warzone2100/files/patch-lib_netplay_netplay.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/warzone2100/files/patch-po_Makevars =================================================================== --- head/games/warzone2100/files/patch-po_Makevars (nonexistent) +++ head/games/warzone2100/files/patch-po_Makevars (revision 517392) @@ -0,0 +1,11 @@ +--- po/Makevars.orig 2019-08-31 18:17:22 UTC ++++ po/Makevars +@@ -5,7 +5,7 @@ DOMAIN = $(PACKAGE) + + # These two variables depend on the location of this directory. + subdir = po +-#top_builddir = .. ++top_builddir = .. + + # These options get passed to xgettext. + XGETTEXT_OPTIONS = --language=C++ --from-code=UTF-8 --no-wrap --width=1 --keyword=_ --keyword=N_ --keyword=P_:1c,2 --keyword=NP_:1c,2 Property changes on: head/games/warzone2100/files/patch-po_Makevars ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/warzone2100/pkg-plist =================================================================== --- head/games/warzone2100/pkg-plist (revision 517391) +++ head/games/warzone2100/pkg-plist (revision 517392) @@ -1,36 +1,38 @@ bin/warzone2100 %%MANPAGES%%man/man6/warzone2100.6.gz share/applications/warzone2100.desktop share/icons/warzone2100.png %%NLS%%share/locale/ca_ES/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/cs/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/da/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/de/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/el/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/en_GB/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/eo/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/es/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/et_EE/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/fi/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/fr/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/fy/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/ga/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/hr/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/hu/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/id/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/it/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/ko/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/la/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/lt/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/nb/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/nl/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/pl/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/pt/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/ro/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/ru/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/sk/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/sl/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/tr/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/uk_UA/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/warzone2100.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/warzone2100.mo +share/metainfo/warzone2100.appdata.xml