ports/89898: [MAINTAINER] games/xmoto: update to 0.1.9

Dmitry Marakasov amdmi3 at mail.ru
Sat Dec 3 21:40:03 UTC 2005


>Number:         89898
>Category:       ports
>Synopsis:       [MAINTAINER] games/xmoto: update to 0.1.9
>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 Dec 03 21:40:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 23 05:48:39 MSK 2005 amdmi3 at hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
- Update to 0.1.9
- Add SHA256
- Remove ONLY_FOR_ARCHS

Note that files subdirectory was removed.

>How-To-Repeat:
>Fix:

--- xmoto-0.1.9.patch begins here ---
diff -ruN xmoto.orig/Makefile xmoto/Makefile
--- xmoto.orig/Makefile	Sat Dec  3 23:42:54 2005
+++ xmoto/Makefile	Sat Dec  3 23:43:06 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	xmoto
-PORTVERSION=	0.1.6
+PORTVERSION=	0.1.9
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -17,13 +17,15 @@
 
 LIB_DEPENDS=	vorbis.3:${PORTSDIR}/audio/libvorbis \
 		png.5:${PORTSDIR}/graphics/png \
-		jpeg.9:${PORTSDIR}/graphics/jpeg
+		jpeg.9:${PORTSDIR}/graphics/jpeg \
+		lua.5:${PORTSDIR}/lang/lua
+BUILD_DEPENDS=	${X11BASE}/lib/libode.a:${PORTSDIR}/devel/ode
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 USE_GL=		yes
 USE_REINPLACE=	yes
-USE_SDL=	sdl
+USE_SDL=	sdl mixer
 
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
@@ -34,15 +36,13 @@
 
 PORTDOCS=	README ChangeLog
 
-# game is still in alpha state, other archs are untested
-ONLY_FOR_ARCHS=	i386
-
 post-patch:
 	@${FIND} ${WRKSRC}/src -name "*.cpp" -o -name "*.h" | \
 		${XARGS} ${REINPLACE_CMD} -e "s|$$(${PRINTF} '\r')||g"
 	@${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/src/VCommon.h
-	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/ode/config.h \
-		${WRKSRC}/src/image/tim_memory_crt.cpp
+	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/image/tim_memory_crt.cpp
+	@${REINPLACE_CMD} -e 's|-lSDL |`${SDL_CONFIG} --libs` |' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|endian.h|sys/endian.h|' ${WRKSRC}/src/VCommon.h
 
 .if !defined(NOPORTDOCS)
 post-install:
diff -ruN xmoto.orig/distinfo xmoto/distinfo
--- xmoto.orig/distinfo	Sat Dec  3 23:42:54 2005
+++ xmoto/distinfo	Fri Dec  2 16:03:59 2005
@@ -1,2 +1,3 @@
-MD5 (xmoto-0.1.6-src.tar.gz) = b5d11e0f90ab5ff886c1dc90fa15cb2e
-SIZE (xmoto-0.1.6-src.tar.gz) = 2780752
+MD5 (xmoto-0.1.9-src.tar.gz) = bb75e3d0c0c47eb927cfbec970486f67
+SHA256 (xmoto-0.1.9-src.tar.gz) = 7109dc1f5bdeccff30fe372ac79a8f6d27fb6ee7c02e0e54557a440aa8172e9b
+SIZE (xmoto-0.1.9-src.tar.gz) = 2776087
diff -ruN xmoto.orig/files/patch-Makefile.in xmoto/files/patch-Makefile.in
--- xmoto.orig/files/patch-Makefile.in	Sat Dec  3 23:42:54 2005
+++ xmoto/files/patch-Makefile.in	Thu Jan  1 03:00:00 1970
@@ -1,13 +0,0 @@
---- Makefile.in.orig	Thu Oct  6 19:21:49 2005
-+++ Makefile.in	Fri Oct  7 18:25:32 2005
-@@ -76,8 +76,8 @@
- am__quote = @am__quote@
- install_sh = @install_sh@
- INCLUDES = -Isrc
--CXXFLAGS = -w -O3 -DGAMEDATADIR=\"$(datadir)/@PACKAGE@\"
--CFLAGS = -w -O3 -DGAMEDATADIR=\"$(datadir)/@PACKAGE@\"
-+CXXFLAGS = @CXXFLAGS@ -DGAMEDATADIR=\"$(datadir)/@PACKAGE@\"
-+CFLAGS = @CFLAGS@ -DGAMEDATADIR=\"$(datadir)/@PACKAGE@\"
- SUBDIRS = bin
- 
- image_SOURCES = src/image/tim.cpp src/image/tim_io_stdio.cpp \
diff -ruN xmoto.orig/files/patch-configure xmoto/files/patch-configure
--- xmoto.orig/files/patch-configure	Sat Dec  3 23:42:54 2005
+++ xmoto/files/patch-configure	Thu Jan  1 03:00:00 1970
@@ -1,20 +0,0 @@
---- configure.orig	Thu Oct  6 19:21:49 2005
-+++ configure	Fri Oct  7 04:53:57 2005
-@@ -3377,7 +3377,7 @@
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-lSDL  $LIBS"
-+LIBS="`$SDL_CONFIG --libs`  $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h.  */
- _ACEOF
-@@ -3439,7 +3439,7 @@
- #define HAVE_LIBSDL 1
- _ACEOF
- 
--  LIBS="-lSDL $LIBS"
-+  LIBS="`$SDL_CONFIG --libs` $LIBS"
- 
- else
- 
--- xmoto-0.1.9.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list