View | Details | Raw Unified | Return to bug 79177
Collapse All | Expand All

(-)alephone/Makefile (-10 / +5 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	alephone
8
PORTNAME=	alephone
9
PORTVERSION=	0.12.0
9
PORTVERSION=	20050118
10
PORTREVISION=	2
11
CATEGORIES=	games
10
CATEGORIES=	games
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	marathon
12
MASTER_SITE_SUBDIR=	marathon
Lines 16-31 Link Here
16
MAINTAINER=	malyn@strangeGizmo.com
15
MAINTAINER=	malyn@strangeGizmo.com
17
COMMENT=	The open source version of Bungie's Marathon game
16
COMMENT=	The open source version of Bungie's Marathon game
18
17
19
USE_SDL=	image net sdl
18
USE_SDL=	image net sdl sound
20
USE_PERL5_BUILD=yes
19
USE_GL=		yes
21
USE_X_PREFIX=	yes
20
USE_X_PREFIX=	yes
22
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
23
CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}"
22
CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}" CFLAGS="${CFLAGS} -I/usr/X11R6/include" CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include" LDFLAGS="${LDFLAGS} -L/usr/X11R6/lib"
24
23
CONFIGURE_ARGS+= --program-transform-name=""
25
post-patch:
26
	@${PERL} -pi -e 's,^#include \"network_modem.h\".*,,' \
27
		${WRKSRC}/Source_Files/Network/network.cpp \
28
		${WRKSRC}/Source_Files/Network/network_stream.cpp \
29
24
30
post-install:
25
post-install:
31
.if !defined(NOPORTDOCS)
26
.if !defined(NOPORTDOCS)
(-)alephone/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (AlephOne-0.12.0.tar.gz) = 7a44d2ed10699012836320584b9920ba
1
MD5 (AlephOne-20050118.tar.gz) = c30c96b7b24c7b44f39c1a83534e1446
2
SIZE (AlephOne-0.12.0.tar.gz) = 938589
2
SIZE (AlephOne-20050118.tar.gz) = 1335814
(-)alephone/files/patch-Source_Files::Misc::sdl_widgets.h (-20 lines)
Lines 1-20 Link Here
1
--- Source_Files/Misc/sdl_widgets.h.orig	Mon Jul 16 21:37:51 2001
2
+++ Source_Files/Misc/sdl_widgets.h	Mon Sep 20 20:46:48 2004
3
@@ -402,7 +402,7 @@
4
 protected:
5
 	void draw_items(SDL_Surface *s) const
6
 	{
7
-		vector<T>::const_iterator i = items.begin() + top_item;
8
+		typename vector<T>::const_iterator i = items.begin() + top_item;
9
 		int x = rect.x + get_dialog_space(LIST_L_SPACE);
10
 		int y = rect.y + get_dialog_space(LIST_T_SPACE);
11
 		int width = rect.w - get_dialog_space(LIST_L_SPACE) - get_dialog_space(LIST_R_SPACE);
12
@@ -413,7 +413,7 @@
13
 	const vector<T> &items;	// List of items
14
 
15
 private:
16
-	virtual void draw_item(vector<T>::const_iterator i, SDL_Surface *s, int x, int y, int width, bool selected) const = 0;
17
+	virtual void draw_item(typename vector<T>::const_iterator i, SDL_Surface *s, int x, int y, int width, bool selected) const = 0;
18
 };
19
 
20
 #endif
(-)alephone/files/patch-Source_Files::Misc::thread_priority_sdl_posix.cpp (+11 lines)
Line 0 Link Here
1
--- Source_Files/Misc/thread_priority_sdl_posix.cpp.orig	Wed Mar 23 10:41:58 2005
2
+++ Source_Files/Misc/thread_priority_sdl_posix.cpp	Wed Mar 23 10:42:10 2005
3
@@ -12,7 +12,7 @@
4
 #if defined(TARGET_API_MAC_CARBON) && __MACH__
5
 #include <SDL/SDL_Thread.h>
6
 #else
7
-#include	<SDL/SDL_thread.h>
8
+#include	<SDL_thread.h>
9
 #endif
10
 
11
 #include	<pthread.h>
(-)alephone/files/patch-aa (-10 lines)
Lines 1-10 Link Here
1
--- Source_Files/ModelView/ModelRenderer.cpp.orig	Sun Sep  2 07:24:31 2001
2
+++ Source_Files/ModelView/ModelRenderer.cpp	Thu Feb  7 10:33:05 2002
3
@@ -5,7 +5,6 @@
4
 */
