From owner-svn-ports-all@freebsd.org Tue Aug 14 19:29:30 2018 Return-Path: Delivered-To: svn-ports-all@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 BEC3410557B2; Tue, 14 Aug 2018 19:29:29 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 73DD283A4C; Tue, 14 Aug 2018 19:29:29 +0000 (UTC) (envelope-from tobik@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 550931FD61; Tue, 14 Aug 2018 19:29:29 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7EJTT82080306; Tue, 14 Aug 2018 19:29:29 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7EJTSmu080300; Tue, 14 Aug 2018 19:29:28 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808141929.w7EJTSmu080300@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Tue, 14 Aug 2018 19:29:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r477198 - in head/games: . barony barony/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/games: . barony barony/files X-SVN-Commit-Revision: 477198 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 19:29:30 -0000 Author: tobik Date: Tue Aug 14 19:29:27 2018 New Revision: 477198 URL: https://svnweb.freebsd.org/changeset/ports/477198 Log: New port: games/barony Barony is a 3D, first-person roguelike. The goal of the game is to descend to the bottom of a dark dungeon known as the Devil's Bastion and destroy an undead lich named Baron Herx, who terrorized the peaceful town of Hamlet in life and is now harboring a curse against the land from beyond the grave. To aid you in your quest are friendly humans who have been eeking out a rough life within the dungeon for generations, as well as any friends you can bring with you in real life: Barony is the first of its kind as a first-person roguelike in that it fully supports cooperative multiplayer for up to four players. WWW: http://www.baronygame.com/ PR: 227353 Submitted by: David Carlier Reviewed by: amdmi3, jbeich, tobik Differential Revision: https://reviews.freebsd.org/D15310 Added: head/games/barony/ head/games/barony/Makefile (contents, props changed) head/games/barony/distinfo (contents, props changed) head/games/barony/files/ head/games/barony/files/barony.sh.in (contents, props changed) head/games/barony/files/patch-CMakeLists.txt (contents, props changed) head/games/barony/files/pkg-message.in (contents, props changed) head/games/barony/pkg-descr (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Tue Aug 14 19:08:38 2018 (r477197) +++ head/games/Makefile Tue Aug 14 19:29:27 2018 (r477198) @@ -74,6 +74,7 @@ SUBDIR += ballerburg SUBDIR += banihstypos SUBDIR += barbie_seahorse_adventures + SUBDIR += barony SUBDIR += barrage SUBDIR += bass SUBDIR += bastet Added: head/games/barony/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/barony/Makefile Tue Aug 14 19:29:27 2018 (r477198) @@ -0,0 +1,42 @@ +# $FreeBSD$ + +PORTNAME= barony +DISTVERSIONPREFIX= v +DISTVERSION= 3.1.4 +CATEGORIES= games + +MAINTAINER= devnexen@gmail.com +COMMENT= 3D roguelike game + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/GPL.3.0.txt + +LIB_DEPENDS= libogg.so:audio/libogg \ + libpng.so:graphics/png \ + libvorbisfile.so:audio/libvorbis + +USES= cmake compiler:c++11-lib openal localbase:ldflags pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= TurningWheel +GH_PROJECT= Barony +USE_GL= gl glu +USE_SDL= sdl2 image2 net2 ttf2 + +CMAKE_ON= OPENAL_ENABLED DATA_DIR +CMAKE_ARGS= -DEDITOR_EXE_NAME:STRING="barony-editor" +LDFLAGS+= -Wl,--as-needed +LLD_UNSAFE= yes # cf. PR 226980 + +SUB_FILES= barony.sh pkg-message + +PLIST_FILES= bin/barony \ + bin/barony-editor \ + libexec/barony \ + ${DATADIR}/lang/en.ttf \ + ${DATADIR}/lang/en.txt + +post-install: + ${MV} ${STAGEDIR}${PREFIX}/bin/barony ${STAGEDIR}${PREFIX}/libexec + ${INSTALL_SCRIPT} ${WRKDIR}/barony.sh ${STAGEDIR}${PREFIX}/bin/barony + +.include Added: head/games/barony/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/barony/distinfo Tue Aug 14 19:29:27 2018 (r477198) @@ -0,0 +1,3 @@ +TIMESTAMP = 1524914514 +SHA256 (TurningWheel-Barony-v3.1.4_GH0.tar.gz) = bcf7522636a2dc21fdda47114f8d9c0eec78ca2c41613e896310e6110fbf04c4 +SIZE (TurningWheel-Barony-v3.1.4_GH0.tar.gz) = 53299453 Added: head/games/barony/files/barony.sh.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/barony/files/barony.sh.in Tue Aug 14 19:29:27 2018 (r477198) @@ -0,0 +1,6 @@ +#!/bin/sh + +# Temporary solution until the next version +mkdir -p ~/.barony +cd ~/.barony || { echo "Can't cd into ~/.barony" >&2; exit 1; } +exec %%PREFIX%%/libexec/barony "$@" Added: head/games/barony/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/barony/files/patch-CMakeLists.txt Tue Aug 14 19:29:27 2018 (r477198) @@ -0,0 +1,12 @@ +--- CMakeLists.txt.orig 2018-08-14 17:54:04 UTC ++++ CMakeLists.txt +@@ -64,8 +64,7 @@ if( NOT WIN32 ) + set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -pg -ffast-math -funroll-loops -fstrict-aliasing") + #set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -pg -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined -fno-sanitize-recover -Wreturn-type -Werror=return-type") + set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -pg") +- set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3 -ffast-math -funroll-loops -fstrict-aliasing") +- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3") ++ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -ffast-math -funroll-loops -fstrict-aliasing") + endif() + if (APPLE) + set (Apple 1) Added: head/games/barony/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/barony/files/pkg-message.in Tue Aug 14 19:29:27 2018 (r477198) @@ -0,0 +1,25 @@ +Barony requires the original game files from Barony: Blessed Edition +(e.g. 3.1.x) to work properly. These can come from the GOG.com +or the Steam versions of the game. + +If using the GOG.com version, you should download the Linux version +barony_cursed_edition_en_3_1_4_20342.sh and use the unzip command +line to extract the data. + +The files will be in a directory named data/noarch/game. You can +move the contents of this directory to the %%DATADIR%% +directory for a global install. You will also need to fix the +permissions on the files. + +The easiest way to do this is to follow these steps: + +$ unzip barony_cursed_edition_en_3_1_4_20342.sh +$ sudo cp -R data/noarch/game/* %%DATADIR%% +$ sudo find %%DATADIR%% -type d ! -perm 755 -exec chmod 755 {} \; + +As an alternative, the game assets can be placed into a personal folder +of your choice and the game can be launched with the -datadir= option, +for example: +$ barony -datadir=$HOME/.barony + +You do not have to fix file permissions in this case. Added: head/games/barony/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/barony/pkg-descr Tue Aug 14 19:29:27 2018 (r477198) @@ -0,0 +1,12 @@ +Barony is a 3D, first-person roguelike. The goal of the game is +to descend to the bottom of a dark dungeon known as the Devil's +Bastion and destroy an undead lich named Baron Herx, who terrorized +the peaceful town of Hamlet in life and is now harboring a curse +against the land from beyond the grave. To aid you in your quest +are friendly humans who have been eeking out a rough life within +the dungeon for generations, as well as any friends you can bring +with you in real life: Barony is the first of its kind as a +first-person roguelike in that it fully supports cooperative +multiplayer for up to four players. + +WWW: http://www.baronygame.com/