1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

* Update to 0.2.7

* Mirror distfile (as it's no longer on SF)
* Add option to support new sdl_gfx renderer

PR:		111432
Submitted by:	Dmitry Marakasov <amdmi3 AT amdmi3.ru> (maintainer)
Approved by:	clsung (mentor)
This commit is contained in:
Li-Wen Hsu 2007-04-10 06:08:47 +00:00
parent 3dfa4ba65a
commit ace2058823
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189636
2 changed files with 16 additions and 8 deletions

View File

@ -6,10 +6,10 @@
#
PORTNAME= xmoto
PORTVERSION= 0.2.6
PORTVERSION= 0.2.7
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MASTER_SITES= http://download.tuxfamily.org/xmoto/xmoto/${PORTVERSION}/ \
http://www.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= amdmi3@amdmi3.ru
@ -22,7 +22,6 @@ BUILD_DEPENDS= ${X11BASE}/lib/libode.a:${PORTSDIR}/devel/ode
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GL= yes
USE_LUA= 5.1
USE_SDL= sdl mixer
USE_DOS2UNIX= src/*.cpp src/*.h
@ -40,7 +39,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTDOCS= README ChangeLog
OPTIONS= WWW "Online high-scores and new levels download support" on \
ZOOM "Enable zooming" off
ZOOM "Enable zooming" off \
SDL_GFX "Use sdl_gfx rendering instead of OpenGL" off
MAN6= xmoto.6
@ -59,6 +59,14 @@ CONFIGURE_ARGS+= --with-enable-zoom=1
CONFIGURE_ARGS+= --with-enable-zoom=0
.endif
.if defined(WITH_SDL_GFX)
USE_SDL+= gfx
CONFIGURE_ARGS+=--with-renderer-sdlGfx=1 --with-renderer-openGl=0
.else
USE_GL= yes
CONFIGURE_ARGS+=--with-renderer-sdlGfx=0 --with-renderer-openGl=1
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""

View File

@ -1,3 +1,3 @@
MD5 (xmoto-0.2.6-src.tar.gz) = 975cc0eb58a689f917f454ad3ddb9f22
SHA256 (xmoto-0.2.6-src.tar.gz) = accd7e901c4c180db55fbe75fe27c48d20a989da54b8faa396742d6dd1918a1b
SIZE (xmoto-0.2.6-src.tar.gz) = 12236629
MD5 (xmoto-0.2.7-src.tar.gz) = 4b079ea010561584a61b3d6384b942fc
SHA256 (xmoto-0.2.7-src.tar.gz) = 6764a7e9148af801eef4870ddab2c2109665d5760acb3d805f073449a83e4e54
SIZE (xmoto-0.2.7-src.tar.gz) = 12399222