From owner-svn-ports-head@freebsd.org  Sun May 12 11:11:58 2019
Return-Path: <owner-svn-ports-head@freebsd.org>
Delivered-To: svn-ports-head@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 550B11594543;
 Sun, 12 May 2019 11:11:58 +0000 (UTC)
 (envelope-from pkubaj@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id E15316BB69;
 Sun, 12 May 2019 11:11:57 +0000 (UTC)
 (envelope-from pkubaj@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BA7C429CE1;
 Sun, 12 May 2019 11:11:57 +0000 (UTC)
 (envelope-from pkubaj@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4CBBvu2040233;
 Sun, 12 May 2019 11:11:57 GMT (envelope-from pkubaj@FreeBSD.org)
Received: (from pkubaj@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4CBBux4040225;
 Sun, 12 May 2019 11:11:56 GMT (envelope-from pkubaj@FreeBSD.org)
Message-Id: <201905121111.x4CBBux4040225@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to
 pkubaj@FreeBSD.org using -f
From: Piotr Kubaj <pkubaj@FreeBSD.org>
Date: Sun, 12 May 2019 11:11:56 +0000 (UTC)
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
X-SVN-Group: ports-head
X-SVN-Commit-Author: pkubaj
X-SVN-Commit-Paths: in head/games: . fs2open fs2open/files
X-SVN-Commit-Revision: 501374
X-SVN-Commit-Repository: ports
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Rspamd-Queue-Id: E15316BB69
X-Spamd-Bar: --
Authentication-Results: mx1.freebsd.org
X-Spamd-Result: default: False [-2.94 / 15.00];
 local_wl_from(0.00)[FreeBSD.org];
 NEURAL_HAM_MEDIUM(-1.00)[-0.997,0];
 NEURAL_HAM_SHORT(-0.94)[-0.939,0];
 ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]
X-BeenThere: svn-ports-head@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: SVN commit messages for the ports tree for head
 <svn-ports-head.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-head>, 
 <mailto:svn-ports-head-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-head/>
List-Post: <mailto:svn-ports-head@freebsd.org>
List-Help: <mailto:svn-ports-head-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-head>,
 <mailto:svn-ports-head-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 12 May 2019 11:11:58 -0000

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.