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

(-)freedroidrpg/Makefile (-12 / +31 lines)
Lines 6-45 Link Here
6
#
6
#
7
7
8
PORTNAME=	freedroidrpg
8
PORTNAME=	freedroidrpg
9
PORTVERSION=	0.9.13.r2
9
PORTVERSION=	0.9.13.r3
10
CATEGORIES=	games
10
CATEGORIES=	games
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	freedroid
12
MASTER_SITE_SUBDIR=	freedroid
13
DISTNAME=	${PORTNAME}-0.9.13-rc2
13
DISTNAME=	${PORTNAME:S/rpg/RPG/}-${PORTVERSION:S/.r3/-rc3/}
14
14
15
MAINTAINER=	alejandro@varnet.biz
15
MAINTAINER=	alejandro@varnet.biz
16
COMMENT=	Modification of the classical Freedroid engine into an RPG
16
COMMENT=	Modification of the classical Freedroid engine into an RPG
17
17
18
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.r3/-rc3/}
19
18
USE_BZIP2=	yes
20
USE_BZIP2=	yes
19
USE_REINPLACE=	yes
21
USE_GETOPT_LONG=yes
20
USE_GL=		yes
21
USE_GMAKE=	yes
22
USE_GNOME=	gtk12
23
USE_SDL=	mixer image net sdl
22
USE_SDL=	mixer image net sdl
24
USE_XLIB=	yes
23
WANT_GNOME=	yes
25
24
26
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
27
CONFIGURE_ARGS=	--program-transform-name=
26
CONFIGURE_ARGS=	--program-transform-name=
28
27
29
MAN6=		freedroidRPG.6
28
MAN6=		freedroidRPG.6
30
29
30
OPTIONS=	BACKTRACE "Use backtrace() to generate nice bug reports" on \
31
		EDITORS "Build the GTK editors" on \
32
		OPENGL "Enable the OpenGL support (highly recommended!)" on
33
31
.include <bsd.port.pre.mk>
34
.include <bsd.port.pre.mk>
32
35
33
.if ${OSVERSION} < 500000
36
.if ${OSVERSION} < 500000
34
BROKEN=		"does not compile (missing fenv.h)"
37
BROKEN=		"does not compile (missing fenv.h)"
35
.endif
38
.endif
36
39
37
.if ${OSVERSION} < 600021
40
.if defined(WITH_BACKTRACE)
38
EXTRA_PATCHES=	${FILESDIR}/extra-patch-init.c
41
LIB_DEPENDS+=	execinfo.1:${PORTSDIR}/devel/libexecinfo
42
CONFIGURE_ARGS+=	--enable-backtrace
43
STRIP=		# keep debugging symbols
44
.else
45
CONFIGURE_ARGS+=	--disable-backtrace
39
.endif
46
.endif
40
47
41
post-patch:
48
.if defined(WITH_EDITORS)
42
	@${REINPLACE_CMD} -e 's#-lSDL # #' \
