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

(-)esdl/Makefile (-2 / +1 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	esdl
8
PORTNAME=	esdl
9
PORTVERSION=	0.93.0526
9
PORTVERSION=	0.93.0909
10
PORTREVISION=	1
11
CATEGORIES=	devel
10
CATEGORIES=	devel
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
(-)esdl/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (erlang/esdl-0.93.0526.src.tar.gz) = ac54d03d0bd7f53ebf84c371cbaabcb2
1
MD5 (erlang/esdl-0.93.0909.src.tar.gz) = f086856666b00211be451269747f14c3
(-)esdl/files/patch-c__src_Makefile (-32 / +35 lines)
Lines 1-42 Link Here
1
1
--- c_src/Makefile.ori	Tue Sep  9 10:28:24 2003
2
$FreeBSD: ports/devel/esdl/files/patch-c__src_Makefile,v 1.4 2003/07/18 09:50:21 olgeni Exp $
2
+++ c_src/Makefile	Mon Nov 17 18:34:14 2003
3
3
@@ -11,7 +11,7 @@
4
--- c_src/Makefile.orig	Mon May 26 16:13:17 2003
4
 include ../win32_conf/mingw_vars.mk
5
+++ c_src/Makefile	Fri Jul 18 11:42:01 2003
5
 else
6
@@ -5,7 +5,7 @@
7
 #     $Id: Makefile,v 1.8 2003/05/26 08:00:46 dgud Exp $
8
 #
9
 
6
 
10
-OGLDIR  = /usr
7
-  OGLDIR  = /usr
11
+OGLDIR  = ${X11BASE}
8
+  OGLDIR  = ${X11BASE}
12
 
9
 
13
 # Uncomment these if your opengl header is located in another directory than
10
 # Uncomment these if your opengl header is located in another directory than
14
 # the usual $(OGLDIR)/include/GL/gl.h
11
 # the usual $(OGLDIR)/include/GL/gl.h
15
@@ -15,13 +15,13 @@
12
@@ -21,14 +21,13 @@
16
 GL_LIBS		= -L$(OGLDIR)/lib -lGL -lGLU 
13
   GL_LIBS		= -L$(OGLDIR)/lib -lGL -lGLU 
17
 GL_INCS		= -I$(OGLDIR)/include/$(GL_INCLUDE_DIR)
14
   GL_INCS		= -I$(OGLDIR)/include/$(GL_INCLUDE_DIR)
18
 
15
 
19
-SDL_LIBS	= $(shell sdl-config --libs)
16
-  SDL_LIBS		= $(shell sdl-config --libs)
20
+SDL_LIBS	= $(shell $(SDL_CONFIG) --libs)
17
-  SDL_INCS		= $(shell sdl-config --cflags)
21
 LIBS		= $(GL_LIBS) $(SDL_LIBS) -lm 
18
+  SDL_LIBS		= $(shell $(SDL_CONFIG) --libs)
22
 
19
+  SDL_INCS		= $(shell $(SDL_CONFIG) --cflags)
23
-SDLINCS		= $(shell sdl-config --cflags)
20
 
24
+SDLINCS		= $(shell $(SDL_CONFIG) --cflags)
21
   LIBS			= $(GL_LIBS) $(SDL_LIBS) -lm 
25
 
22
 
26
-CFLAGS	= -g -O2 -funroll-loops -Wall -ffast-math -fpic -fomit-frame-pointer \
23
-  CFLAGS		= -g -O2 -funroll-loops -Wall -ffast-math -fpic \
27
-            $(USE_GL_INCLUDE_DIR) -DSHM -DPTHREADS $(GL_INCS) $(SDLINCS) $(ERLINC)
24
-			-fomit-frame-pointer $(USE_GL_INCLUDE_DIR) -DSHM \
28
+CFLAGS	+= -funroll-loops -Wall -ffast-math -fpic -fomit-frame-pointer \
25
-			-DPTHREADS $(GL_INCS) $(SDL_INCS) $(ERL_INCS)
29
+            $(USE_GL_INCLUDE_DIR) -DSHM -DPTHREADS $(GL_INCS) $(SDLINCS)
26
+  CFLAGS		+= -O2 -funroll-loops -Wall -ffast-math -fpic -fomit-frame-pointer \
27
+			$(USE_GL_INCLUDE_DIR) -DSHM -DPTHREADS $(GL_INCS) $(SDL_INCS) $(ERL_INCS)
28
 
29
   CLINKFLAGS 		=  -fpic -shared  
30
 
31
@@ -38,13 +37,13 @@
32
   ERL_DIR := $(shell echo 'io:format("~s~n",[code:root_dir()]),halt().' | erl | sed 's,^[0-9]*> *,,g' | tail +2)
33
   ERL_INCS = -I$(ERL_DIR)/usr/include
34
 
35
-  CC = gcc
36
+  CC ?= gcc
37
 
38
 endif
30
 
39
 
31
 TARGETDIR = ../priv
40
 TARGETDIR = ../priv
32
 
41
 
33
@@ -29,8 +29,8 @@
42
-GCC_O	= $(CC) -c $(CFLAGS) $<
34
 ERL_DIR := $(shell echo 'io:format("~s~n",[code:root_dir()]),halt().' | erl | sed 's,^[0-9]*> *,,g' | tail +2)
35
 ERLINC = -I$(ERL_DIR)/usr/include
36
 
37
-CC = gcc
38
-GCC_O	= $(CC) -c $(CFLAGS) $(INCS) $<
39
+CC ?= gcc
40
+GCC_O	= $(CC) -c $(CFLAGS) $(INCS) $(ERLINC) $<
43
+GCC_O	= $(CC) -c $(CFLAGS) $(INCS) $(ERLINC) $<
41
 
44
 
42
 # Files
45
 # Files
(-)esdl/files/patch-c__src_esdl__events.c (-7 / +4 lines)
Lines 1-9 Link Here
1
1
--- c_src/esdl_events.c.ori	Tue Sep  9 10:28:24 2003
2
$FreeBSD: ports/devel/esdl/files/patch-c__src_esdl__events.c,v 1.1 2003/01/02 19:57:54 olgeni Exp $
2
+++ c_src/esdl_events.c	Mon Nov 17 18:23:24 2003
3
3
@@ -15,7 +15,11 @@
4
--- c_src/esdl_events.c.orig	Mon Dec  9 23:13:11 2002
5
+++ c_src/esdl_events.c	Mon Dec  9 23:13:35 2002
6
@@ -14,7 +14,11 @@
7
 #ifdef WIN32
4
 #ifdef WIN32
8
 #include <SDL_events.h>
5
 #include <SDL_events.h>
9
 #else
6
 #else
Lines 14-17 Link Here
14
+#endif
11
+#endif
15
 #endif
12
 #endif
16
 
13
 
17
 /* Foward decls */
14
 #define MAX_EVENT_SIZE 13
(-)esdl/files/patch-c__src_esdl__video.c (-7 / +4 lines)
Lines 1-9 Link Here
1
1
--- c_src/esdl_video.c.ori	Tue Sep  9 10:28:24 2003
2
$FreeBSD: ports/devel/esdl/files/patch-c__src_esdl__video.c,v 1.1 2003/01/02 19:57:54 olgeni Exp $
2
+++ c_src/esdl_video.c	Mon Nov 17 18:24:48 2003
3
3
@@ -16,7 +16,11 @@
4
--- c_src/esdl_video.c.orig	Mon Dec  9 23:12:18 2002
5
+++ c_src/esdl_video.c	Mon Dec  9 23:13:01 2002
6
@@ -18,7 +18,11 @@
7
 #ifdef WIN32
4
 #ifdef WIN32
8
 #include <SDL_syswm.h>
5
 #include <SDL_syswm.h>
9
 #else
6
 #else
Lines 14-17 Link Here
14
+#endif
11
+#endif
15
 #endif
12
 #endif
16
 
13
 
17
 int es_setVideoMode(sdl_data *sd, int len, char * buff) 
14
 void es_setVideoMode(sdl_data *sd, int len, char* bp) 
(-)esdl/pkg-plist (-68 / +74 lines)
Lines 1-81 Link Here
1
lib/erlang/lib/esdl-%%VERSION%%/Readme
1
lib/erlang/lib/esdl-%%VERSION%%/src/esdl.hrl
2
lib/erlang/lib/esdl-%%VERSION%%/Readme.MacOSX-Cocoa
2
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_video.erl
3
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_util.hrl
4
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_util.erl
5
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_mouse.erl
6
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_keyboard.erl
7
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_joystick.erl
8
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_events.erl
9
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_audio.erl
10
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_active.erl
11
lib/erlang/lib/esdl-%%VERSION%%/src/sdl.erl
12
lib/erlang/lib/esdl-%%VERSION%%/src/glu_funcs.hrl
13
lib/erlang/lib/esdl-%%VERSION%%/src/glu.erl
14
lib/erlang/lib/esdl-%%VERSION%%/src/glext_funcs.hrl
15
lib/erlang/lib/esdl-%%VERSION%%/src/gl_funcs.hrl
16
lib/erlang/lib/esdl-%%VERSION%%/src/gl.erl
17
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_video_funcs.hrl
3
lib/erlang/lib/esdl-%%VERSION%%/c_src/CPS.h
18
lib/erlang/lib/esdl-%%VERSION%%/c_src/CPS.h
4
lib/erlang/lib/esdl-%%VERSION%%/c_src/SDLMain.h
5
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl.h
6
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_audio.c
7
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_audio.h
8
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_conv.h
9
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_driver.c
10
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_events.c
11
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_events.h
12
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_gen.c
13
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_gl.c
14
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_gl.h
15
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glext.c
16
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glext.h
17
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glu.c
18
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glu.h
19
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_spec.c
20
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_util.c
21
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_util.h
22
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_video.c
23
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_video.h
24
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_wrapper.c
19
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_wrapper.c
20
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_video.h
21
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_video.c
22
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_util.h
23
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_util.c
24
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_spec.c
25
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_sdl_fp.h
26
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glu_fp.h
27
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glu.h
28
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glu.c
29
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glext_fp.h
30
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glext.h
31
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glext.c
32
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_gl_fp.h
33
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_gl.h
34
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_gl.c
35
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_gen.c
36
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_events.h
37
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_events.c
38
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_driver.c
39
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_conv.h
40
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_audio.h
41
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_audio.c
42
lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl.h
43
lib/erlang/lib/esdl-%%VERSION%%/c_src/SDLMain.h
25
lib/erlang/lib/esdl-%%VERSION%%/c_src/hexdump.c
44
lib/erlang/lib/esdl-%%VERSION%%/c_src/hexdump.c
45
lib/erlang/lib/esdl-%%VERSION%%/include/gl.hrl
46
lib/erlang/lib/esdl-%%VERSION%%/include/sdl_mouse.hrl
47
lib/erlang/lib/esdl-%%VERSION%%/include/sdl_keyboard.hrl
48
lib/erlang/lib/esdl-%%VERSION%%/include/sdl_joystick.hrl
49
lib/erlang/lib/esdl-%%VERSION%%/include/sdl_events.hrl
50
lib/erlang/lib/esdl-%%VERSION%%/include/sdl_audio.hrl
51
lib/erlang/lib/esdl-%%VERSION%%/include/sdl_active.hrl
52
lib/erlang/lib/esdl-%%VERSION%%/include/sdl.hrl
53
lib/erlang/lib/esdl-%%VERSION%%/include/glu.hrl
54
lib/erlang/lib/esdl-%%VERSION%%/include/sdl_video.hrl
26
lib/erlang/lib/esdl-%%VERSION%%/doc/gl.html
55
lib/erlang/lib/esdl-%%VERSION%%/doc/gl.html
27
lib/erlang/lib/esdl-%%VERSION%%/doc/glu.html
28
lib/erlang/lib/esdl-%%VERSION%%/doc/index.html
29
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl.html
30
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_active.html
31
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_audio.html
32
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_events.html
33
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_joystick.html
34
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_keyboard.html
35
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_mouse.html
36
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_util.html
56
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_util.html
57
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_mouse.html
58
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_keyboard.html
59
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_joystick.html
60
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_events.html
61
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_audio.html
62
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_active.html
63
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl.html
64
lib/erlang/lib/esdl-%%VERSION%%/doc/index.html
65
lib/erlang/lib/esdl-%%VERSION%%/doc/glu.html
37
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_video.html
66
lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_video.html
38
lib/erlang/lib/esdl-%%VERSION%%/ebin/gl.beam
67
lib/erlang/lib/esdl-%%VERSION%%/ebin/gl.beam
39
lib/erlang/lib/esdl-%%VERSION%%/ebin/glu.beam
40
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl.beam
41
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_active.beam
42
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_audio.beam
43
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_events.beam
44
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_joystick.beam
45
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_keyboard.beam
46
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_mouse.beam
47
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_util.beam
68
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_util.beam
69
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_mouse.beam
70
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_keyboard.beam
71
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_joystick.beam
72
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_events.beam
73
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_audio.beam
74
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_active.beam
75
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl.beam
76
lib/erlang/lib/esdl-%%VERSION%%/ebin/glu.beam
48
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_video.beam
77
lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_video.beam
49
lib/erlang/lib/esdl-%%VERSION%%/include/gl.hrl
78
lib/erlang/lib/esdl-%%VERSION%%/ebin
50
lib/erlang/lib/esdl-%%VERSION%%/include/glu.hrl
51
lib/erlang/lib/esdl-%%VERSION%%/include/old_gl.hrl
52
lib/erlang/lib/esdl-%%VERSION%%/include/sdl.hrl
53
lib/erlang/lib/esdl-%%VERSION%%/include/sdl_active.hrl
54
lib/erlang/lib/esdl-%%VERSION%%/include/sdl_audio.hrl
55
lib/erlang/lib/esdl-%%VERSION%%/include/sdl_events.hrl
56
lib/erlang/lib/esdl-%%VERSION%%/include/sdl_joystick.hrl
57
lib/erlang/lib/esdl-%%VERSION%%/include/sdl_keyboard.hrl
58
lib/erlang/lib/esdl-%%VERSION%%/include/sdl_mouse.hrl
59
lib/erlang/lib/esdl-%%VERSION%%/include/sdl_video.hrl
60
lib/erlang/lib/esdl-%%VERSION%%/license.terms
61
lib/erlang/lib/esdl-%%VERSION%%/priv/sdl_driver.so
79
lib/erlang/lib/esdl-%%VERSION%%/priv/sdl_driver.so
62
lib/erlang/lib/esdl-%%VERSION%%/src/esdl.hrl
80
lib/erlang/lib/esdl-%%VERSION%%/priv
63
lib/erlang/lib/esdl-%%VERSION%%/src/gl.erl
81
lib/erlang/lib/esdl-%%VERSION%%/Readme.win32
64
lib/erlang/lib/esdl-%%VERSION%%/src/gl_funcs.hrl
82
lib/erlang/lib/esdl-%%VERSION%%/Readme.MacOSX-Cocoa
65
lib/erlang/lib/esdl-%%VERSION%%/src/glext_funcs.hrl
83
lib/erlang/lib/esdl-%%VERSION%%/Readme
66
lib/erlang/lib/esdl-%%VERSION%%/src/glu.erl
84
lib/erlang/lib/esdl-%%VERSION%%/license.terms
67
lib/erlang/lib/esdl-%%VERSION%%/src/glu_funcs.hrl
68
lib/erlang/lib/esdl-%%VERSION%%/src/sdl.erl
69
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_active.erl
70
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_audio.erl
71
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_events.erl
72
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_joystick.erl
73
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_keyboard.erl
74
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_mouse.erl
75
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_util.erl
76
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_util.hrl
77
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_video.erl
78
lib/erlang/lib/esdl-%%VERSION%%/src/sdl_video_funcs.hrl
79
lib/erlang/lib/esdl-%%VERSION%%/vsn
85
lib/erlang/lib/esdl-%%VERSION%%/vsn
80
@dirrm lib/erlang/lib/esdl-%%VERSION%%/src
86
@dirrm lib/erlang/lib/esdl-%%VERSION%%/src
81
@dirrm lib/erlang/lib/esdl-%%VERSION%%/priv
87
@dirrm lib/erlang/lib/esdl-%%VERSION%%/priv

Return to bug 59382