Index: head/games/openspades/Makefile =================================================================== --- head/games/openspades/Makefile (revision 512357) +++ head/games/openspades/Makefile (revision 512358) @@ -1,52 +1,54 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= openspades PORTVERSION= 0.1.3 PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= games 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= amd64 powerpc64 ONLY_FOR_ARCHS_REASON= bundles non-portable AngelScript BUILD_DEPENDS= convert:graphics/ImageMagick6 # for building icons LIB_DEPENDS= libcurl.so:ftp/curl \ libopusfile.so:audio/opusfile USE_GITHUB= yes GH_ACCOUNT= yvt -USES= cmake:insource compiler:c++11-lib desktop-file-utils gl gnome openal +USES= cmake:insource compiler:c++11-lib desktop-file-utils dos2unix \ + gl gnome openal sdl xorg CMAKE_ARGS= -DOPENSPADES_RESOURCES=OFF \ -DOPENSPADES_INSTALL_MAN="man/man6" \ -DOPENSPADES_INSTALL_BINARY="bin" \ -DOPENSPADES_INSTALL_RESOURCES="${DATADIR_REL}" +DOS2UNIX_FILES= Sources/AngelScript/source/as_config.h USE_SDL= sdl2 image2 USE_GL= gl glew INSTALLS_ICONS= yes PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-extract: @${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/files/patch-Sources_AngelScript_source_as__config.h =================================================================== --- head/games/openspades/files/patch-Sources_AngelScript_source_as__config.h (nonexistent) +++ head/games/openspades/files/patch-Sources_AngelScript_source_as__config.h (revision 512358) @@ -0,0 +1,11 @@ +--- Sources/AngelScript/source/as_config.h.orig 2019-09-17 11:18:51 UTC ++++ Sources/AngelScript/source/as_config.h +@@ -947,6 +947,8 @@ + #define COMPLEX_RETURN_MASK (asOBJ_APP_CLASS_DESTRUCTOR | asOBJ_APP_CLASS_COPY_CONSTRUCTOR | asOBJ_APP_ARRAY) + #define THISCALL_PASS_OBJECT_POINTER_ON_THE_STACK + #define AS_X86 ++ #elif defined(__powerpc64__) ++ #define AS_MAX_PORTABILITY + #elif defined(__LP64__) + #define AS_X64_GCC + #define HAS_128_BIT_PRIMITIVES Property changes on: head/games/openspades/files/patch-Sources_AngelScript_source_as__config.h ___________________________________________________________________ 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