ports/116095: [MAINTAINER] games/xmoto: update to 0.3.3

Dmitry Marakasov amdmi3 at amdmi3.ru
Tue Sep 4 21:50:03 UTC 2007


>Number:         116095
>Category:       ports
>Synopsis:       [MAINTAINER] games/xmoto: update to 0.3.3
>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:   Tue Sep 04 21:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE-p12 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 23:12:21 MSK 2007 amdmi3 at hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
* Update to 0.3.3
* Now compiles fine WITHOUT_NLS
* Depend on sqlite via USE_SQLITE instead of LIB_DEPENDS (noted by Andrew Pantyukhin)
>How-To-Repeat:
>Fix:

--- xmoto-0.3.3.patch begins here ---
diff -ruN xmoto.orig/Makefile xmoto/Makefile
--- xmoto.orig/Makefile	Tue Sep  4 20:58:55 2007
+++ xmoto/Makefile	Tue Sep  4 22:06:02 2007
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	xmoto
-PORTVERSION=	0.3.2
+PORTVERSION=	0.3.3
 CATEGORIES=	games
 MASTER_SITES=	http://download.tuxfamily.org/xmoto/xmoto/${PORTVERSION}/ \
 		http://www.amdmi3.ru/distfiles/
@@ -18,13 +18,13 @@
 LIB_DEPENDS=	vorbis.4:${PORTSDIR}/audio/libvorbis \
 		png.5:${PORTSDIR}/graphics/png \
 		jpeg.9:${PORTSDIR}/graphics/jpeg \
-		curl.4:${PORTSDIR}/ftp/curl \
-		sqlite3:${PORTSDIR}/databases/sqlite3
+		curl.4:${PORTSDIR}/ftp/curl
 BUILD_DEPENDS=	${X11BASE}/lib/libode.a:${PORTSDIR}/devel/ode
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 USE_LUA=	5.1
+USE_SQLITE=	yes
 USE_SDL=	sdl mixer ttf
 USE_DOS2UNIX=	src/*.cpp src/*.h
 
@@ -39,7 +39,7 @@
 PORTDOCS=	README ChangeLog
 
 OPTIONS=	ZOOM	"Enable zooming"	on \
-		SDL_GFX	"Use sdl_gfx rendering instead of OpenGL"	off
+		SDL_GFX	"Use sdl_gfx rendering instead of OpenGL (broken)"	off
 
 MAN6=		xmoto.6
 
@@ -59,15 +59,14 @@
 CONFIGURE_ARGS+=--with-renderer-sdlGfx=0 --with-renderer-openGl=1
 .endif
 
-# won't compile WITHOUT_NLS ATM
-#.if !defined(WITHOUT_NLS)
+.if !defined(WITHOUT_NLS)
 USE_GETTEXT=	yes
 PLIST_SUB+=	NLS=""
 CONFIGURE_ENV+=	LIBS="-lintl"
-#.else
-#CONFIGURE_ARGS+=	--disable-nls
-#PLIST_SUB+=	NLS="@comment "
-#.endif
+.else
+CONFIGURE_ARGS+=	--disable-nls
+PLIST_SUB+=	NLS="@comment "
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|SDL/||; s|endian.h|sys/endian.h|' \
@@ -76,7 +75,7 @@
 		${WRKSRC}/src/image/tim_memory_crt.cpp
 	@${REINPLACE_CMD} -e \
 		'/LIBS/ s|-lSDL_mixer|`${SDL_CONFIG} --libs` &|; \
-		 s|function displayRequirement|displayRequirement()|; \
+		 s|^function \([a-zA-Z]*\)|\1()|; \
 		 /Locales/ s|libc|libintl|; s|lua50|luaxx|g' \
 		${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|/mang|/man6|' ${WRKSRC}/Makefile.in
diff -ruN xmoto.orig/distinfo xmoto/distinfo
--- xmoto.orig/distinfo	Tue Sep  4 20:58:55 2007
+++ xmoto/distinfo	Tue Sep  4 21:01:40 2007
@@ -1,3 +1,3 @@
-MD5 (xmoto-0.3.2-src.tar.gz) = 09f40a4cc189033ce0753eadb0a2213e
-SHA256 (xmoto-0.3.2-src.tar.gz) = dbe5143f2a6cf43d7b53f908b2c84891029be1d12df13fdfdc6ece7d11861432
-SIZE (xmoto-0.3.2-src.tar.gz) = 16954891
+MD5 (xmoto-0.3.3-src.tar.gz) = f1f7726a8856f9c9efa2ae8e3192bb7f
+SHA256 (xmoto-0.3.3-src.tar.gz) = c5fa955733f4ea785a3bc78002082507d7e9f99eab5ba1dd28710761893be9b4
+SIZE (xmoto-0.3.3-src.tar.gz) = 16958347
diff -ruN xmoto.orig/pkg-plist xmoto/pkg-plist
--- xmoto.orig/pkg-plist	Tue Sep  4 20:58:55 2007
+++ xmoto/pkg-plist	Tue Sep  4 22:21:45 2007
@@ -12,6 +12,7 @@
 %%NLS%%share/locale/no_NO/LC_MESSAGES/xmoto.mo
 %%NLS%%share/locale/pl_PL/LC_MESSAGES/xmoto.mo
 %%NLS%%share/locale/pt_BR/LC_MESSAGES/xmoto.mo
+%%NLS%%share/locale/pt_PT/LC_MESSAGES/xmoto.mo
 %%NLS%%share/locale/ru_RU/LC_MESSAGES/xmoto.mo
 %%NLS%%share/locale/sk_SK/LC_MESSAGES/xmoto.mo
 %%NLS%%share/locale/sv_SE/LC_MESSAGES/xmoto.mo
@@ -30,6 +31,8 @@
 %%NLS%%@dirrmtry share/locale/de_DE
 %%NLS%%@dirrmtry share/locale/fi_FI/LC_MESSAGES
 %%NLS%%@dirrmtry share/locale/fi_FI
+%%NLS%%@dirrmtry share/locale/fr_FR/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/fr_FR
 %%NLS%%@dirrmtry share/locale/it_IT/LC_MESSAGES
 %%NLS%%@dirrmtry share/locale/it_IT
 %%NLS%%@dirrmtry share/locale/lv_LV/LC_MESSAGES
--- xmoto-0.3.3.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list