View | Details | Raw Unified | Return to bug 233755 | Differences between
and this patch

Collapse All | Expand All

(-)games/dxx-rebirth/Makefile (+37 lines)
Line 0 Link Here
1
# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
2
# $FreeBSD$
3
4
PORTNAME=	dxx-rebirth
5
DISTVERSION=	0.60.0-beta2
6
CATEGORIES=	games
7
MASTER_SITES=	https://www.dxx-rebirth.com/download/dxx/user/afuturepilot/
8
DISTVERSIONSUFFIX=	-git
9
10
MAINTAINER=	pkubaj@anongoth.pl
11
COMMENT=	Open source of Descent and Descent 2
12
13
LICENSE=	GPLv3 PARALLAX
14
LICENSE_COMB=	multi
15
LICENSE_NAME_PARALLAX=	original Parallax license
16
LICENSE_FILE_PARALLAX=	${WRKSRC}/COPYING.txt
17
LICENSE_FILE_GPLv3=	${WRKSRC}/GPL-3.txt
18
LICENSE_PERMS_PARALLAX=	dist-mirror pkg-mirror auto-accept
19
20
LIB_DEPENDS=	libphysfs.so:devel/physfs \
21
		libpng.so:graphics/png
22
23
USES=		localbase:ldflags gl pkgconfig scons
24
USE_GL=		gl glu
25
USE_SDL=	mixer sdl
26
27
WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
28
29
#MAKE_ARGS+=	ignore_unknown_variables=1
30
31
PLIST_FILES=	bin/d1x-rebirth \
32
		bin/d2x-rebirth
33
34
post-install:
35
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/d1x-rebirth \
36
		${STAGEDIR}${PREFIX}/bin/d2x-rebirth
37
.include <bsd.port.mk>
(-)games/dxx-rebirth/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1542814122
2
SHA256 (dxx-rebirth-0.60.0-beta2-git.tar.gz) = 1e684f98c3f2e44407617dd014964d73637d1f6893327b583f282da944227c6a
3
SIZE (dxx-rebirth-0.60.0-beta2-git.tar.gz) = 1873282
(-)games/dxx-rebirth/files/patch-SConstruct (+11 lines)
Line 0 Link Here
1
--- SConstruct.orig	2018-11-21 15:51:35 UTC
2
+++ SConstruct
3
@@ -3502,7 +3502,7 @@ class DXXCommon(LazyObjectConstructor):
4
 				'variable': EnumVariable,
5
 				'arguments': (
6
 					('host_endian', None, 'endianness of host platform', {'allowed_values' : ('little', 'big')}),
7
-					('host_platform', sys.platform.rstrip('0123456789'), 'cross-compile to specified platform', {'allowed_values' : ('darwin', 'linux', 'openbsd', 'win32')}),
8
+					('host_platform', sys.platform.rstrip('0123456789'), 'cross-compile to specified platform', {'allowed_values' : ('darwin', 'linux', 'freebsd', 'openbsd', 'win32')}),
9
 					('screenshot', 'png', 'screenshot file format', {'allowed_values' : ('legacy', 'png')}),
10
 				),
11
 			},
(-)games/dxx-rebirth/files/patch-similar_editor_med.cpp (+11 lines)
Line 0 Link Here
1
--- similar/editor/med.cpp.orig	2018-11-21 18:28:30 UTC
2
+++ similar/editor/med.cpp
3
@@ -891,7 +891,7 @@ static void close_editor()
4
 {
5
 	//	_MARK_("end of editor");//Nuked to compile -KRB
6
 	
7
-#if !defined(__linux__) && !defined(__OpenBSD__)
8
+#if !defined(__linux__) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
9
 	set_warn_func(msgbox_warning);
10
 #else
11
 	clear_warn_func();
(-)games/dxx-rebirth/files/patch-similar_main_inferno.cpp (+11 lines)
Line 0 Link Here
1
--- similar/main/inferno.cpp.orig	2018-11-21 18:29:50 UTC
2
+++ similar/main/inferno.cpp
3
@@ -679,7 +679,7 @@ static int main(int argc, char *argv[])
4
 int main(int argc, char *argv[])
5
 {
6
 	mem_init();
7
-#if defined(__linux__) || defined(__OpenBSD__)
8
+#if defined(__linux__) || defined(__OpenBSD__) || defined(__FreeBSD__)
9
 #if DXX_WORDS_NEED_ALIGNMENT
10
 	prctl(PR_SET_UNALIGN, PR_UNALIGN_NOPRINT, 0, 0, 0);
11
 #endif
(-)games/dxx-rebirth/files/pkg-message (+22 lines)
Line 0 Link Here
1
dxx-rebirth requires the original game files from Descent I and/or
2
Descent II to work properly.  These can come from an original CD or from
3
GOG.com.
4
5
If using the GOG.com version of Descent I, you must extract the files
6
from setup_descent_1.4a_(16596).exe using the innoextract package.
7
8
You can install it with "pkg install innoextract" or 
9
"portmaster archivers/innoextract".
10
11
The files will be in a directory named app. You must move the contents
12
of this directory to a directory named ~/.d1x-rebirth/Data
13
14
The eaisest way to do this is to follow these steps:
15
$ mkdir -p ~/.d1x-rebirth/Data
16
$ cp -R app/* ~/.d1x-rebirth/Data
17
18
You can then delete everything extracted from the exe.
19
20
If you own the GOG.com version of Descent II, follow the above steps
21
with the setup_descent_2_1.1_(16596).exe file and using
22
~/.d2x-rebirth/Data as the directory name.
(-)games/dxx-rebirth/pkg-descr (+9 lines)
Line 0 Link Here
1
DXX-Rebirth is a Source Port of the Descent and Descent 2 Engines for Windows,
2
Mac OS, Linux (most *NIX systems), offering OpenGL graphics and effects,
3
advanced Multiplayer, many improvements and new features.
4
5
Descent and Descent 2 are pretty old games so you usually run into problems
6
running it on more recent Hardware and Operating Systems. DXX-Rebirth will also
7
take care about this for you.
8
9
WWW: https://www.dxx-rebirth.com/

Return to bug 233755