--- games/dxx-rebirth/Makefile (nonexistent) +++ games/dxx-rebirth/Makefile (working copy) @@ -0,0 +1,37 @@ +# 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/ +DISTVERSIONSUFFIX= -git + +MAINTAINER= pkubaj@anongoth.pl +COMMENT= Open source of Descent and Descent 2 + +LICENSE= GPLv3 PARALLAX +LICENSE_COMB= multi +LICENSE_NAME_PARALLAX= original Parallax license +LICENSE_FILE_PARALLAX= ${WRKSRC}/COPYING.txt +LICENSE_FILE_GPLv3= ${WRKSRC}/GPL-3.txt +LICENSE_PERMS_PARALLAX= dist-mirror pkg-mirror auto-accept + +LIB_DEPENDS= libphysfs.so:devel/physfs \ + libpng.so:graphics/png + +USES= localbase:ldflags gl pkgconfig scons +USE_GL= gl glu +USE_SDL= mixer sdl + +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} + +#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 --- games/dxx-rebirth/distinfo (nonexistent) +++ games/dxx-rebirth/distinfo (working copy) @@ -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 --- games/dxx-rebirth/files/patch-SConstruct (nonexistent) +++ games/dxx-rebirth/files/patch-SConstruct (working copy) @@ -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')}), + ), + }, --- games/dxx-rebirth/files/patch-similar_editor_med.cpp (nonexistent) +++ games/dxx-rebirth/files/patch-similar_editor_med.cpp (working copy) @@ -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(); --- games/dxx-rebirth/files/patch-similar_main_inferno.cpp (nonexistent) +++ games/dxx-rebirth/files/patch-similar_main_inferno.cpp (working copy) @@ -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 --- games/dxx-rebirth/files/pkg-message (nonexistent) +++ games/dxx-rebirth/files/pkg-message (working copy) @@ -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. --- games/dxx-rebirth/pkg-descr (nonexistent) +++ games/dxx-rebirth/pkg-descr (working copy) @@ -0,0 +1,9 @@ +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/