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

(-)freesci/Makefile (-20 / +8 lines)
Lines 6-14 Link Here
6
#
6
#
7
7
8
PORTNAME=	freesci
8
PORTNAME=	freesci
9
PORTVERSION=	0.3.4c
9
PORTVERSION=	0.3.5
10
CATEGORIES=	games emulators
10
CATEGORIES=	games emulators
11
MASTER_SITES=	${MASTER_SITE_SAVANNAH} \
11
MASTER_SITES=	http://www-plan.cs.colorado.edu/creichen/${PORTNAME}/ \
12
		http://teksolv.de/~jameson/
12
		http://teksolv.de/~jameson/
13
MASTER_SITE_SUBDIR=${PORTNAME}/stable.pkg/${PORTVERSION}
13
MASTER_SITE_SUBDIR=${PORTNAME}/stable.pkg/${PORTVERSION}
14
14
Lines 16-22 Link Here
16
COMMENT=	A portable interpreter for SCI games, such as the Space Quest series
16
COMMENT=	A portable interpreter for SCI games, such as the Space Quest series
17
17
18
USE_BZIP2=	yes
18
USE_BZIP2=	yes
19
USE_REINPLACE=	yes
20
USE_XLIB=	yes
19
USE_XLIB=	yes
21
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
22
WANT_SDL=	yes
21
WANT_SDL=	yes
Lines 26-31 Link Here
26
25
27
MAN6=	freesci-tools.6 freesci.6
26
MAN6=	freesci-tools.6 freesci.6
28
27
28
OPTIONS=	CONSOLE		 "With console support"			off \
29
		SDL		 "With SDL support"			off \
30
		GGI		 "With GGI support"			off \
31
		DIRECTFB	 "With DirectFB support"		off \
32
		OPTIMIZED_CFLAGS "Build with code optimizations"	off
33
29
.include <bsd.port.pre.mk>
34
.include <bsd.port.pre.mk>
30
35
31
.if defined(WITH_OPTIMIZED_CFLAGS)
36
.if defined(WITH_OPTIMIZED_CFLAGS)
Lines 70-92 Link Here
70
CONFIGURE_ARGS+=	--with-ggi-dir=${LOCALBASE}
75
CONFIGURE_ARGS+=	--with-ggi-dir=${LOCALBASE}
71
.else
76
.else
72
CONFIGURE_ARGS+=	--without-ggi
77
CONFIGURE_ARGS+=	--without-ggi
73
.endif
74
75
pre-everything::
76
.if !defined(WITH_CONSOLE)
77
	@${ECHO_MSG} "Define WITH_CONSOLE to build console support"
78
.endif
79
.if !defined(WITH_SDL)
80
	@${ECHO_MSG} "Define WITH_SDL to build with SDL support"
81
.endif
82
.if !defined(WITH_GGI)
83
	@${ECHO_MSG} "Define WITH_GGI to build with GGI support"
84
.endif
85
.if !defined(WITH_DIRECTFB)
86
	@${ECHO_MSG} "Define WITH_DIRECTFB to build with DirectFB support"
87
.endif
88
.if !defined(WITH_OPTIMIZED_CFLAGS)
89
	@${ECHO_MSG} "Define WITH_OPTIMIZED_CFLAGS to build with extra optimizations"
90
.endif
78
.endif
91
79
92
pre-configure:
80
pre-configure:
(-)freesci/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (freesci-0.3.4c.tar.bz2) = 2ec3240460316cb2901371d07662b1c4
1
MD5 (freesci-0.3.5.tar.bz2) = e18cd3366bd2a2773cecb5d20619807e
2
SHA256 (freesci-0.3.4c.tar.bz2) = fc277727e3779d2caa7cb93118e11648e8de62b5cdd52f1ae14c3b6968e47ebe
2
SHA256 (freesci-0.3.5.tar.bz2) = 46bb779cd8881f9126e0296ffe43cbb44a407f5b0d98846cc2321db323e76303
3
SIZE (freesci-0.3.4c.tar.bz2) = 953374
3
SIZE (freesci-0.3.5.tar.bz2) = 1022657
(-)freesci/files/patch-configure (-11 lines)
Lines 1-11 Link Here
1
--- configure.orig	Thu Apr  8 04:19:41 2004
2
+++ configure	Sat Jun 12 16:07:07 2004
3
@@ -9619,6 +9619,8 @@
4
 
