ports/97509: [MAINTAINER] games/xmoto: Update to 0.1.14

Dmitry Marakasov amdmi3 at mail.ru
Sat May 20 00:40:18 UTC 2006


>Number:         97509
>Category:       ports
>Synopsis:       [MAINTAINER] games/xmoto: Update to 0.1.14
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 20 00:40:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu May 11 15:07:32 MSD 2006 amdmi3 at hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
Update to 0.1.14. Add OPTIONS to enable/disable optional libcurl dependancy.

Changes:
* New version numbering policy: If the last number is even it's a stable X-Moto release, otherwise it's an unstable development version (from CVS).
* Major bug in the player head/entity collision detection code fixed. 
* Level files are now cached for much faster loading time.
* Integration with Nicolas Adenis-Lamarre's website; World records can now be seen inside the game, and new levels can be downloaded automatically.
* New (optional) library dependency: libcurl. If library isn't found by ./configure, the online high-score system is disabled, so please install libcurl (version 3) before upgrading to X-Moto 0.1.14. (This does not affect X-Moto on Windows, libcurl is included with the game there).
* Slight physics adjustment: It should no longer be possible to fall through the ground when standing still. Stay calm, this should NOT affect the gameplay.
* Alpha-testing enabled for sprites; which are less fuzzy looking now. Also looks better with anti-aliasing.
* Lots of new UI stuff, including context help.
* It's now possible to see what level you're playing.
* Less retarded usage of SDL_Delay(), UI more responsive.
* Fixed bug that made it difficult to click tabs in level info viewer.
* "Next Level" button also for external levels now.
* 8 new built-in levels, including 4 by Torben Green, and one by Thomas Kjaerulff.
* More control over playback of replays: Up/down to increase/decrease speed and space to pause.
* External levels ordered alphabetically.
* Automatic replay naming. 
* Various minor changes and several other small bugs fixed.
* Windows specific: Upgraded to SDL 1.2.10 and SDL_mixer 1.2.7.
>How-To-Repeat:
>Fix:

--- xmoto-0.1.14.patch begins here ---
diff -ruN xmoto.old/Makefile xmoto/Makefile
--- xmoto.old/Makefile	Wed May  3 18:58:05 2006
+++ xmoto/Makefile	Sat May 20 04:24:52 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	xmoto
-PORTVERSION=	0.1.12
+PORTVERSION=	0.1.14
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -36,11 +36,22 @@
 
 PORTDOCS=	README ChangeLog
 
+OPTIONS=	CURL	"Online high-scores and new levels download support"	on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_CURL)
+LIB_DEPENDS+=	curl.3:${PORTSDIR}/ftp/curl
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/src/VCommon.h
 	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/image/tim_memory_crt.cpp
 	@${REINPLACE_CMD} -e 's|endian.h|sys/endian.h|' ${WRKSRC}/src/VCommon.h
 	@${REINPLACE_CMD} -e '/LIBS/ s|\(-lSDL_mixer\)|\1 `${SDL_CONFIG} --libs`|' ${WRKSRC}/configure
+.if !defined(WITH_CURL)
+	@${REINPLACE_CMD} -e 's|test $$ac_cv_lib_curl_curl_easy_init = yes|false|' ${WRKSRC}/configure
+.endif
 
 .if !defined(NOPORTDOCS)
 post-install:
@@ -50,4 +61,4 @@
 .endfor
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN xmoto.old/distinfo xmoto/distinfo
--- xmoto.old/distinfo	Sun Apr  9 23:25:58 2006
+++ xmoto/distinfo	Sat May 20 04:24:52 2006
@@ -1,3 +1,3 @@
-MD5 (xmoto-0.1.12-src.tar.gz) = 11dfdeb406d4cc1e50e6057fd2cb625a
-SHA256 (xmoto-0.1.12-src.tar.gz) = 824af12df3389ccb4dfb5522f546ba9fb1c1c0ed7e71d65f34b692da93780dd7
-SIZE (xmoto-0.1.12-src.tar.gz) = 2880034
+MD5 (xmoto-0.1.14-src.tar.gz) = f2826bd3cc19daba25a6bdf92b1d6461
+SHA256 (xmoto-0.1.14-src.tar.gz) = cf796c32a8e22546798c00575201d552b59c7b4050275794fff2f5860db9008c
+SIZE (xmoto-0.1.14-src.tar.gz) = 2920614
--- xmoto-0.1.14.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list