import xmoto 0.5.1

X-Moto is a challenging 2D motocross platform game, where physics plays
an all important role in the gameplay. You need to control your bike to
its limits, if you want to have a chance to finish the most difficult
challenges.

original port by jonathan armani, with tweaks by me
This commit is contained in:
jasper 2009-08-03 14:16:26 +00:00
parent 52f0bba621
commit cbc0bceedc
5 changed files with 165 additions and 0 deletions

49
games/xmoto/Makefile Normal file
View File

@ -0,0 +1,49 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/08/03 14:16:26 jasper Exp $
COMMENT = challenging 2D motocross platform game
V = 0.5.1
DISTNAME = xmoto-${V}-src
PKGNAME = xmoto-${V}
CATEGORIES = games
MAINTAINER = Jonathan Armani <dbd@asystant.net>
HOMEPAGE = http://xmoto.tuxfamily.org/
MASTER_SITES = http://download.tuxfamily.org/xmoto/xmoto/${V}/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += GL GLU SDL X11 c m pthread stdc++ z
MODULES= devel/gettext
LIB_DEPENDS = SDL_mixer::devel/sdl-mixer \
SDL_net::devel/sdl-net \
SDL_ttf::devel/sdl-ttf \
bz2::archivers/bzip2 \
curl::net/curl \
jpeg::graphics/jpeg \
ode::devel/ode \
lua::lang/lua \
png::graphics/png \
sqlite3::databases/sqlite3
USE_X11 = Yes
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
LIBS="-lGL -lm -pthread"
WRKDIST = ${WRKDIR}/${DISTNAME:S/-src//}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xmoto/
${INSTALL_DATA} ${WRKSRC}/{COPYING,README} ${PREFIX}/share/doc/xmoto/
.include <bsd.port.mk>

5
games/xmoto/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (xmoto-0.5.1-src.tar.gz) = EMuCLsjCx+lGaAZjPmm+Hw==
RMD160 (xmoto-0.5.1-src.tar.gz) = ZIpjlff+l5SAwt9Q8TY1LeXBN3M=
SHA1 (xmoto-0.5.1-src.tar.gz) = NrrDjZ+H/7ujN6BYneh7VAjXNOg=
SHA256 (xmoto-0.5.1-src.tar.gz) = Qgr5NseYPoS8Cjiu2CiFEEg4W0X2CEJrUu2RkSfhjrI=
SIZE (xmoto-0.5.1-src.tar.gz) = 22003514

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_image_tim_png_cpp,v 1.1.1.1 2009/08/03 14:16:26 jasper Exp $
--- src/image/tim_png.cpp.orig Sat Dec 6 01:05:28 2008
+++ src/image/tim_png.cpp Sat Dec 6 01:06:44 2008
@@ -25,7 +25,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston,
#include <stdio.h>
#include <string.h>
#include "tim.h"
-#include "png.h"
+#include <libpng/png.h>
/*==============================================================================
Types

12
games/xmoto/pkg/DESCR Normal file
View File

@ -0,0 +1,12 @@
X-Moto is a challenging 2D motocross platform game, where physics plays
an all important role in the gameplay. You need to control your bike to
its limits, if you want to have a chance to finish the most difficult
challenges.
If your system does not have hardware-accelerated OpenGL, you may wish
to run the game in "ugly" mode:
xmoto --ugly
This will increase the framerate significantly, sacrificing the game's
eyecandy graphics.

87
games/xmoto/pkg/PLIST Normal file
View File

@ -0,0 +1,87 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/08/03 14:16:26 jasper Exp $
@bin bin/xmoto
@man man/man6/xmoto.6
share/doc/xmoto/
share/doc/xmoto/COPYING
share/doc/xmoto/README
share/locale/ca_AD/
share/locale/ca_AD/LC_MESSAGES/
share/locale/ca_AD/LC_MESSAGES/xmoto.mo
share/locale/ca_ES/
share/locale/ca_ES/LC_MESSAGES/
share/locale/ca_ES/LC_MESSAGES/xmoto.mo
share/locale/ca_FR/
share/locale/ca_FR/LC_MESSAGES/
share/locale/ca_FR/LC_MESSAGES/xmoto.mo
share/locale/ca_IT/
share/locale/ca_IT/LC_MESSAGES/
share/locale/ca_IT/LC_MESSAGES/xmoto.mo
share/locale/cs_CZ/
share/locale/cs_CZ/LC_MESSAGES/
share/locale/cs_CZ/LC_MESSAGES/xmoto.mo
share/locale/da_DK/
share/locale/da_DK/LC_MESSAGES/
share/locale/da_DK/LC_MESSAGES/xmoto.mo
share/locale/de_DE/
share/locale/de_DE/LC_MESSAGES/
share/locale/de_DE/LC_MESSAGES/xmoto.mo
share/locale/es_ES/
share/locale/es_ES/LC_MESSAGES/
share/locale/es_ES/LC_MESSAGES/xmoto.mo
share/locale/fi_FI/
share/locale/fi_FI/LC_MESSAGES/
share/locale/fi_FI/LC_MESSAGES/xmoto.mo
share/locale/fr_FR/
share/locale/fr_FR/LC_MESSAGES/
share/locale/fr_FR/LC_MESSAGES/xmoto.mo
share/locale/hu_HU/
share/locale/hu_HU/LC_MESSAGES/
share/locale/hu_HU/LC_MESSAGES/xmoto.mo
share/locale/it_IT/
share/locale/it_IT/LC_MESSAGES/
share/locale/it_IT/LC_MESSAGES/xmoto.mo
share/locale/lt_LT/
share/locale/lt_LT/LC_MESSAGES/
share/locale/lt_LT/LC_MESSAGES/xmoto.mo
share/locale/lv_LV/
share/locale/lv_LV/LC_MESSAGES/
share/locale/lv_LV/LC_MESSAGES/xmoto.mo
share/locale/nb_NO/
share/locale/nb_NO/LC_MESSAGES/
share/locale/nb_NO/LC_MESSAGES/xmoto.mo
share/locale/nl_NL/
share/locale/nl_NL/LC_MESSAGES/
share/locale/nl_NL/LC_MESSAGES/xmoto.mo
share/locale/nn_NO/
share/locale/nn_NO/LC_MESSAGES/
share/locale/nn_NO/LC_MESSAGES/xmoto.mo
share/locale/pl_PL/
share/locale/pl_PL/LC_MESSAGES/
share/locale/pl_PL/LC_MESSAGES/xmoto.mo
share/locale/pt_BR/LC_MESSAGES/xmoto.mo
share/locale/pt_PT/
share/locale/pt_PT/LC_MESSAGES/
share/locale/pt_PT/LC_MESSAGES/xmoto.mo
share/locale/ru_RU/
share/locale/ru_RU/LC_MESSAGES/
share/locale/ru_RU/LC_MESSAGES/xmoto.mo
share/locale/sk_SK/
share/locale/sk_SK/LC_MESSAGES/
share/locale/sk_SK/LC_MESSAGES/xmoto.mo
share/locale/sv_SE/
share/locale/sv_SE/LC_MESSAGES/
share/locale/sv_SE/LC_MESSAGES/xmoto.mo
share/locale/zh_TW/LC_MESSAGES/xmoto.mo
share/xmoto/
share/xmoto/Textures/
share/xmoto/Textures/Fonts/
share/xmoto/Textures/Fonts/DejaVuSans.ttf
share/xmoto/Textures/Musics/
share/xmoto/Textures/Musics/MadeiraStew.ogg
share/xmoto/Textures/Musics/batcave.ogg
share/xmoto/Textures/Musics/legolodio.ogg
share/xmoto/Textures/Musics/menu.ogg
share/xmoto/Textures/Musics/ridealong.ogg
share/xmoto/Textures/Musics/speeditup.ogg
share/xmoto/xmoto.bin
share/xmoto/xmoto_icone_x.ico