5
 
6
 #include <string.h>
7
-#include <alloca.h>
8
 #include "cseries.h"
9
 #include "ModelRenderer.h"
10
 
(-)alephone/files/patch-ab (-10 lines)
Lines 1-10 Link Here
1
--- tools/dumpwad.cpp.orig	Wed Jun  6 08:31:42 2001
2
+++ tools/dumpwad.cpp	Thu Feb  7 10:51:25 2002
3
@@ -13,6 +13,7 @@
4
 
5
 #include <stdio.h>
6
 #include <stdlib.h>
7
+#include <stdarg.h>
8
 
9
 // Dummy declarations to avoid link errors
10
 void set_game_error(short a, short b) {}
(-)alephone/files/patch-ac (-32 lines)
Lines 1-32 Link Here
1
--- Source_Files/Misc/FileHandler.h.orig	Fri Aug  8 15:00:21 2003
2
+++ Source_Files/Misc/FileHandler.h	Fri Aug  8 15:01:07 2003
3
@@ -46,6 +46,7 @@
4
 #endif
5
 #endif
6
 
7
+using namespace std;
8
 
9
 // Symbolic constant for a closed file's reference number (refnum) (MacOS only)
10
 const short RefNum_Closed = -1;
11
--- Source_Files/Misc/resource_manager.h.orig	Fri Aug  8 15:00:22 2003
12
+++ Source_Files/Misc/resource_manager.h	Fri Aug  8 15:04:02 2003
13
@@ -10,6 +10,8 @@
14
 #include <stdio.h>
15
 #include <vector>
16
 
17
+using namespace std;
18
+
19
 class FileSpecifier;
20
 class LoadedResource;
21
 
22
--- Source_Files/Misc/sdl_dialogs.h.orig	Fri Aug  8 15:00:22 2003
23
+++ Source_Files/Misc/sdl_dialogs.h	Fri Aug  8 15:01:43 2003
24
@@ -9,6 +9,8 @@
25
 
26
 #include <vector>
27
 
28
+using namespace std;
29
+
30
 class widget;
31
 struct SDL_Surface;
32
 class sdl_font_info;
(-)alephone/pkg-descr (-1 / +1 lines)
Lines 16-22 Link Here
16
do not have a graphics card with the appropriate functionality (you need
16
do not have a graphics card with the appropriate functionality (you need
17
to use the -g/--nogl option).
17
to use the -g/--nogl option).
18
18
19
WWW: http://www.uni-mainz.de/~bauec002/A1Main.html
19
WWW: http://source.bungie.org/
20
20
21
Michael Alyn Miller
21
Michael Alyn Miller
22
malyn@strangeGizmo.com
22
malyn@strangeGizmo.com
(-)alephone/pkg-message (-3 / +8 lines)
Lines 3-17 Link Here
3
This package does not include any Aleph One data files.  There are a few
3
This package does not include any Aleph One data files.  There are a few
4
ways of getting a fully-playable version of Aleph One:
4
ways of getting a fully-playable version of Aleph One:
5
5
6
  * Install the `alephone-data' port.  This port includes the demo files
6
  * Install the `alephone-data' port.  This port includes the data files
7
    from Marathon Infinity.
7
    from Marathon Infinity.
8
8
9
  * Buy a copy of Marathon 2 or Marathon Infinity and convert those data
9
  * Get a copy of Marathon 2 or Marathon Infinity and convert those data
10
    files into the appropriate AlephOne format (http://source.bungie.org
10
    files into the appropriate AlephOne format (http://source.bungie.org
11
    has more information).
11
    has more information). You can get any of the Marathon series (and
12
    AlephOne conversions of Marathon 2 and Marathon Infinity) from
13
    http://trilogyrelease.bungie.org/.
12
14
13
  * Go to http://archives.bungie.org and download one or more of the SDL
15
  * Go to http://archives.bungie.org and download one or more of the SDL
14
    scenarios.
16
    scenarios.
17
18
  * The games/marathon2-data port contains the AlephOne versions of the
19
    "Marathon 2: Durandal" data files.
15
20
16
AlephOne works best with OpenGL; if you do not have an OpenGL-savvy card
21
AlephOne works best with OpenGL; if you do not have an OpenGL-savvy card
17
and the game is sluggish, try using the -g option to disable OpenGL.
22
and the game is sluggish, try using the -g option to disable OpenGL.

Return to bug 79177