diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-16 07:09:35 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-16 07:09:35 +0800 |
commit | d350629abd06f30b5a2ed9c86fe8414173619937 (patch) | |
tree | 09cdbadb8419f76403469aa07cd332dee1edf779 /games | |
parent | 83a59d3b9c57ed8cede87057f03ed83aca871eeb (diff) | |
download | freebsd-ports-gnome-d350629abd06f30b5a2ed9c86fe8414173619937.tar.gz freebsd-ports-gnome-d350629abd06f30b5a2ed9c86fe8414173619937.tar.zst freebsd-ports-gnome-d350629abd06f30b5a2ed9c86fe8414173619937.zip |
- Switch to options helpers
- Pet portlint
- Regenerate patches with `make makepatch`
Diffstat (limited to 'games')
5 files changed, 14 insertions, 18 deletions
diff --git a/games/openspades/Makefile b/games/openspades/Makefile index 7bfc6a2fe3bb..aeb1eff0d118 100644 --- a/games/openspades/Makefile +++ b/games/openspades/Makefile @@ -19,10 +19,12 @@ BUILD_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick # for building icons LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ libGLEW.so:${PORTSDIR}/graphics/glew +BROKEN_FreeBSD_9= does not build on FreeBSD 9.x + USE_GITHUB= yes GH_ACCOUNT= yvt -USES= compiler:c++11-lib cmake desktop-file-utils +USES= cmake compiler:c++11-lib desktop-file-utils CMAKE_ARGS= -DOPENSPADES_RESOURCES=OFF \ -DOPENSPADES_INSTALL_MAN="man/man6" \ -DOPENSPADES_INSTALL_BINARY="bin" \ @@ -36,12 +38,6 @@ PORTDATA= * OPTIONS_DEFINE= DOCS -.include <bsd.port.pre.mk> - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -BROKEN= doesn't build on pre-10.x -.endif - post-extract: @${MKDIR} ${WRKSRC}/Resources/DevPak @${MV} ${WRKDIR}/*.pak ${WRKSRC}/Resources/DevPak/ @@ -49,4 +45,4 @@ post-extract: post-patch: @${REINPLACE_CMD} -e 's|Xext|${LOCALBASE}/lib/lib&.so|' ${WRKSRC}/Sources/CMakeLists.txt -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/games/openspades/files/patch-CMakeLists.txt b/games/openspades/files/patch-CMakeLists.txt index 9370b7769f15..2aae4d58177d 100644 --- a/games/openspades/files/patch-CMakeLists.txt +++ b/games/openspades/files/patch-CMakeLists.txt @@ -1,5 +1,5 @@ ---- CMakeLists.txt.orig 2014-06-23 15:55:03.000000000 +0400 -+++ CMakeLists.txt 2014-07-30 23:27:27.655286901 +0400 +--- 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") diff --git a/games/openspades/files/patch-Sources__CMakeLists.txt b/games/openspades/files/patch-Sources__CMakeLists.txt index ec1023ccd2ac..24a778f6e074 100644 --- a/games/openspades/files/patch-Sources__CMakeLists.txt +++ b/games/openspades/files/patch-Sources__CMakeLists.txt @@ -1,6 +1,6 @@ ---- Sources/CMakeLists.txt.orig 2014-06-23 15:55:03.000000000 +0400 -+++ Sources/CMakeLists.txt 2014-07-30 23:09:36.981184077 +0400 -@@ -24,9 +24,9 @@ +--- 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) diff --git a/games/openspades/files/patch-Sources__Core__ConcurrentDispatch.cpp b/games/openspades/files/patch-Sources__Core__ConcurrentDispatch.cpp index 7b40b64c4a48..ac8e7d44cac4 100644 --- a/games/openspades/files/patch-Sources__Core__ConcurrentDispatch.cpp +++ b/games/openspades/files/patch-Sources__Core__ConcurrentDispatch.cpp @@ -1,5 +1,5 @@ ---- Sources/Core/ConcurrentDispatch.cpp.orig 2014-06-23 15:55:03.000000000 +0400 -+++ Sources/Core/ConcurrentDispatch.cpp 2014-07-30 23:05:09.324201495 +0400 +--- Sources/Core/ConcurrentDispatch.cpp.orig 2014-06-23 11:55:03 UTC ++++ Sources/Core/ConcurrentDispatch.cpp @@ -38,7 +38,7 @@ #ifndef _MSC_VER #include <unistd.h> @@ -9,7 +9,7 @@ #include <sys/sysinfo.h> #endif #endif -@@ -67,7 +67,7 @@ +@@ -67,7 +67,7 @@ static int GetNumCores() { if(count < 1) { count = 1; } } return count; diff --git a/games/openspades/files/patch-Sources__Draw__SWFeatureLevel.h b/games/openspades/files/patch-Sources__Draw__SWFeatureLevel.h index 945062da9b71..246431d67c00 100644 --- a/games/openspades/files/patch-Sources__Draw__SWFeatureLevel.h +++ b/games/openspades/files/patch-Sources__Draw__SWFeatureLevel.h @@ -1,5 +1,5 @@ ---- Sources/Draw/SWFeatureLevel.h.orig 2014-06-23 15:55:03.000000000 +0400 -+++ Sources/Draw/SWFeatureLevel.h 2014-07-31 00:18:47.036897321 +0400 +--- Sources/Draw/SWFeatureLevel.h.orig 2014-06-23 11:55:03 UTC ++++ Sources/Draw/SWFeatureLevel.h @@ -55,6 +55,7 @@ #endif |