Index: head/games/openclonk/Makefile =================================================================== --- head/games/openclonk/Makefile (revision 381435) +++ head/games/openclonk/Makefile (revision 381436) @@ -1,43 +1,43 @@ # Created by: Kevin Zheng # $FreeBSD$ PORTNAME= openclonk -PORTVERSION= 5.1 -DISTVERSIONPREFIX= 5. +PORTVERSION= 6.0 DISTVERSIONSUFFIX= -src -PORTREVISION= 2 CATEGORIES= games -MASTER_SITES= http://www.openclonk.org/builds/release/${DISTVERSIONPREFIX}${DISTVERSION}/ +MASTER_SITES= http://www.openclonk.org/builds/release/${DISTVERSION}/ MAINTAINER= kevinz5000@gmail.com COMMENT= Multiplayer action game involving small and nimble humanoids -LICENSE= ISCL +LICENSE= ISCL CC0-1.0 +LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libjpeg.so:${PORTSDIR}/graphics/jpeg \ libogg.so:${PORTSDIR}/audio/libogg \ libpng.so:${PORTSDIR}/graphics/png \ libvorbis.so:${PORTSDIR}/audio/libvorbis -USES= compiler:c++11-lib cmake iconv pkgconfig tar:bzip2 +USES= compiler:c++11-lib cmake desktop-file-utils iconv pkgconfig tar:bzip2 USE_GL= glew USE_GNOME= gtk20 USE_SDL= sdl mixer USE_XORG= x11 xpm +INSTALLS_ICONS= yes -WRKSRC= ${WRKDIR}/openclonk-release-${DISTVERSIONPREFIX}${DISTVERSION}-src +WRKSRC= ${WRKDIR}/openclonk-release-${DISTVERSION}-src .include .if ${OSVERSION} < 1000024 BROKEN= does not build (lack of proper c++11 support) .endif post-patch: @${REINPLACE_CMD} -e 's|DESTINATION games|DESTINATION bin|' \ ${WRKSRC}/CMakeLists.txt .include Index: head/games/openclonk/distinfo =================================================================== --- head/games/openclonk/distinfo (revision 381435) +++ head/games/openclonk/distinfo (revision 381436) @@ -1,2 +1,2 @@ -SHA256 (openclonk-5.5.1-src.tar.bz2) = c038d6dc2ef9a3d7966b18ba6147b9dd136f353dfaa5796455f9917b79255743 -SIZE (openclonk-5.5.1-src.tar.bz2) = 65383438 +SHA256 (openclonk-6.0-src.tar.bz2) = 89271011c14a239c3000f057c12699c2ce1242187d41c4d2f6fd11b1d46a0248 +SIZE (openclonk-6.0-src.tar.bz2) = 68762594 Index: head/games/openclonk/files/patch-src__platform__StdSync.h =================================================================== --- head/games/openclonk/files/patch-src__platform__StdSync.h (revision 381435) +++ head/games/openclonk/files/patch-src__platform__StdSync.h (nonexistent) @@ -1,11 +0,0 @@ ---- src/platform/StdSync.h.orig 2014-10-05 17:22:07.000000000 +0400 -+++ src/platform/StdSync.h 2014-11-27 18:14:51.000000000 +0300 -@@ -135,7 +135,7 @@ - { - // Use pthread_cond_wait or pthread_cond_timedwait depending on wait length. Check return value. - // Note this will temporarily unlock the mutex, so no deadlock should occur. -- timespec ts = { iMillis / 1000, (iMillis % 1000) * 1000000 }; -+ timespec ts = { static_cast(iMillis / 1000), static_cast(iMillis % 1000) * 1000000 }; - if (0 != (iMillis != INFINITE ? pthread_cond_timedwait(&cond, &mutex, &ts) : pthread_cond_wait(&cond, &mutex))) - { - pthread_mutex_unlock(&mutex); Property changes on: head/games/openclonk/files/patch-src__platform__StdSync.h ___________________________________________________________________ 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/openclonk/files/patch-CMakeLists.txt =================================================================== --- head/games/openclonk/files/patch-CMakeLists.txt (nonexistent) +++ head/games/openclonk/files/patch-CMakeLists.txt (revision 381436) @@ -0,0 +1,21 @@ +--- CMakeLists.txt.orig 2015-03-15 19:33:38 UTC ++++ CMakeLists.txt +@@ -912,7 +912,6 @@ if(USE_SDL_MAINLOOP OR (Audio_TK STREQUA + find_package(SDL) + SET(HAVE_SDL ${SDL_FOUND}) + include_directories(${SDL_INCLUDE_DIR}) +- target_link_libraries(openclonk ${SDL_LIBRARY}) + endif() + + ############################################################################ +@@ -1094,6 +1093,10 @@ target_link_libraries(openclonk + libmisc + ) + ++if (SDL_FOUND) ++ target_link_libraries(openclonk ${SDL_LIBRARY}) ++endif() ++ + if(Audio_FOUND) + target_link_libraries(openclonk ${Audio_LIBRARIES}) + include_directories(${Audio_INCLUDE_DIRS}) Property changes on: head/games/openclonk/files/patch-CMakeLists.txt ___________________________________________________________________ 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