# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # games/dxx-rebirth # games/dxx-rebirth/pkg-descr # games/dxx-rebirth/files # games/dxx-rebirth/files/patch-similar_editor_med.cpp # games/dxx-rebirth/files/patch-SConstruct # games/dxx-rebirth/files/pkg-message.in # games/dxx-rebirth/files/patch-similar_main_inferno.cpp # games/dxx-rebirth/Makefile # games/dxx-rebirth/distinfo # echo c - games/dxx-rebirth mkdir -p games/dxx-rebirth > /dev/null 2>&1 echo x - games/dxx-rebirth/pkg-descr sed 's/^X//' >games/dxx-rebirth/pkg-descr << '524fe70c0148e9d31768e7e4fa8bc0ee' XAn open source re-implementation of Caesar III X XWWW: https://github.com/bvschaik/julius 524fe70c0148e9d31768e7e4fa8bc0ee echo c - games/dxx-rebirth/files mkdir -p games/dxx-rebirth/files > /dev/null 2>&1 echo x - games/dxx-rebirth/files/patch-similar_editor_med.cpp sed 's/^X//' >games/dxx-rebirth/files/patch-similar_editor_med.cpp << 'e451cdd6ebcd4b272fb94868b43694b8' X--- similar/editor/med.cpp.orig 2018-11-21 18:28:30 UTC X+++ similar/editor/med.cpp X@@ -891,7 +891,7 @@ static void close_editor() X { X // _MARK_("end of editor");//Nuked to compile -KRB X X-#if !defined(__linux__) && !defined(__OpenBSD__) X+#if !defined(__linux__) && !defined(__OpenBSD__) && !defined(__FreeBSD__) X set_warn_func(msgbox_warning); X #else X clear_warn_func(); e451cdd6ebcd4b272fb94868b43694b8 echo x - games/dxx-rebirth/files/patch-SConstruct sed 's/^X//' >games/dxx-rebirth/files/patch-SConstruct << 'a5b09cc5729d852e2c46e2ef16148eae' X--- SConstruct.orig 2018-11-21 15:51:35 UTC X+++ SConstruct X@@ -3502,7 +3502,7 @@ class DXXCommon(LazyObjectConstructor): X 'variable': EnumVariable, X 'arguments': ( X ('host_endian', None, 'endianness of host platform', {'allowed_values' : ('little', 'big')}), X- ('host_platform', sys.platform.rstrip('0123456789'), 'cross-compile to specified platform', {'allowed_values' : ('darwin', 'linux', 'openbsd', 'win32')}), X+ ('host_platform', sys.platform.rstrip('0123456789'), 'cross-compile to specified platform', {'allowed_values' : ('darwin', 'linux', 'freebsd', 'openbsd', 'win32')}), X ('screenshot', 'png', 'screenshot file format', {'allowed_values' : ('legacy', 'png')}), X ), X }, a5b09cc5729d852e2c46e2ef16148eae echo x - games/dxx-rebirth/files/pkg-message.in sed 's/^X//' >games/dxx-rebirth/files/pkg-message.in << '6d9bb3bb6c4186c440889394483c41c7' Xdxx-rebirth requires the original game files from Descent I and/or XDescent II to work properly. These can come from an original CD or from XGOG.com. X XIf using the GOG.com version of Descent I, you must extract the files Xfrom setup_descent_1.4a_(16596).exe using the innoextract package. X XThe files will be in a directory named app. You must move the contents Xof this directory to a directory named ~/.d1x-rebirth/Data X XThe eaisest way to do this is to follow these steps: X$ mkdir -p ~/.d1x-rebirth/Data X$ cp -R app/* ~/.d1x-rebirth/Data X XYou can then delete everything extracted from the exe. X XIf you own the GOG.com version of Descent II, follow the above steps Xwith the setup_descent_2_1.1_(16596).exe file and using X~/.d2x-rebirth/Data as the directory name. 6d9bb3bb6c4186c440889394483c41c7 echo x - games/dxx-rebirth/files/patch-similar_main_inferno.cpp sed 's/^X//' >games/dxx-rebirth/files/patch-similar_main_inferno.cpp << 'ad8f8623daf617aec64b9de4e8e6d42a' X--- similar/main/inferno.cpp.orig 2018-11-21 18:29:50 UTC X+++ similar/main/inferno.cpp X@@ -679,7 +679,7 @@ static int main(int argc, char *argv[]) X int main(int argc, char *argv[]) X { X mem_init(); X-#if defined(__linux__) || defined(__OpenBSD__) X+#if defined(__linux__) || defined(__OpenBSD__) || defined(__FreeBSD__) X #if DXX_WORDS_NEED_ALIGNMENT X prctl(PR_SET_UNALIGN, PR_UNALIGN_NOPRINT, 0, 0, 0); X #endif ad8f8623daf617aec64b9de4e8e6d42a echo x - games/dxx-rebirth/Makefile sed 's/^X//' >games/dxx-rebirth/Makefile << 'e5803f5997f83e2ab94a724e673ae2d4' X# Created by: Piotr Kubaj X# $FreeBSD$ X XPORTNAME= dxx-rebirth XPORTVERSION= 0.60.0 XCATEGORIES= games XMASTER_SITES= https://www.dxx-rebirth.com/download/dxx/user/afuturepilot/ XDISTNAME= ${PORTNAME}-${PORTVERSION}-beta2-git X XMAINTAINER= pkubaj@anongoth.pl XCOMMENT= Open source port of Descent and Descent 2 X XLICENSE= GPLv3 PARALLAX XLICENSE_COMB= multi XLICENSE_NAME_PARALLAX= original Parallax license XLICENSE_FILE_PARALLAX= ${WRKSRC}/COPYING.txt XLICENSE_FILE_GPLv3= ${WRKSRC}/GPL-3.txt XLICENSE_PERMS_PARALLAX= dist-mirror pkg-mirror auto-accept X XLIB_DEPENDS= libphysfs.so:devel/physfs \ X libpng.so:graphics/png X XUSES= localbase:ldflags pkgconfig scons XUSE_GL= gl glu XUSE_SDL= mixer sdl X XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-beta2 X XMAKE_ARGS+= ignore_unknown_variables=1 X XPLIST_FILES= bin/d1x-rebirth \ X bin/d2x-rebirth X XSUB_FILES= pkg-message X Xpost-install: X ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/d1x-rebirth \ X ${STAGEDIR}${PREFIX}/bin/d2x-rebirth X.include e5803f5997f83e2ab94a724e673ae2d4 echo x - games/dxx-rebirth/distinfo sed 's/^X//' >games/dxx-rebirth/distinfo << 'de9020b23a24577357d12de5cf50a562' XTIMESTAMP = 1542814122 XSHA256 (dxx-rebirth-0.60.0-beta2-git.tar.gz) = 1e684f98c3f2e44407617dd014964d73637d1f6893327b583f282da944227c6a XSIZE (dxx-rebirth-0.60.0-beta2-git.tar.gz) = 1873282 de9020b23a24577357d12de5cf50a562 exit