Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2019 11:11:56 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r501374 - in head/games: . fs2open fs2open/files
Message-ID:  <201905121111.x4CBBux4040225@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sun May 12 11:11:55 2019
New Revision: 501374
URL: https://svnweb.freebsd.org/changeset/ports/501374

Log:
  FS2Open is an open source port for Windows, OS X and Linux. It features
  improved graphics, mod support, mutli-platform support, improved mission
  scripting, lua scripting, optimizations, and various bug fixes.
  
  WWW: http://scp.indiegames.us
  
  PR:		229321
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D19953

Added:
  head/games/fs2open/
  head/games/fs2open/Makefile   (contents, props changed)
  head/games/fs2open/distinfo   (contents, props changed)
  head/games/fs2open/files/
  head/games/fs2open/files/patch-cmake_toolchain-clang.cmake   (contents, props changed)
  head/games/fs2open/files/patch-cmake_toolchain-gcc.cmake   (contents, props changed)
  head/games/fs2open/files/patch-freespace2_CMakeLists.txt   (contents, props changed)
  head/games/fs2open/pkg-descr   (contents, props changed)
  head/games/fs2open/pkg-message   (contents, props changed)
Modified:
  head/games/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Sun May 12 11:02:42 2019	(r501373)
+++ head/games/Makefile	Sun May 12 11:11:55 2019	(r501374)
@@ -308,6 +308,7 @@
     SUBDIR += frogatto
     SUBDIR += frotz
     SUBDIR += frozen-bubble
+    SUBDIR += fs2open
     SUBDIR += fteqw
     SUBDIR += funnyboat
     SUBDIR += galaxis