5
 fi
6
 
7
+CFLAGS="$X_CFLAGS $CFLAGS"
8
+CPPFLAGS="$X_CFLAGS $CPPFLAGS"
9
 
10
 if test x"$have_x" = xyes; then
11
 
(-)freesci/files/patch-src::gdx::drivers::directfb_driver.c (-11 lines)
Lines 1-11 Link Here
1
--- src/gfx/drivers/directfb_driver.c.orig	Thu Feb 20 17:37:19 2003
2
+++ src/gfx/drivers/directfb_driver.c	Thu Feb 20 17:37:46 2003
3
@@ -611,7 +611,7 @@
4
 
5
 	switch (pixel_format) {
6
 
7
-	case DSPF_RGB15:
8
+	case DSPF_ARGB1555:
9
 		*bytespp = 2;
10
 		*rm = 5; _rs = 10;
11
 		*gm = 5; _gs = 5;
(-)freesci/files/patch-src::sound::pcmout_oss.c (-18 lines)
Lines 1-18 Link Here
1
--- src/sound/pcmout_oss.c.orig	Thu Feb 20 20:52:48 2003
2
+++ src/sound/pcmout_oss.c	Thu Feb 20 21:02:06 2003
3
@@ -75,6 +75,15 @@
4
 		return -1;
5
 	}
6
 
7
+/* Some OSS don't define the native endian */
8
+#ifndef AFMT_S16_NE
9
+	#if defined __i386__ || defined __alpha__
10
+		#define AFMT_S16_NE AFMT_S16_LE
11
+	#elif defined __mips__
12
+		#define AFMT_S16_NE AFMT_S16_BE
13
+	#endif
14
+	/* FIXME are these correct? */
15
+#endif
16
 	i = AFMT_S16_NE;  /* Use NATIVE endian format... */
17
 	if (ioctl (oss_fd, SNDCTL_DSP_SETFMT, &i)) {
18
 		fprintf(stderr, "[PCM-OSS] Failed to set device output format\n");
(-)freesci/files/patch-src::sound::pcmout_sdl.c (-35 lines)
Lines 1-35 Link Here
1
--- src/gfx/drivers/sdl_driver.c.orig	Tue Feb  4 21:12:10 2003
2
+++ src/gfx/drivers/sdl_driver.c	Tue Feb  4 21:16:42 2003
3
@@ -45,7 +45,7 @@
4
 
5
 #ifndef _MSC_VER
6
 #	include <sys/time.h>
7
-#	include <SDL/SDL.h>
8
+#	include <SDL11/SDL.h>
9
 #else
10
 #	include <SDL.h>
11
 #endif
12
--- src/sound/thread_ss_sdl.c.orig	Tue Feb  4 21:15:31 2003
13
+++ src/sound/thread_ss_sdl.c	Tue Feb  4 21:16:25 2003
14
@@ -32,8 +32,8 @@
15
 #ifdef HAVE_SDL
16
 
17
 #ifndef _MSC_VER
18
-#  include <SDL/SDL.h>
19
-#  include <SDL/SDL_thread.h>
20
+#  include <SDL11/SDL.h>
21
+#  include <SDL11/SDL_thread.h>
22
 #  include <sys/timeb.h>
23
 #else
24
 #  include <SDL.h>
25
--- src/sound/pcmout_sdl.c.orig	Tue Feb  4 21:15:37 2003
26
+++ src/sound/pcmout_sdl.c	Tue Feb  4 21:16:32 2003
27
@@ -23,7 +23,7 @@
28
 
29
 #ifndef _MSC_VER
30
 #       include <sys/time.h>
31
-#       include <SDL/SDL.h>
32
+#       include <SDL11/SDL.h>
33
 #else
34
 #       include <SDL.h>
35
 #endif

Return to bug 96932