ports/87143: New port: games/xmoto Challenging 2D motocross platform game
Dmitry Marakasov
amdmi3 at mail.ru
Sun Oct 9 00:00:34 UTC 2005
>Number: 87143
>Category: ports
>Synopsis: New port: games/xmoto Challenging 2D motocross platform game
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 09 00:00:33 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Dmitry Marakasov
>Release: FreeBSD 5.4-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #4: Mon Sep 12 01:19:38 MSD 2005 amdmi3 at hades.panopticon:/usr/obj/usr/src/sys/HADES i386
>Description:
X-Moto is a challenging 2D motocross platform game, where physics
play an all important role in the gameplay. You need to control
your bike to its limit, if you want to have a chance finishing the
more difficult of the challenges.
First you'll try just to complete the levels, while later you'll
compete with yourself and others, racing against the clock.
WWW: http://xmoto.sourceforge.net/
- Dmitry Marakasov <amdmi3 at mail.ru>
>How-To-Repeat:
>Fix:
--- xmoto-0.1.6.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# xmoto
# xmoto/distinfo
# xmoto/Makefile
# xmoto/pkg-descr
# xmoto/pkg-plist
# xmoto/files
# xmoto/files/patch-configure
# xmoto/files/patch-Makefile.in
#
echo c - xmoto
mkdir -p xmoto > /dev/null 2>&1
echo x - xmoto/distinfo
sed 's/^X//' >xmoto/distinfo << 'END-of-xmoto/distinfo'
XMD5 (xmoto-0.1.6-src.tar.gz) = b5d11e0f90ab5ff886c1dc90fa15cb2e
XSIZE (xmoto-0.1.6-src.tar.gz) = 2780752
END-of-xmoto/distinfo
echo x - xmoto/Makefile
sed 's/^X//' >xmoto/Makefile << 'END-of-xmoto/Makefile'
X# New ports collection makefile for: xmoto
X# Date created: 07 Oct 2005
X# Whom: Dmitry Marakasov <amdmi3 at mail.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME= xmoto
XPORTVERSION= 0.1.6
XCATEGORIES= games
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= ${PORTNAME}
XDISTNAME= ${PORTNAME}-${PORTVERSION}-src
X
XMAINTAINER= amdmi3 at mail.ru
XCOMMENT= Challenging 2D motocross platform game
X
XLIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis \
X png.5:${PORTSDIR}/graphics/png \
X jpeg.9:${PORTSDIR}/graphics/jpeg
X
XUSE_SDL= sdl
XUSE_GL= yes
XUSE_GMAKE= yes
XGNU_CONFIGURE= yes
XCONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
X CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
X SDL_CONFIG="${SDL_CONFIG}"
XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XUSE_REINPLACE= yes
X
XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/src/VCommon.h
X @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/ode/config.h ${WRKSRC}/src/image/tim_memory_crt.cpp
X @${FIND} ${WRKSRC}/src -name "*.cpp" -o -name "*.h" | ${XARGS} ${REINPLACE_CMD} -e "s|$$(${PRINTF} '\r')||g"
X
X.include <bsd.port.mk>
END-of-xmoto/Makefile
echo x - xmoto/pkg-descr
sed 's/^X//' >xmoto/pkg-descr << 'END-of-xmoto/pkg-descr'
XX-Moto is a challenging 2D motocross platform game, where physics
Xplay an all important role in the gameplay. You need to control
Xyour bike to its limit, if you want to have a chance finishing the
Xmore difficult of the challenges.
X
XFirst you'll try just to complete the levels, while later you'll
Xcompete with yourself and others, racing against the clock.
X
XWWW: http://xmoto.sourceforge.net/
X
X- Dmitry Marakasov <amdmi3 at mail.ru>
END-of-xmoto/pkg-descr
echo x - xmoto/pkg-plist
sed 's/^X//' >xmoto/pkg-plist << 'END-of-xmoto/pkg-plist'
Xbin/xmoto
Xbin/xmoto-edit
X%%DATADIR%%/anims.dat
X%%DATADIR%%/sprites.dat
X%%DATADIR%%/editor.dat
X%%DATADIR%%/fonts.dat
X%%DATADIR%%/xmoto.bin
X at dirrm %%DATADIR%%
END-of-xmoto/pkg-plist
echo c - xmoto/files
mkdir -p xmoto/files > /dev/null 2>&1
echo x - xmoto/files/patch-configure
sed 's/^X//' >xmoto/files/patch-configure << 'END-of-xmoto/files/patch-configure'
X--- configure.orig Thu Oct 6 19:21:49 2005
X+++ configure Fri Oct 7 04:53:57 2005
X@@ -3377,7 +3377,7 @@
X echo $ECHO_N "(cached) $ECHO_C" >&6
X else
X ac_check_lib_save_LIBS=$LIBS
X-LIBS="-lSDL $LIBS"
X+LIBS="`$SDL_CONFIG --libs` $LIBS"
X cat >conftest.$ac_ext <<_ACEOF
X /* confdefs.h. */
X _ACEOF
X@@ -3439,7 +3439,7 @@
X #define HAVE_LIBSDL 1
X _ACEOF
X
X- LIBS="-lSDL $LIBS"
X+ LIBS="`$SDL_CONFIG --libs` $LIBS"
X
X else
X
END-of-xmoto/files/patch-configure
echo x - xmoto/files/patch-Makefile.in
sed 's/^X//' >xmoto/files/patch-Makefile.in << 'END-of-xmoto/files/patch-Makefile.in'
X--- Makefile.in.orig Thu Oct 6 19:21:49 2005
X+++ Makefile.in Fri Oct 7 18:25:32 2005
X@@ -76,8 +76,8 @@
X am__quote = @am__quote@
X install_sh = @install_sh@
X INCLUDES = -Isrc
X-CXXFLAGS = -w -O3 -DGAMEDATADIR=\"$(datadir)/@PACKAGE@\"
X-CFLAGS = -w -O3 -DGAMEDATADIR=\"$(datadir)/@PACKAGE@\"
X+CXXFLAGS = @CXXFLAGS@ -DGAMEDATADIR=\"$(datadir)/@PACKAGE@\"
X+CFLAGS = @CFLAGS@ -DGAMEDATADIR=\"$(datadir)/@PACKAGE@\"
X SUBDIRS = bin
X
X image_SOURCES = src/image/tim.cpp src/image/tim_io_stdio.cpp \
END-of-xmoto/files/patch-Makefile.in
exit
--- xmoto-0.1.6.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list