diff options
author | miwi <miwi@FreeBSD.org> | 2006-08-26 05:19:20 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-08-26 05:19:20 +0800 |
commit | 788b64ac9e314d0c652f109fb72f858de4073e02 (patch) | |
tree | 010d047bd2eec09f81045adc3f6ec8dc2e9a2c20 /games | |
parent | bd4e796eafdfa56bffbe879f125aed523490c2fc (diff) | |
download | freebsd-ports-gnome-788b64ac9e314d0c652f109fb72f858de4073e02.tar.gz freebsd-ports-gnome-788b64ac9e314d0c652f109fb72f858de4073e02.tar.zst freebsd-ports-gnome-788b64ac9e314d0c652f109fb72f858de4073e02.zip |
- Update to 0.3.0
PR: ports/102495
Submitted by: Dmitry Marakasov <amdmi3(at)mail.ru>, (maintainer)
Approved by: krion (mentor)
Diffstat (limited to 'games')
-rw-r--r-- | games/toycars/Makefile | 10 | ||||
-rw-r--r-- | games/toycars/distinfo | 6 | ||||
-rw-r--r-- | games/toycars/files/patch-src-Player.cpp | 12 | ||||
-rw-r--r-- | games/toycars/pkg-plist | 8 |
4 files changed, 21 insertions, 15 deletions
diff --git a/games/toycars/Makefile b/games/toycars/Makefile index 6f6cf9bb3991..4156964a648f 100644 --- a/games/toycars/Makefile +++ b/games/toycars/Makefile @@ -6,8 +6,7 @@ # PORTNAME= toycars -PORTVERSION= 0.2.5 -PORTREVISION= 1 +PORTVERSION= 0.3.0 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= toycars @@ -15,10 +14,15 @@ MASTER_SITE_SUBDIR= toycars MAINTAINER= amdmi3@mail.ru COMMENT= Physics-based 2D racing game -USE_SDL= image sdl +USE_SDL= mixer image sdl +USE_GL= yes USE_GMAKE= yes GNU_CONFIGURE= yes +USE_AUTOTOOLS= aclocal:19 autoheader:259 automake:19 autoconf:259 +ACLOCAL_ARGS= -I m4 +AUTOMAKE_ARGS= -a -c + CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" PORTDOCS= README diff --git a/games/toycars/distinfo b/games/toycars/distinfo index 5c6a8a20cff1..fb45ea6336e3 100644 --- a/games/toycars/distinfo +++ b/games/toycars/distinfo @@ -1,3 +1,3 @@ -MD5 (toycars-0.2.5.tar.gz) = aab7be40e4e12d465752bd94f09e3268 -SHA256 (toycars-0.2.5.tar.gz) = 3f0022e8b368109997d23781cdade47a0c45655d1d4182b97106ca0a9a0c86bb -SIZE (toycars-0.2.5.tar.gz) = 3278359 +MD5 (toycars-0.3.0.tar.gz) = 66d8e98b1f40051d392e9bb1f4617de0 +SHA256 (toycars-0.3.0.tar.gz) = 137010bc2e86acfcdf2c7d99e6b1d3f88c0c24927463b215f4b0580149946518 +SIZE (toycars-0.3.0.tar.gz) = 4940653 diff --git a/games/toycars/files/patch-src-Player.cpp b/games/toycars/files/patch-src-Player.cpp index 6169527fffcb..789e7e83b524 100644 --- a/games/toycars/files/patch-src-Player.cpp +++ b/games/toycars/files/patch-src-Player.cpp @@ -1,6 +1,6 @@ ---- src/Player.cpp.orig Sat Nov 26 01:04:36 2005 -+++ src/Player.cpp Mon Dec 19 11:26:04 2005 -@@ -33,6 +33,10 @@ +--- src/Player.cpp.orig Sun Aug 13 14:36:55 2006 ++++ src/Player.cpp Thu Aug 24 21:22:42 2006 +@@ -31,6 +31,10 @@ // member functions @@ -8,6 +8,6 @@ +#define INFINITY MAXFLOAT +#endif + - Player::Player(ToyCar& inCar) - : car(inCar), lapFlag(-1), laps(0), curLap(0.0), prevLap(0.0), bestLapTime(INFINITY), courseTime(0.0) - { + Player::Player(ToyCar& inCar, list<Tuple> *path, int inPlayerNumber) + : car(inCar), lapFlag(0), laps(-1), curLap(-1e-1), prevLap(-1e-1), revolutions(-1), bestLapTime(INFINITY), courseTime(0.0), + pathEnd(path->end()), pathClosestPerp(INFINITY), pathSize(path->size()), playerNumber(inPlayerNumber) diff --git a/games/toycars/pkg-plist b/games/toycars/pkg-plist index de16869191ae..bb3956cf7840 100644 --- a/games/toycars/pkg-plist +++ b/games/toycars/pkg-plist @@ -14,24 +14,26 @@ bin/toycars %%DATADIR%%/data/images/loading.png %%DATADIR%%/data/images/needle.png %%DATADIR%%/data/images/title.png +%%DATADIR%%/data/sounds/Motor_Car_Song.ogg %%DATADIR%%/data/tilesets/default/default.xml %%DATADIR%%/data/tilesets/default/tiles.png %%DATADIR%%/data/tracks/Circuit/Circuit.xml %%DATADIR%%/data/tracks/Circuit/oval.map %%DATADIR%%/data/tracks/Corner/Corner.xml %%DATADIR%%/data/tracks/Corner/corner.map -%%DATADIR%%/data/tracks/Helix/Helix.xml -%%DATADIR%%/data/tracks/Helix/helix.map +%%DATADIR%%/data/tracks/Horseshoe/Horseshoe.xml +%%DATADIR%%/data/tracks/Horseshoe/horseshoe.map %%DATADIR%%/data/tracks/Rings/Rings.xml %%DATADIR%%/data/tracks/Rings/rings.map %%DATADIR%%/data/tracks/tracklist.xml @dirrm %%DATADIR%%/data/tracks/Rings -@dirrm %%DATADIR%%/data/tracks/Helix +@dirrm %%DATADIR%%/data/tracks/Horseshoe @dirrm %%DATADIR%%/data/tracks/Corner @dirrm %%DATADIR%%/data/tracks/Circuit @dirrm %%DATADIR%%/data/tracks @dirrm %%DATADIR%%/data/tilesets/default @dirrm %%DATADIR%%/data/tilesets +@dirrm %%DATADIR%%/data/sounds @dirrm %%DATADIR%%/data/images @dirrm %%DATADIR%%/data/fonts @dirrm %%DATADIR%%/data/cars/ferrari-f1 |