1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Upgrade to version 0.95.0630.

This commit is contained in:
Jimmy Olgeni 2005-12-02 23:25:49 +00:00
parent 55f95f61e0
commit 9a4a9be369
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150273
8 changed files with 10 additions and 74 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= esdl
PORTVERSION= 0.94.0615
PORTREVISION= 1
PORTVERSION= 0.95.0630
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -30,10 +29,6 @@ PLIST_SUB= VERSION="${PORTVERSION}"
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
BROKEN= "Does not compile on !i386"
.endif
post-install:
@${LN} -sf ${PORTNAME}-${PORTVERSION} ${PREFIX}/lib/erlang/lib/${PORTNAME}

View File

@ -1,2 +1,2 @@
MD5 (erlang/esdl-0.94.0615.src.tar.gz) = c3caede4e1af50043d89fe1b774912d8
SIZE (erlang/esdl-0.94.0615.src.tar.gz) = 404439
MD5 (erlang/esdl-0.95.0630.src.tar.gz) = e892f64e9c5f6eca037757e5c38667ce
SIZE (erlang/esdl-0.95.0630.src.tar.gz) = 416646

View File

@ -1,5 +1,8 @@
--- c_src/Makefile.ori Tue Sep 9 10:28:24 2003
+++ c_src/Makefile Mon Nov 17 18:34:14 2003
$FreeBSD$
--- c_src/Makefile.orig
+++ c_src/Makefile
@@ -11,7 +11,7 @@
include ../win32_conf/mingw_vars.mk
else
@ -29,7 +32,7 @@
CLINKFLAGS = -fpic -shared
@@ -38,13 +37,13 @@
ERL_DIR := $(shell echo 'io:format("~s~n",[code:root_dir()]),halt().' | erl | sed 's,^[0-9]*> *,,g' | tail +2)
ERL_DIR := $(shell echo 'io:format("~s~n",[code:root_dir()]),halt().' | erl | grep '1>' | sed 's,^[0-9]*> *,,g')
ERL_INCS = -I$(ERL_DIR)/usr/include
- CC = gcc

View File

@ -1,17 +0,0 @@
$FreeBSD$
--- c_src/esdl.h.orig Mon Dec 9 23:10:14 2002
+++ c_src/esdl.h Mon Dec 9 23:10:27 2002
@@ -17,7 +17,11 @@
#include <windows.h> /* needed by Windows' gl.h etc */
#include <SDL.h>
#else
+#ifdef __FreeBSD__
+#include <SDL.h>
+#else
#include <SDL/SDL.h>
+#endif
#endif

View File

@ -1,17 +0,0 @@
$FreeBSD$
--- c_src/esdl_conv.h.orig Mon Dec 9 23:11:33 2002
+++ c_src/esdl_conv.h Mon Dec 9 23:12:05 2002
@@ -23,7 +23,11 @@
#ifdef WIN32
#include <SDL_byteorder.h>
#else
+#ifdef __FreeBSD__
+#include <SDL_byteorder.h>
+#else
#include <SDL/SDL_byteorder.h>
+#endif
#endif
float readFloat(char *);

View File

@ -1,14 +0,0 @@
--- c_src/esdl_events.c.ori Tue Sep 9 10:28:24 2003
+++ c_src/esdl_events.c Mon Nov 17 18:23:24 2003
@@ -15,7 +15,11 @@
#ifdef WIN32
#include <SDL_events.h>
#else
+#ifdef __FreeBSD__
+#include <SDL_events.h>
+#else
#include <SDL/SDL_events.h>
+#endif
#endif
#define MAX_EVENT_SIZE 13

View File

@ -1,14 +0,0 @@
--- c_src/esdl_video.c.ori Tue Sep 9 10:28:24 2003
+++ c_src/esdl_video.c Mon Nov 17 18:24:48 2003
@@ -16,7 +16,11 @@
#ifdef WIN32
#include <SDL_syswm.h>
#else
+#ifdef __FreeBSD__
+#include <SDL_syswm.h>
+#else
#include <SDL/SDL_syswm.h>
+#endif
#endif
void es_setVideoMode(sdl_data *sd, int len, char* bp)

View File

@ -86,6 +86,6 @@ lib/erlang/lib/esdl-%%VERSION%%/vsn
@dirrm lib/erlang/lib/esdl-%%VERSION%%/ebin
@dirrm lib/erlang/lib/esdl-%%VERSION%%/doc
@dirrm lib/erlang/lib/esdl-%%VERSION%%/c_src
@dirrm lib/erlang/lib/esdl-%%VERSION%%/
@dirrm lib/erlang/lib/esdl-%%VERSION%%
@exec ln -sf esdl-%%VERSION%% %D/lib/erlang/lib/esdl
@unexec rm -f %D/lib/erlang/lib/esdl