Added: head/games/fs2open/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/fs2open/Makefile	Sun May 12 11:11:55 2019	(r501374)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME=	fs2open
+DISTVERSIONPREFIX=	release_
+DISTVERSION=	3_8_0
+CATEGORIES=	games
+
+MAINTAINER=	pkubaj@FreeBSD.org
+COMMENT=	Open source video engine of FreeSpace 2
+
+LICENSE=	VOLITION
+LICENSE_NAME=	Volition Copyright
+LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE_PERMS=	dist-mirror auto-accept
+
+LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg \
+		libpng16.so:graphics/png
+
+USES=		cmake compiler:c++11-lang lua:51 jpeg openal pkgconfig sdl
+USE_GITHUB=	yes
+GH_ACCOUNT=	scp-fs2open
+GH_PROJECT=	fs2open.github.com
+GH_TUPLE=	asarium:cmake-modules:7cef957:cmakemodules/cmake/external/rpavlik-cmake-modules \
+		sakra:cotire:40a46bf:cotire/cmake/external/cotire
+USE_SDL=	sdl2
+
+CMAKE_ON=	CMAKE_DISABLE_FIND_PACKAGE_Doxygen
+
+PLIST_FILES=	bin/fs2_open
+
+do-install:
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bin/fs2_open \
+		${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>

Added: head/games/fs2open/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/fs2open/distinfo	Sun May 12 11:11:55 2019	(r501374)
@@ -0,0 +1,7 @@
+TIMESTAMP = 1556835470
+SHA256 (scp-fs2open-fs2open.github.com-release_3_8_0_GH0.tar.gz) = c932d86daa2fe3dedf533a8904ed0cc9916bfe8ccf8e1cffcc20911a88d36457
+SIZE (scp-fs2open-fs2open.github.com-release_3_8_0_GH0.tar.gz) = 8711455
+SHA256 (asarium-cmake-modules-7cef957_GH0.tar.gz) = 5d1e7954bb92c61c1509ad0bb0d2274af4863621dc864199aac85c2d43921c0e
+SIZE (asarium-cmake-modules-7cef957_GH0.tar.gz) = 267299
+SHA256 (sakra-cotire-40a46bf_GH0.tar.gz) = f58794a6c7fa639c6797083a56fc21df0a94cc689c881bf6e3f50439ad313d58
+SIZE (sakra-cotire-40a46bf_GH0.tar.gz) = 62758

Added: head/games/fs2open/files/patch-cmake_toolchain-clang.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/fs2open/files/patch-cmake_toolchain-clang.cmake	Sun May 12 11:11:55 2019	(r501374)
@@ -0,0 +1,11 @@
+--- cmake/toolchain-clang.cmake.orig	2018-06-24 19:14:21 UTC
++++ cmake/toolchain-clang.cmake
+@@ -80,7 +80,7 @@ if(SUPPORTS_SHIFT_NEGATIVE_VALUE)
+ 	set(COMPILER_FLAGS "${COMPILER_FLAGS} -Wno-shift-negative-value")
+ endif()
+ 
+-set(COMPILER_FLAGS_RELEASE "-O2 -Wno-unused-variable")
++set(COMPILER_FLAGS_RELEASE "-Wno-unused-variable")
+ 
+ set(COMPILER_FLAGS_DEBUG "-O0 -g -Wshadow")
+ 

Added: head/games/fs2open/files/patch-cmake_toolchain-gcc.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/fs2open/files/patch-cmake_toolchain-gcc.cmake	Sun May 12 11:11:55 2019	(r501374)
@@ -0,0 +1,11 @@
+--- cmake/toolchain-gcc.cmake.orig	2018-06-24 19:15:11 UTC
++++ cmake/toolchain-gcc.cmake
+@@ -87,7 +87,7 @@ set(COMPILER_FLAGS "${COMPILER_FLAGS} -W
+ 
+ set(COMPILER_FLAGS "${COMPILER_FLAGS} -Wno-unused-parameter")
+ 
+-set(COMPILER_FLAGS_RELEASE "-O2 -Wno-unused-variable -Wno-unused-but-set-variable -Wno-array-bounds -Wno-empty-body -Wno-clobbered")
++set(COMPILER_FLAGS_RELEASE "-Wno-unused-variable -Wno-unused-but-set-variable -Wno-array-bounds -Wno-empty-body -Wno-clobbered")
+ 
+ set(COMPILER_FLAGS_DEBUG "-O0 -g -Wshadow")
+ 

Added: head/games/fs2open/files/patch-freespace2_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/fs2open/files/patch-freespace2_CMakeLists.txt	Sun May 12 11:11:55 2019	(r501374)
@@ -0,0 +1,11 @@
+--- freespace2/CMakeLists.txt.orig	2018-06-24 19:15:59 UTC
++++ freespace2/CMakeLists.txt
+@@ -23,7 +23,7 @@ ADD_EXECUTABLE(Freespace2 ${EXE_GUI_TYPE
+ 
+ include(resources.cmake)
+ 
+-SET_TARGET_PROPERTIES(Freespace2 PROPERTIES OUTPUT_NAME "fs2_open_${FSO_BINARY_SUFFIX}")
++SET_TARGET_PROPERTIES(Freespace2 PROPERTIES OUTPUT_NAME "fs2_open")
+ 
+ TARGET_LINK_LIBRARIES(Freespace2 code)
+ TARGET_LINK_LIBRARIES(Freespace2 platform)

Added: head/games/fs2open/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/fs2open/pkg-descr	Sun May 12 11:11:55 2019	(r501374)
@@ -0,0 +1,5 @@
+FS2Open is an open source port for Windows, OS X and Linux. It features
+improved graphics, mod support, mutli-platform support, improved mission
+scripting, lua scripting, optimizations, and various bug fixes.
+
+WWW: http://scp.indiegames.us

Added: head/games/fs2open/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/fs2open/pkg-message	Sun May 12 11:11:55 2019	(r501374)
@@ -0,0 +1,2 @@
+To play this game, you need to cd to the directory with the game files
+and run fs2_open.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905121111.x4CBBux4040225>