mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Switch to options helpers
- Pet portlint - Regenerate patches with `make makepatch`
This commit is contained in:
parent
9a793d9ca9
commit
2aa3b4c7e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397028
@ -19,10 +19,12 @@ BUILD_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick # for building icons
|
|||||||
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
|
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
|
||||||
libGLEW.so:${PORTSDIR}/graphics/glew
|
libGLEW.so:${PORTSDIR}/graphics/glew
|
||||||
|
|
||||||
|
BROKEN_FreeBSD_9= does not build on FreeBSD 9.x
|
||||||
|
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= yvt
|
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 \
|
CMAKE_ARGS= -DOPENSPADES_RESOURCES=OFF \
|
||||||
-DOPENSPADES_INSTALL_MAN="man/man6" \
|
-DOPENSPADES_INSTALL_MAN="man/man6" \
|
||||||
-DOPENSPADES_INSTALL_BINARY="bin" \
|
-DOPENSPADES_INSTALL_BINARY="bin" \
|
||||||
@ -36,12 +38,6 @@ PORTDATA= *
|
|||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
|
|
||||||
BROKEN= doesn't build on pre-10.x
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
@${MKDIR} ${WRKSRC}/Resources/DevPak
|
@${MKDIR} ${WRKSRC}/Resources/DevPak
|
||||||
@${MV} ${WRKDIR}/*.pak ${WRKSRC}/Resources/DevPak/
|
@${MV} ${WRKDIR}/*.pak ${WRKSRC}/Resources/DevPak/
|
||||||
@ -49,4 +45,4 @@ post-extract:
|
|||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|Xext|${LOCALBASE}/lib/lib&.so|' ${WRKSRC}/Sources/CMakeLists.txt
|
@${REINPLACE_CMD} -e 's|Xext|${LOCALBASE}/lib/lib&.so|' ${WRKSRC}/Sources/CMakeLists.txt
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
--- CMakeLists.txt.orig 2014-06-23 15:55:03.000000000 +0400
|
--- CMakeLists.txt.orig 2014-06-23 11:55:03 UTC
|
||||||
+++ CMakeLists.txt 2014-07-30 23:27:27.655286901 +0400
|
+++ CMakeLists.txt
|
||||||
@@ -1,5 +1,4 @@
|
@@ -1,5 +1,4 @@
|
||||||
cmake_minimum_required(VERSION 2.8)
|
cmake_minimum_required(VERSION 2.8)
|
||||||
-set(CMAKE_INSTALL_PREFIX "/usr/local")
|
-set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- Sources/CMakeLists.txt.orig 2014-06-23 15:55:03.000000000 +0400
|
--- Sources/CMakeLists.txt.orig 2014-06-23 11:55:03 UTC
|
||||||
+++ Sources/CMakeLists.txt 2014-07-30 23:09:36.981184077 +0400
|
+++ Sources/CMakeLists.txt
|
||||||
@@ -24,9 +24,9 @@
|
@@ -24,9 +24,9 @@ add_subdirectory(AngelScript/projects/cm
|
||||||
add_subdirectory(AngelScript/projects/cmake_addons)
|
add_subdirectory(AngelScript/projects/cmake_addons)
|
||||||
set(ANGELSCRIPT_LIBS Angelscript Angelscript_addons)
|
set(ANGELSCRIPT_LIBS Angelscript Angelscript_addons)
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
--- Sources/Core/ConcurrentDispatch.cpp.orig 2014-06-23 15:55:03.000000000 +0400
|
--- Sources/Core/ConcurrentDispatch.cpp.orig 2014-06-23 11:55:03 UTC
|
||||||
+++ Sources/Core/ConcurrentDispatch.cpp 2014-07-30 23:05:09.324201495 +0400
|
+++ Sources/Core/ConcurrentDispatch.cpp
|
||||||
@@ -38,7 +38,7 @@
|
@@ -38,7 +38,7 @@
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
@ -9,7 +9,7 @@
|
|||||||
#include <sys/sysinfo.h>
|
#include <sys/sysinfo.h>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
@@ -67,7 +67,7 @@
|
@@ -67,7 +67,7 @@ static int GetNumCores() {
|
||||||
if(count < 1) { count = 1; }
|
if(count < 1) { count = 1; }
|
||||||
}
|
}
|
||||||
return count;
|
return count;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
--- Sources/Draw/SWFeatureLevel.h.orig 2014-06-23 15:55:03.000000000 +0400
|
--- Sources/Draw/SWFeatureLevel.h.orig 2014-06-23 11:55:03 UTC
|
||||||
+++ Sources/Draw/SWFeatureLevel.h 2014-07-31 00:18:47.036897321 +0400
|
+++ Sources/Draw/SWFeatureLevel.h
|
||||||
@@ -55,6 +55,7 @@
|
@@ -55,6 +55,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user