49
USE_GNOME+=	gtk12
43
				${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
50
CONFIGURE_ARGS+=	--enable-editors
51
PLIST_SUB+=	EDITORS=""
52
.else
53
CONFIGURE_ARGS+=	--disable-editors
54
PLIST_SUB+=	EDITORS="@comment "
55
.endif
56
57
.if defined(WITH_OPENGL)
58
USE_GL=		yes
59
CONFIGURE_ARGS+=	--enable-opengl
60
.else
61
CONFIGURE_ARGS+=	--disable-opengl
62
.endif
44
63
45
.include <bsd.port.post.mk>
64
.include <bsd.port.post.mk>
(-)freedroidrpg/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (freedroidrpg-0.9.13-rc2.tar.bz2) = eda34581d784cbd1db59ebc46208880e
1
MD5 (freedroidRPG-0.9.13-rc3.tar.bz2) = 4c31c93b4a4cad94b25de41ee43ed392
2
SIZE (freedroidrpg-0.9.13-rc2.tar.bz2) = 71145621
2
SIZE (freedroidRPG-0.9.13-rc3.tar.bz2) = 72171151
(-)freedroidrpg/files/extra-patch-init.c (-18 lines)
Lines 1-18 Link Here
1
--- src/init.c.orig	Mon Jul 18 02:00:54 2005
2
+++ src/init.c		Mon Jul 18 02:05:10 2005
3
@@ -58,14 +58,9 @@
4
  * section about 'Arithmethic', subsection on floating point control
5
  * functions.
6
  * ---------------------------------------------------------------------- */
7
-#if defined __APPLE_CC__
8
-/* turn off these function-call on OS X, where there are not present */
9
+/* turn off these function-call */
10
 int feenableexcept (int excepts) { return 0;}
11
 int fedisableexcept (int TheExceptionFlags ) { return 0; }
12
-#else
13
-extern int feenableexcept (int excepts);
14
-extern int fedisableexcept (int TheExceptionFlags );
15
-#endif
16
 
17
 /* ----------------------------------------------------------------------
18
  *
(-)freedroidrpg/files/patch-DialogEditor.c (-11 lines)
Lines 1-11 Link Here
1
--- src/DialogEditor.c.orig	Mon Jul 18 02:45:24 2005
2
+++ src/DialogEditor.c		Mon Jul 18 02:46:23 2005
3
@@ -32,6 +32,8 @@
4
 #define NATIVE_WIN32
5
 #endif
6
 
7
+#include <getopt.h>
8
+
9
 #include <gtk/gtk.h>
10
 #include <gdk/gdk.h>
11
 #include <gdk/gdkkeysyms.h>
(-)freedroidrpg/files/patch-configure (+11 lines)
Line 0 Link Here
1
--- configure.orig	Thu Aug  4 11:00:41 2005
2
+++ configure	Fri Aug 26 18:33:02 2005
3
@@ -4978,6 +4978,8 @@
4
 	;;
5
 
6
 	*bsd*)
7
+	CFLAGS="$CFLAGS  -DFD_DATADIR='\"\$(pkgdatadir)\"'"   #avoid expansion of $pkgdatadir !
8
+	SYS_GL_LIB=GL
9
 	bsd=true
10
 	;;
11
 
(-)freedroidrpg/files/patch-misc.c (-20 lines)
Lines 1-20 Link Here
1
--- src/misc.c.orig	Mon Jul 18 02:13:52 2005
2
+++ src/misc.c		Mon Jul 18 02:19:36 2005
3
@@ -294,7 +294,7 @@
4
     // including the operating system (or rather libc) call to main() in 
5
     // the beginning of execution.
6
     //
7
-    backtrace_size = backtrace ( backtrace_array , MAX_CALLS_IN_BACKTRACE );
8
+    // backtrace_size = backtrace ( backtrace_array , MAX_CALLS_IN_BACKTRACE );
9
 
10
     fprintf ( stderr , "print_trace:  Obtained %zd stack frames.\n", backtrace_size );
11
     
12
@@ -307,7 +307,7 @@
13
     //       Also there might be a problem with non-ELF binaries, but let's
14
     //       hope that it still works...
15
     //
16
-    backtrace_strings = backtrace_symbols ( backtrace_array , backtrace_size );
17
+    // backtrace_strings = backtrace_symbols ( backtrace_array , backtrace_size );
18
     
19
     fprintf ( stderr , "print_trace:  Obtaining symbols now done.\n" );
20
     
(-)freedroidrpg/pkg-plist (-4 / +56 lines)
Lines 1-8 Link Here
1
bin/DialogEditor
1
%%EDITORS%%bin/DialogEditor
2
bin/ItemEditor
2
%%EDITORS%%bin/ItemEditor
3
bin/croppy
3
%%EDITORS%%bin/croppy
4
bin/freedroidRPG
4
bin/freedroidRPG
5
bin/pngtoico
5
%%EDITORS%%bin/pngtoico
6
%%DATADIR%%/dialogs/614.dialog
6
%%DATADIR%%/dialogs/614.dialog
7
%%DATADIR%%/dialogs/Bender.dialog
7
%%DATADIR%%/dialogs/Bender.dialog
8
%%DATADIR%%/dialogs/Benjamin.dialog
8
%%DATADIR%%/dialogs/Benjamin.dialog
Lines 1088-1093 Link Here
1088
%%DATADIR%%/graphics/droids/493/portrait_0031.jpg
1088
%%DATADIR%%/graphics/droids/493/portrait_0031.jpg
1089
%%DATADIR%%/graphics/droids/493/portrait_0032.jpg
1089
%%DATADIR%%/graphics/droids/493/portrait_0032.jpg
1090
%%DATADIR%%/graphics/droids/516.png
1090
%%DATADIR%%/graphics/droids/516.png
1091
%%DATADIR%%/graphics/droids/516/516.tux_image_archive
1091
%%DATADIR%%/graphics/droids/516/ingame_0001.offset
1092
%%DATADIR%%/graphics/droids/516/ingame_0001.offset
1092
%%DATADIR%%/graphics/droids/516/ingame_0001.png
1093
%%DATADIR%%/graphics/droids/516/ingame_0001.png
1093
%%DATADIR%%/graphics/droids/516/ingame_0002.offset
1094
%%DATADIR%%/graphics/droids/516/ingame_0002.offset
Lines 2038-2043 Link Here
2038
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0014.jpg
2039
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0014.jpg
2039
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0015.jpg
2040
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0015.jpg
2040
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0016.jpg
2041
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0016.jpg
2042
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0017.jpg
2043
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0018.jpg
2044
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0019.jpg
2045
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0020.jpg
2046
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0021.jpg
2047
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0022.jpg
2048
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0023.jpg
2049
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0024.jpg
2050
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0025.jpg
2051
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0026.jpg
2052
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0027.jpg
2053
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0028.jpg
2054
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0029.jpg
2055
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0030.jpg
2056
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0031.jpg
2057
%%DATADIR%%/graphics/items/ammo_plasma_bullet/portrait_0032.jpg
2041
%%DATADIR%%/graphics/items/antigrav_unit/ingame.offset
2058
%%DATADIR%%/graphics/items/antigrav_unit/ingame.offset
2042
%%DATADIR%%/graphics/items/antigrav_unit/ingame.png
2059
%%DATADIR%%/graphics/items/antigrav_unit/ingame.png
2043
%%DATADIR%%/graphics/items/antigrav_unit/inv_image.png
2060
%%DATADIR%%/graphics/items/antigrav_unit/inv_image.png
Lines 2498-2503 Link Here
2498
%%DATADIR%%/graphics/items/desk_lamp/portrait_0014.jpg
2515
%%DATADIR%%/graphics/items/desk_lamp/portrait_0014.jpg
2499
%%DATADIR%%/graphics/items/desk_lamp/portrait_0015.jpg
2516
%%DATADIR%%/graphics/items/desk_lamp/portrait_0015.jpg
2500
%%DATADIR%%/graphics/items/desk_lamp/portrait_0016.jpg
2517
%%DATADIR%%/graphics/items/desk_lamp/portrait_0016.jpg
2518
%%DATADIR%%/graphics/items/desk_lamp/portrait_0017.jpg
2519
%%DATADIR%%/graphics/items/desk_lamp/portrait_0018.jpg
2520
%%DATADIR%%/graphics/items/desk_lamp/portrait_0019.jpg
2521
%%DATADIR%%/graphics/items/desk_lamp/portrait_0020.jpg
2522
%%DATADIR%%/graphics/items/desk_lamp/portrait_0021.jpg
2523
%%DATADIR%%/graphics/items/desk_lamp/portrait_0022.jpg
2524
%%DATADIR%%/graphics/items/desk_lamp/portrait_0023.jpg
2525
%%DATADIR%%/graphics/items/desk_lamp/portrait_0024.jpg
2526
%%DATADIR%%/graphics/items/desk_lamp/portrait_0025.jpg
2527
%%DATADIR%%/graphics/items/desk_lamp/portrait_0026.jpg
2528
%%DATADIR%%/graphics/items/desk_lamp/portrait_0027.jpg
2529
%%DATADIR%%/graphics/items/desk_lamp/portrait_0028.jpg
2530
%%DATADIR%%/graphics/items/desk_lamp/portrait_0029.jpg
2531
%%DATADIR%%/graphics/items/desk_lamp/portrait_0030.jpg
2532
%%DATADIR%%/graphics/items/desk_lamp/portrait_0031.jpg
2533
%%DATADIR%%/graphics/items/desk_lamp/portrait_0032.jpg
2501
%%DATADIR%%/graphics/items/dixons_toolbox/ingame.offset
2534
%%DATADIR%%/graphics/items/dixons_toolbox/ingame.offset
2502
%%DATADIR%%/graphics/items/dixons_toolbox/ingame.png
2535
%%DATADIR%%/graphics/items/dixons_toolbox/ingame.png
2503
%%DATADIR%%/graphics/items/dixons_toolbox/inv_image.png
2536
%%DATADIR%%/graphics/items/dixons_toolbox/inv_image.png
Lines 5446-5451 Link Here
5446
%%DATADIR%%/sound/speeches/Tux_STO_Some_Of_My_0.ogg
5479
%%DATADIR%%/sound/speeches/Tux_STO_Some_Of_My_0.ogg
5447
%%DATADIR%%/sound/speeches/Tux_See_You_Later_0.ogg
5480
%%DATADIR%%/sound/speeches/Tux_See_You_Later_0.ogg
5448
%%DATADIR%%/sound/speeches/Tux_Why_Did_I_0.ogg
5481
%%DATADIR%%/sound/speeches/Tux_Why_Did_I_0.ogg
5482
@dirrm share/nls/en_US.US-ASCII
5483
@dirrm share/nls/POSIX
5449
@dirrm %%DATADIR%%/sound/speeches/Spencer
5484
@dirrm %%DATADIR%%/sound/speeches/Spencer
5450
@dirrm %%DATADIR%%/sound/speeches/OldTown614Guard
5485
@dirrm %%DATADIR%%/sound/speeches/OldTown614Guard
5451
@dirrm %%DATADIR%%/sound/speeches/Michelangelo
5486
@dirrm %%DATADIR%%/sound/speeches/Michelangelo
Lines 5466-5471 Link Here
5466
@dirrm %%DATADIR%%/sound/effects
5501
@dirrm %%DATADIR%%/sound/effects
5467
@dirrm %%DATADIR%%/sound
5502
@dirrm %%DATADIR%%/sound
5468
@dirrm %%DATADIR%%/map
5503
@dirrm %%DATADIR%%/map
5504
@dirrm %%DATADIR%%/graphics/wm_icon
5469
@dirrm %%DATADIR%%/graphics/tux_motion_parts/sword_motion/shield_items
5505
@dirrm %%DATADIR%%/graphics/tux_motion_parts/sword_motion/shield_items
5470
@dirrm %%DATADIR%%/graphics/tux_motion_parts/sword_motion
5506
@dirrm %%DATADIR%%/graphics/tux_motion_parts/sword_motion
5471
@dirrm %%DATADIR%%/graphics/tux_motion_parts/gun_motion/shield_items
5507
@dirrm %%DATADIR%%/graphics/tux_motion_parts/gun_motion/shield_items
Lines 5473-5481 Link Here
5473
@dirrm %%DATADIR%%/graphics/tux_motion_parts
5509
@dirrm %%DATADIR%%/graphics/tux_motion_parts
5474
@dirrm %%DATADIR%%/graphics/tux_flags
5510
@dirrm %%DATADIR%%/graphics/tux_flags
5475
@dirrm %%DATADIR%%/graphics/skill_icons
5511
@dirrm %%DATADIR%%/graphics/skill_icons
5512
@dirrm %%DATADIR%%/graphics/rotation_models/portraits
5513
@dirrm %%DATADIR%%/graphics/rotation_models/items/item_blender_sources
5514
@dirrm %%DATADIR%%/graphics/rotation_models/items
5515
@dirrm %%DATADIR%%/graphics/rotation_models
5516
@dirrm %%DATADIR%%/graphics/portraits
5517
@dirrm %%DATADIR%%/graphics/para90_theme
5476
@dirrm %%DATADIR%%/graphics/obstacles
5518
@dirrm %%DATADIR%%/graphics/obstacles
5477
@dirrm %%DATADIR%%/graphics/mouse_buttons
5519
@dirrm %%DATADIR%%/graphics/mouse_buttons
5520
@dirrm %%DATADIR%%/graphics/map_inserts/BlenderSources
5521
@dirrm %%DATADIR%%/graphics/map_inserts
5478
@dirrm %%DATADIR%%/graphics/light_radius_chunks
5522
@dirrm %%DATADIR%%/graphics/light_radius_chunks
5523
@dirrm %%DATADIR%%/graphics/lanzz_theme/single_map_tiles
5479
@dirrm %%DATADIR%%/graphics/lanzz_theme
5524
@dirrm %%DATADIR%%/graphics/lanzz_theme
5480
@dirrm %%DATADIR%%/graphics/items/wheel_drive
5525
@dirrm %%DATADIR%%/graphics/items/wheel_drive
5481
@dirrm %%DATADIR%%/graphics/items/warrior_wristband
5526
@dirrm %%DATADIR%%/graphics/items/warrior_wristband
Lines 5501-5506 Link Here
5501
@dirrm %%DATADIR%%/graphics/items/monkey_wrench
5546
@dirrm %%DATADIR%%/graphics/items/monkey_wrench
5502
@dirrm %%DATADIR%%/graphics/items/map_maker
5547
@dirrm %%DATADIR%%/graphics/items/map_maker
5503
@dirrm %%DATADIR%%/graphics/items/mace
5548
@dirrm %%DATADIR%%/graphics/items/mace
5549
@dirrm %%DATADIR%%/graphics/items/light_sabre_yellow
5550
@dirrm %%DATADIR%%/graphics/items/light_sabre_red
5551
@dirrm %%DATADIR%%/graphics/items/light_sabre_green
5504
@dirrm %%DATADIR%%/graphics/items/laser_sword_yellow
5552
@dirrm %%DATADIR%%/graphics/items/laser_sword_yellow
5505
@dirrm %%DATADIR%%/graphics/items/laser_sword_red
5553
@dirrm %%DATADIR%%/graphics/items/laser_sword_red
5506
@dirrm %%DATADIR%%/graphics/items/laser_sword_green
5554
@dirrm %%DATADIR%%/graphics/items/laser_sword_green
Lines 5542-5547 Link Here
5542
@dirrm %%DATADIR%%/graphics/items
5590
@dirrm %%DATADIR%%/graphics/items
5543
@dirrm %%DATADIR%%/graphics/font
5591
@dirrm %%DATADIR%%/graphics/font
5544
@dirrm %%DATADIR%%/graphics/floor_tiles
5592
@dirrm %%DATADIR%%/graphics/floor_tiles
5593
@dirrm %%DATADIR%%/graphics/floor
5545
@dirrm %%DATADIR%%/graphics/droids/red_guard
5594
@dirrm %%DATADIR%%/graphics/droids/red_guard
5546
@dirrm %%DATADIR%%/graphics/droids/professor
5595
@dirrm %%DATADIR%%/graphics/droids/professor
5547
@dirrm %%DATADIR%%/graphics/droids/kevin
5596
@dirrm %%DATADIR%%/graphics/droids/kevin
Lines 5577-5583 Link Here
5577
@dirrm %%DATADIR%%/graphics/droids/247
5626
@dirrm %%DATADIR%%/graphics/droids/247
5578
@dirrm %%DATADIR%%/graphics/droids/139
5627
@dirrm %%DATADIR%%/graphics/droids/139
5579
@dirrm %%DATADIR%%/graphics/droids/123
5628
@dirrm %%DATADIR%%/graphics/droids/123
5629
@dirrm %%DATADIR%%/graphics/droids/001
5580
@dirrm %%DATADIR%%/graphics/droids
5630
@dirrm %%DATADIR%%/graphics/droids
5631
@dirrm %%DATADIR%%/graphics/default_theme
5632
@dirrm %%DATADIR%%/graphics/classic_theme
5581
@dirrm %%DATADIR%%/graphics/bullets
5633
@dirrm %%DATADIR%%/graphics/bullets
5582
@dirrm %%DATADIR%%/graphics/blender_sources
5634
@dirrm %%DATADIR%%/graphics/blender_sources
5583
@dirrm %%DATADIR%%/graphics/blasts
5635
@dirrm %%DATADIR%%/graphics/blasts

Return to bug 85351