Index: head/games/openspades/files/patch-Sources__Core__ConcurrentDispatch.cpp =================================================================== --- head/games/openspades/files/patch-Sources__Core__ConcurrentDispatch.cpp (revision 490010) +++ head/games/openspades/files/patch-Sources__Core__ConcurrentDispatch.cpp (nonexistent) @@ -1,20 +0,0 @@ ---- Sources/Core/ConcurrentDispatch.cpp.orig 2014-06-23 11:55:03 UTC -+++ Sources/Core/ConcurrentDispatch.cpp -@@ -38,7 +38,7 @@ - #ifndef _MSC_VER - #include - #endif --#if defined(__GNUC__) -+#if defined(__linux__) - #include - #endif - #endif -@@ -67,7 +67,7 @@ static int GetNumCores() { - if(count < 1) { count = 1; } - } - return count; --#elif defined(__GNUC__) -+#elif defined(__linux__) - return get_nprocs(); - #else - return sysconf(_SC_NPROCESSORS_ONLN); Property changes on: head/games/openspades/files/patch-Sources__Core__ConcurrentDispatch.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/openspades/files/patch-CMakeLists.txt =================================================================== --- head/games/openspades/files/patch-CMakeLists.txt (revision 490010) +++ head/games/openspades/files/patch-CMakeLists.txt (nonexistent) @@ -1,8 +0,0 @@ ---- CMakeLists.txt.orig 2014-06-23 11:55:03 UTC -+++ CMakeLists.txt -@@ -1,5 +1,4 @@ - cmake_minimum_required(VERSION 2.8) --set(CMAKE_INSTALL_PREFIX "/usr/local") - project(OpenSpades) - - set(OpenSpades_VERSION_MAJOR 0) Property changes on: head/games/openspades/files/patch-CMakeLists.txt ___________________________________________________________________ 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/openspades/files/patch-Sources__Draw__SWFeatureLevel.h =================================================================== --- head/games/openspades/files/patch-Sources__Draw__SWFeatureLevel.h (revision 490010) +++ head/games/openspades/files/patch-Sources__Draw__SWFeatureLevel.h (nonexistent) @@ -1,10 +0,0 @@ ---- Sources/Draw/SWFeatureLevel.h.orig 2014-06-23 11:55:03 UTC -+++ Sources/Draw/SWFeatureLevel.h -@@ -55,6 +55,7 @@ - #endif - - #include -+#include - #include - #include - Property changes on: head/games/openspades/files/patch-Sources__Draw__SWFeatureLevel.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/openspades/files/patch-Sources__CMakeLists.txt =================================================================== --- head/games/openspades/files/patch-Sources__CMakeLists.txt (revision 490010) +++ head/games/openspades/files/patch-Sources__CMakeLists.txt (nonexistent) @@ -1,15 +0,0 @@ ---- Sources/CMakeLists.txt.orig 2014-06-23 11:55:03 UTC -+++ Sources/CMakeLists.txt -@@ -24,9 +24,9 @@ add_subdirectory(AngelScript/projects/cm - add_subdirectory(AngelScript/projects/cmake_addons) - set(ANGELSCRIPT_LIBS Angelscript Angelscript_addons) - --include_directories(".") --include_directories("json/include") --include_directories("ENet/include") -+include_directories(BEFORE ".") -+include_directories(BEFORE "json/include") -+include_directories(BEFORE "ENet/include") - - if(WIN32) - if(MINGW) # = gcc, can someone confirm that this works? Property changes on: head/games/openspades/files/patch-Sources__CMakeLists.txt ___________________________________________________________________ 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/openspades/Makefile =================================================================== --- head/games/openspades/Makefile (revision 490010) +++ head/games/openspades/Makefile (revision 490011) @@ -1,48 +1,51 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= openspades -PORTVERSION= 0.0.12 +PORTVERSION= 0.1.2 DISTVERSIONPREFIX= v -PORTREVISION= 8 CATEGORIES= games -MASTER_SITES= http://yvt.jp/files/programs/osppaks/:data -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} DevPaks27.zip:data +MASTER_SITES= https://github.com/yvt/openspades-paks/releases/download/r33/:data +DISTFILES= OpenSpadesDevPackage-r33.zip:data MAINTAINER= amdmi3@FreeBSD.org COMMENT= Compatible client of Ace of Spades LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE +ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS_REASON= bundles non-portable AngelScript + BUILD_DEPENDS= convert:graphics/ImageMagick6 # for building icons -LIB_DEPENDS= libcurl.so:ftp/curl +LIB_DEPENDS= libcurl.so:ftp/curl \ + libopusfile.so:audio/opusfile -BROKEN_aarch64= fails to compile: uses x86 assembly -BROKEN_powerpc64= fails to compile: uses x86 assembly - USE_GITHUB= yes GH_ACCOUNT= yvt -USES= cmake:insource compiler:c++11-lib desktop-file-utils +USES= cmake:insource compiler:c++11-lib desktop-file-utils gl gnome openal CMAKE_ARGS= -DOPENSPADES_RESOURCES=OFF \ -DOPENSPADES_INSTALL_MAN="man/man6" \ -DOPENSPADES_INSTALL_BINARY="bin" \ -DOPENSPADES_INSTALL_RESOURCES="${DATADIR_REL}" USE_SDL= sdl2 image2 USE_GL= gl glew INSTALLS_ICONS= yes PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-extract: - @${MKDIR} ${WRKSRC}/Resources/DevPak - @${MV} ${WRKDIR}/*.pak ${WRKSRC}/Resources/DevPak/ + @${MV} ${WRKDIR}/Nonfree/*.pak ${WRKDIR}/OfficialMods/*.pak \ + ${WRKSRC}/Resources/ post-patch: @${REINPLACE_CMD} -e 's|Xext|${LOCALBASE}/lib/lib&.so|' ${WRKSRC}/Sources/CMakeLists.txt + +post-install: + cd ${WRKSRC}/Resources/ && ${COPYTREE_SHARE} "Gfx Locales Maps Models PackageInfo.json Scripts Shaders Sounds Textures *.pak" ${STAGEDIR}${DATADIR} .include Index: head/games/openspades/distinfo =================================================================== --- head/games/openspades/distinfo (revision 490010) +++ head/games/openspades/distinfo (revision 490011) @@ -1,4 +1,5 @@ -SHA256 (yvt-openspades-v0.0.12_GH0.tar.gz) = f5778f12cf42c46b14ed8decb0a312998839ea9f7927058fb919a3c9182248a9 -SIZE (yvt-openspades-v0.0.12_GH0.tar.gz) = 1984521 -SHA256 (DevPaks27.zip) = 668b62d3770f407447e6f45df28928f66a7fe3440c541788f66583f31ae5c717 -SIZE (DevPaks27.zip) = 19597524 +TIMESTAMP = 1521997974 +SHA256 (yvt-openspades-v0.1.2_GH0.tar.gz) = f4947232eded073469d07935783786efd70e7d73e615326dbb66676c4e8724a8 +SIZE (yvt-openspades-v0.1.2_GH0.tar.gz) = 7474808 +SHA256 (OpenSpadesDevPackage-r33.zip) = 0927dc323a0b3aba0ee8d1d68d6b544b00fe654740fead6d1faad37aac77a2ad +SIZE (OpenSpadesDevPackage-r33.zip) = 4036321 Index: head/games/openspades/pkg-descr =================================================================== --- head/games/openspades/pkg-descr (revision 490010) +++ head/games/openspades/pkg-descr (revision 490011) @@ -1,7 +1,7 @@ OpenSpades is a compatible client of Ace of Spades 0.75. * Can connect to a vanilla/pyspades/pysnip server. * Uses OpenGL/AL for better visuals. * Open source, and cross platform. -WWW: http://www.openspades.org/ +WWW: http://openspades.yvt.jp/