- Update to 20100926

- Add a LOCAL mirror
- Add LICENSE
- Use dos2unix
- Provide a patch to use expose() function again (and SDL_SetPalette())

Approved by:	ehaupt (mentor)
This commit is contained in:
Ganael LAPLANCHE 2010-10-08 08:27:15 +00:00
parent 8ae326abb5
commit ba68408fe6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262609
4 changed files with 28 additions and 11 deletions

View file

@ -6,14 +6,17 @@
#
PORTNAME= openjazz
PORTVERSION= 20100427
PORTVERSION= 20100926
CATEGORIES= games
MASTER_SITES= http://alister.eu/jazz/oj/
DISTNAME= OpenJazz-src-270410
MASTER_SITES= http://alister.eu/jazz/oj/ \
LOCAL/martymac
DISTNAME= OpenJazz-src-260910
MAINTAINER= martymac@FreeBSD.org
COMMENT= Free re-implementation of the Jazz Jackrabbit(tm) game engine
LICENSE= GPLv2
WRKSRC= ${WRKDIR}
USE_ZIP= yes
@ -22,6 +25,9 @@ ALL_TARGET= OpenJazz
USE_XORG= x11 xext xrandr xrender xau xdmcp
USE_SDL= sdl
USE_DOS2UNIX= yes
DOS2UNIX_REGEX= .*\.(h|cpp)
CPPFLAGS= "-I${LOCALBASE}/include `${SDL_CONFIG} --cflags` \
-DDATAPATH=\\\"${DATADIR}/\\\" -DHOMEDIR"
LDFLAGS= "-L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs`"

View file

@ -1,3 +1,3 @@
MD5 (OpenJazz-src-270410.zip) = 6e8fc4c0bd96c3c289d5d587afa2a6b6
SHA256 (OpenJazz-src-270410.zip) = 274637a2934b9af4a8219afc531ae6582a35b6e659bd747b89007bbe69eb7a30
SIZE (OpenJazz-src-270410.zip) = 152631
MD5 (OpenJazz-src-260910.zip) = 08f8e0d9e2915139bf645c7a0a03f3e0
SHA256 (OpenJazz-src-260910.zip) = d4c18cab4717344b7adfe6b2840ae13b17590bc72ffc4b76e46bb627e6549129
SIZE (OpenJazz-src-260910.zip) = 195047

View file

@ -1,11 +1,11 @@
--- Makefile.orig 2010-03-30 16:59:54.981199076 +0000
+++ Makefile 2010-03-30 17:04:10.070142573 +0000
@@ -21,10 +21,10 @@
--- Makefile.orig 2010-10-05 16:47:06.968648948 +0000
+++ Makefile 2010-10-05 16:48:42.770653951 +0000
@@ -27,10 +27,10 @@
OpenJazz: $(objects)
- cc -Wall -o OpenJazz -lSDL -lstdc++ $(objects)
+ ${CC} ${LDFLAGS} -Wall -o OpenJazz -lstdc++ $(objects)
- cc -Wall -o OpenJazz -lSDL -lstdc++ -lz $(objects)
+ ${CC} ${LDFLAGS} -Wall -o OpenJazz -lstdc++ -lz $(objects)
%.o: %.cpp
- cc -Wall -DUSE_SOCKETS -DSCALE -Isrc -O2 -c $< -o $@

View file

@ -0,0 +1,11 @@
--- src/io/gfx/video.cpp.orig 2010-10-06 18:26:54.742621897 +0000
+++ src/io/gfx/video.cpp 2010-10-06 18:27:27.564666319 +0000
@@ -139,7 +139,7 @@
}
#endif
-#if !defined(WIZ) && (defined(CAANOO) || defined(GP2X))
+#if !defined(WIZ)
expose();
#endif