aboutsummaryrefslogtreecommitdiffstats
path: root/games/xmoto
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2007-04-10 14:08:47 +0800
committerlwhsu <lwhsu@FreeBSD.org>2007-04-10 14:08:47 +0800
commitf0b14b74be11937a71e163ad1018622085da5c11 (patch)
tree9d5b81f620f7c077ef544b9a0bb8e81c35f3ec1b /games/xmoto
parentba7b75fb203538c0491ed6de14b08f1d03d0a031 (diff)
downloadfreebsd-ports-gnome-f0b14b74be11937a71e163ad1018622085da5c11.tar.gz
freebsd-ports-gnome-f0b14b74be11937a71e163ad1018622085da5c11.tar.zst
freebsd-ports-gnome-f0b14b74be11937a71e163ad1018622085da5c11.zip
* 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)
Diffstat (limited to 'games/xmoto')
-rw-r--r--games/xmoto/Makefile18
-rw-r--r--games/xmoto/distinfo6
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