diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2007-04-10 06:08:47 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2007-04-10 06:08:47 +0000 |
commit | ace2058823480ff86818622c1cd8b770867f46bc (patch) | |
tree | 25365ca92f3aa967bab00b6b1ef381ca798dc460 /games | |
parent | Automatically substitude PREFIX in pkg-message, so it's clearer for user wher... (diff) |
* 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)
Notes
Notes:
svn path=/head/; revision=189636
Diffstat (limited to 'games')
-rw-r--r-- | games/xmoto/Makefile | 18 | ||||
-rw-r--r-- | games/xmoto/distinfo | 6 |
2 files changed, 16 insertions, 8 deletions
diff --git a/games/xmoto/Makefile b/games/xmoto/Makefile index 0df52193a654..7b3d2ce704bb 100644 --- a/games/xmoto/Makefile +++ b/games/xmoto/Makefile @@ -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="" diff --git a/games/xmoto/distinfo b/games/xmoto/distinfo index 7e0c3743e8ec..b3ec79eb53be 100644 --- a/games/xmoto/distinfo +++ b/games/xmoto/distinfo @@ -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 |