Date: Mon, 19 Dec 2005 11:52:28 +0300 (MSK) From: Dmitry Marakasov <amdmi3@mail.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/90642: New port: games/toycars Physics-based 2D racing game Message-ID: <20051219085228.A505D217@hades.panopticon> Resent-Message-ID: <200512190850.jBJ8o3h5001809@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 90642 >Category: ports >Synopsis: New port: games/toycars Physics-based 2D racing 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: Mon Dec 19 08:50: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 #1: Sun Dec 18 08:07:07 MSK 2005 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: Toy Cars is a physics based 2-D racer. The graphics and the interface use SDL and OpenGL. Toy Cars is partly inspired by Micromachines and partly by the old Atari ST game called Jupiter's Masterdrive. WWW: http://sourceforge.net/projects/toycars/ >How-To-Repeat: >Fix: --- toycars-0.2.5.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: # # toycars # toycars/Makefile # toycars/distinfo # toycars/files # toycars/files/patch-src-Player.cpp # toycars/files/patch-src-ToyCar.h # toycars/pkg-descr # toycars/pkg-plist # echo c - toycars mkdir -p toycars > /dev/null 2>&1 echo x - toycars/Makefile sed 's/^X//' >toycars/Makefile << 'END-of-toycars/Makefile' X# New ports collection makefile for: toycars X# Date created: 15 Dec 2005 X# Whom: Dmitry Marakasov <amdmi3@mail.ru> X# X# $FreeBSD$ X# X XPORTNAME= toycars XPORTVERSION= 0.2.5 XCATEGORIES= games XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= toycars X XMAINTAINER= amdmi3@mail.ru XCOMMENT= Physics-based 2D racing game X XUSE_SDL= image sdl XUSE_GMAKE= yes XGNU_CONFIGURE= yes XUSE_REINPLACE= yes X XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" X X.include <bsd.port.mk> END-of-toycars/Makefile echo x - toycars/distinfo sed 's/^X//' >toycars/distinfo << 'END-of-toycars/distinfo' XMD5 (toycars-0.2.5.tar.gz) = aab7be40e4e12d465752bd94f09e3268 XSHA256 (toycars-0.2.5.tar.gz) = 3f0022e8b368109997d23781cdade47a0c45655d1d4182b97106ca0a9a0c86bb XSIZE (toycars-0.2.5.tar.gz) = 3278359 END-of-toycars/distinfo echo c - toycars/files mkdir -p toycars/files > /dev/null 2>&1 echo x - toycars/files/patch-src-Player.cpp sed 's/^X//' >toycars/files/patch-src-Player.cpp << 'END-of-toycars/files/patch-src-Player.cpp' X--- src/Player.cpp.orig Sat Nov 26 01:04:36 2005 X+++ src/Player.cpp Mon Dec 19 11:26:04 2005 X@@ -33,6 +33,10 @@ X X // member functions X X+#ifndef INFINITY X+#define INFINITY MAXFLOAT X+#endif X+ X Player::Player(ToyCar& inCar) X : car(inCar), lapFlag(-1), laps(0), curLap(0.0), prevLap(0.0), bestLapTime(INFINITY), courseTime(0.0) X { END-of-toycars/files/patch-src-Player.cpp echo x - toycars/files/patch-src-ToyCar.h sed 's/^X//' >toycars/files/patch-src-ToyCar.h << 'END-of-toycars/files/patch-src-ToyCar.h' X--- src/ToyCar.h.orig Mon Dec 12 04:11:19 2005 X+++ src/ToyCar.h Mon Dec 19 11:39:10 2005 X@@ -25,6 +25,11 @@ X #include "WheelSprite.h" X #include "ScSprite.h" X X+#include <stdio.h> X+#include <time.h> X+#include <unistd.h> X+#include <string> X+ X // ToyCar class X X class ToyCar : public Vehicle, public ScSprite END-of-toycars/files/patch-src-ToyCar.h echo x - toycars/pkg-descr sed 's/^X//' >toycars/pkg-descr << 'END-of-toycars/pkg-descr' XToy Cars is a physics based 2-D racer. The graphics and the interface Xuse SDL and OpenGL. X XToy Cars is partly inspired by Micromachines and partly by the old XAtari ST game called Jupiter's Masterdrive. X XWWW: http://sourceforge.net/projects/toycars/ END-of-toycars/pkg-descr echo x - toycars/pkg-plist sed 's/^X//' >toycars/pkg-plist << 'END-of-toycars/pkg-plist' Xbin/toycars X%%DATADIR%%/data/cars/carslist.xml X%%DATADIR%%/data/cars/concept_sedan/concept_sedan.png X%%DATADIR%%/data/cars/concept_sedan/concept_sedan.xml X%%DATADIR%%/data/cars/concept_sedan/concept_sedan_wheel.png X%%DATADIR%%/data/cars/dodge-viper/dodge-viper-sprite.png X%%DATADIR%%/data/cars/dodge-viper/dodge-viper.xml X%%DATADIR%%/data/cars/dodge-viper/wheel.png X%%DATADIR%%/data/cars/ferrari-f1/ferrari-f1-sprite.png X%%DATADIR%%/data/cars/ferrari-f1/ferrari-f1.xml X%%DATADIR%%/data/cars/ferrari-f1/ferrari-wheel-sprite.png X%%DATADIR%%/data/fonts/cricket1.glf X%%DATADIR%%/data/images/bombsprite.png X%%DATADIR%%/data/images/loading.png X%%DATADIR%%/data/images/needle.png X%%DATADIR%%/data/images/title.png X%%DATADIR%%/data/tilesets/default/default.xml X%%DATADIR%%/data/tilesets/default/tiles.png X%%DATADIR%%/data/tracks/Circuit/Circuit.xml X%%DATADIR%%/data/tracks/Circuit/oval.map X%%DATADIR%%/data/tracks/Corner/Corner.xml X%%DATADIR%%/data/tracks/Corner/corner.map X%%DATADIR%%/data/tracks/Helix/Helix.xml X%%DATADIR%%/data/tracks/Helix/helix.map X%%DATADIR%%/data/tracks/Rings/Rings.xml X%%DATADIR%%/data/tracks/Rings/rings.map X%%DATADIR%%/data/tracks/tracklist.xml X@dirrm %%DATADIR%%/data/tracks/Rings X@dirrm %%DATADIR%%/data/tracks/Helix X@dirrm %%DATADIR%%/data/tracks/Corner X@dirrm %%DATADIR%%/data/tracks/Circuit X@dirrm %%DATADIR%%/data/tracks X@dirrm %%DATADIR%%/data/tilesets/default X@dirrm %%DATADIR%%/data/tilesets X@dirrm %%DATADIR%%/data/images X@dirrm %%DATADIR%%/data/fonts X@dirrm %%DATADIR%%/data/cars/ferrari-f1 X@dirrm %%DATADIR%%/data/cars/dodge-viper X@dirrm %%DATADIR%%/data/cars/concept_sedan X@dirrm %%DATADIR%%/data/cars X@dirrm %%DATADIR%%/data X@dirrm %%DATADIR%% END-of-toycars/pkg-plist exit --- toycars-0.2.5.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051219085228.A505D217>