From owner-svn-ports-all@freebsd.org Tue Dec 25 08:27:43 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 4FD9B134728F; Tue, 25 Dec 2018 08:27:43 +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.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 E4C436AC8C; Tue, 25 Dec 2018 08:27:42 +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 D970599A5; Tue, 25 Dec 2018 08:27:42 +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 wBP8RgIP079541; Tue, 25 Dec 2018 08:27:42 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBP8Rfbi079530; Tue, 25 Dec 2018 08:27:41 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201812250827.wBP8Rfbi079530@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Tue, 25 Dec 2018 08:27:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488302 - in head/games: . dxx-rebirth dxx-rebirth/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/games: . dxx-rebirth dxx-rebirth/files X-SVN-Commit-Revision: 488302 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E4C436AC8C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.97)[-0.974,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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, 25 Dec 2018 08:27:43 -0000 Author: tobik Date: Tue Dec 25 08:27:40 2018 New Revision: 488302 URL: https://svnweb.freebsd.org/changeset/ports/488302 Log: New port: games/dxx-rebirth DXX-Rebirth is a source port of the Descent and Descent 2 engines for Windows, Mac OS, Linux (most *NIX systems), offering OpenGL graphics and effects, advanced multiplayer, many improvements and new features. Descent and Descent 2 are pretty old games so you usually run into problems running it on more recent hardware and operating systems. DXX-Rebirth will also take care about this for you. WWW: https://www.dxx-rebirth.com/ PR: 233755 Submitted by: pkubaj@anongoth.pl Added: head/games/dxx-rebirth/ head/games/dxx-rebirth/Makefile (contents, props changed) head/games/dxx-rebirth/distinfo (contents, props changed) head/games/dxx-rebirth/files/ head/games/dxx-rebirth/files/patch-SConstruct (contents, props changed) head/games/dxx-rebirth/files/patch-similar_editor_med.cpp (contents, props changed) head/games/dxx-rebirth/files/patch-similar_main_inferno.cpp (contents, props changed) head/games/dxx-rebirth/pkg-descr (contents, props changed) head/games/dxx-rebirth/pkg-message (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Tue Dec 25 08:24:15 2018 (r488301) +++ head/games/Makefile Tue Dec 25 08:27:40 2018 (r488302) @@ -229,6 +229,7 @@ SUBDIR += dungeon SUBDIR += dungeoncrawl SUBDIR += dustrac + SUBDIR += dxx-rebirth SUBDIR += easyrpg-player SUBDIR += eboard SUBDIR += edge Added: head/games/dxx-rebirth/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dxx-rebirth/Makefile Tue Dec 25 08:27:40 2018 (r488302) @@ -0,0 +1,36 @@ +# Created by: Piotr Kubaj +# $FreeBSD$ + +PORTNAME= dxx-rebirth +DISTVERSION= 0.60.0-beta2 +CATEGORIES= games +MASTER_SITES= https://www.dxx-rebirth.com/download/dxx/user/afuturepilot/ +EXTRACT_SUFX= -git.tar.gz + +MAINTAINER= pkubaj@anongoth.pl +COMMENT= Open source port of Descent and Descent 2 + +LICENSE= GPLv3 PARALLAX +LICENSE_COMB= multi +LICENSE_NAME_PARALLAX= original Parallax license +LICENSE_FILE_GPLv3= ${WRKSRC}/GPL-3.txt +LICENSE_FILE_PARALLAX= ${WRKSRC}/COPYING.txt +LICENSE_PERMS_PARALLAX= dist-mirror pkg-mirror auto-accept + +LIB_DEPENDS= libphysfs.so:devel/physfs \ + libpng.so:graphics/png + +USES= compiler:c++14-lang localbase:ldflags gl pkgconfig scons +USE_GL= gl glu +USE_SDL= mixer sdl + +MAKE_ARGS= ignore_unknown_variables=1 + +PLIST_FILES= bin/d1x-rebirth \ + bin/d2x-rebirth + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/d1x-rebirth \ + ${STAGEDIR}${PREFIX}/bin/d2x-rebirth + +.include Added: head/games/dxx-rebirth/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dxx-rebirth/distinfo Tue Dec 25 08:27:40 2018 (r488302) @@ -0,0 +1,3 @@ +TIMESTAMP = 1542814122 +SHA256 (dxx-rebirth-0.60.0-beta2-git.tar.gz) = 1e684f98c3f2e44407617dd014964d73637d1f6893327b583f282da944227c6a +SIZE (dxx-rebirth-0.60.0-beta2-git.tar.gz) = 1873282 Added: head/games/dxx-rebirth/files/patch-SConstruct ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dxx-rebirth/files/patch-SConstruct Tue Dec 25 08:27:40 2018 (r488302) @@ -0,0 +1,11 @@ +--- SConstruct.orig 2018-11-21 15:51:35 UTC ++++ SConstruct +@@ -3502,7 +3502,7 @@ class DXXCommon(LazyObjectConstructor): + 'variable': EnumVariable, + 'arguments': ( + ('host_endian', None, 'endianness of host platform', {'allowed_values' : ('little', 'big')}), +- ('host_platform', sys.platform.rstrip('0123456789'), 'cross-compile to specified platform', {'allowed_values' : ('darwin', 'linux', 'openbsd', 'win32')}), ++ ('host_platform', sys.platform.rstrip('0123456789'), 'cross-compile to specified platform', {'allowed_values' : ('darwin', 'linux', 'freebsd', 'openbsd', 'win32')}), + ('screenshot', 'png', 'screenshot file format', {'allowed_values' : ('legacy', 'png')}), + ), + }, Added: head/games/dxx-rebirth/files/patch-similar_editor_med.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dxx-rebirth/files/patch-similar_editor_med.cpp Tue Dec 25 08:27:40 2018 (r488302) @@ -0,0 +1,11 @@ +--- similar/editor/med.cpp.orig 2018-11-21 18:28:30 UTC ++++ similar/editor/med.cpp +@@ -891,7 +891,7 @@ static void close_editor() + { + // _MARK_("end of editor");//Nuked to compile -KRB + +-#if !defined(__linux__) && !defined(__OpenBSD__) ++#if !defined(__linux__) && !defined(__OpenBSD__) && !defined(__FreeBSD__) + set_warn_func(msgbox_warning); + #else + clear_warn_func(); Added: head/games/dxx-rebirth/files/patch-similar_main_inferno.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dxx-rebirth/files/patch-similar_main_inferno.cpp Tue Dec 25 08:27:40 2018 (r488302) @@ -0,0 +1,11 @@ +--- similar/main/inferno.cpp.orig 2018-11-21 18:29:50 UTC ++++ similar/main/inferno.cpp +@@ -679,7 +679,7 @@ static int main(int argc, char *argv[]) + int main(int argc, char *argv[]) + { + mem_init(); +-#if defined(__linux__) || defined(__OpenBSD__) ++#if defined(__linux__) || defined(__OpenBSD__) || defined(__FreeBSD__) + #if DXX_WORDS_NEED_ALIGNMENT + prctl(PR_SET_UNALIGN, PR_UNALIGN_NOPRINT, 0, 0, 0); + #endif Added: head/games/dxx-rebirth/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dxx-rebirth/pkg-descr Tue Dec 25 08:27:40 2018 (r488302) @@ -0,0 +1,10 @@ +DXX-Rebirth is a source port of the Descent and Descent 2 engines +for Windows, Mac OS, Linux (most *NIX systems), offering OpenGL +graphics and effects, advanced multiplayer, many improvements and +new features. + +Descent and Descent 2 are pretty old games so you usually run into +problems running it on more recent hardware and operating systems. +DXX-Rebirth will also take care about this for you. + +WWW: https://www.dxx-rebirth.com/ Added: head/games/dxx-rebirth/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dxx-rebirth/pkg-message Tue Dec 25 08:27:40 2018 (r488302) @@ -0,0 +1,22 @@ +dxx-rebirth requires the original game files from Descent I and/or +Descent II to work properly. These can come from an original CD or from +GOG.com. + +If using the GOG.com version of Descent I, you must extract the files +from setup_descent_1.4a_(16596).exe using the innoextract package. + +You can install it with "pkg install innoextract" or +"portmaster archivers/innoextract". + +The files will be in a directory named app. You must move the contents +of this directory to a directory named ~/.d1x-rebirth/Data + +The eaisest way to do this is to follow these steps: +$ mkdir -p ~/.d1x-rebirth/Data +$ cp -R app/* ~/.d1x-rebirth/Data + +You can then delete everything extracted from the exe. + +If you own the GOG.com version of Descent II, follow the above steps +with the setup_descent_2_1.1_(16596).exe file and using +~/.d2x-rebirth/Data as the directory name.