ports/115477: [MAINTAINER] games/toycars: update to 0.3.3

Dmitry Marakasov amdmi3 at amdmi3.ru
Mon Aug 13 21:30:01 UTC 2007


>Number:         115477
>Category:       ports
>Synopsis:       [MAINTAINER] games/toycars: update to 0.3.3
>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:   Mon Aug 13 21:30:00 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE-p12 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 23:12:21 MSK 2007 amdmi3 at hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
- Update to 0.3.3
- Remove 4.x-specific patches
>How-To-Repeat:
>Fix:

--- toycars-0.3.3.patch begins here ---
diff -ruN toycars.orig/Makefile toycars/Makefile
--- toycars.orig/Makefile	Mon Aug 13 23:54:14 2007
+++ toycars/Makefile	Tue Aug 14 01:08:04 2007
@@ -6,21 +6,23 @@
 #
 
 PORTNAME=	toycars
-PORTVERSION=	0.3.2
-PORTREVISION=	1
+PORTVERSION=	0.3.3
 CATEGORIES=	games
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	toycars
+MASTER_SITES=	SF
 
 MAINTAINER=	amdmi3 at amdmi3.ru
 COMMENT=	Physics-based 2D racing game
 
+LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
+		alut.1:${PORTSDIR}/audio/freealut
+
 USE_SDL=	mixer image sdl
 USE_GL=		yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+		LDFLAGS="-L${LOCALBASE}lib -L${X11BASE}/lib"
 
 PORTDOCS=	README
 
diff -ruN toycars.orig/distinfo toycars/distinfo
--- toycars.orig/distinfo	Mon Aug 13 23:54:14 2007
+++ toycars/distinfo	Tue Aug 14 00:13:44 2007
@@ -1,3 +1,3 @@
-MD5 (toycars-0.3.2.tar.gz) = 70821d80bfc103feeeb98afb409b73aa
-SHA256 (toycars-0.3.2.tar.gz) = 46ca7231510eb3d8318933af93999d2ef3d762ae6e6d9db05287d59a70e14211
-SIZE (toycars-0.3.2.tar.gz) = 5042224
+MD5 (toycars-0.3.3.tar.gz) = fef0de40f5921c7b13866222a583129d
+SHA256 (toycars-0.3.3.tar.gz) = 0a62e2b48f2371fcdab17f016eb2e16a53489914d877bc106c7550e163f13c07
+SIZE (toycars-0.3.3.tar.gz) = 5336046
diff -ruN toycars.orig/files/patch-src-Player.cpp toycars/files/patch-src-Player.cpp
--- toycars.orig/files/patch-src-Player.cpp	Mon Aug 13 23:54:14 2007
+++ toycars/files/patch-src-Player.cpp	Thu Jan  1 03:00:00 1970
@@ -1,13 +0,0 @@
---- 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
- 
-+#ifndef INFINITY
-+#define INFINITY MAXFLOAT
-+#endif
-+
- 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 -ruN toycars.orig/files/patch-src-ToyCar.h toycars/files/patch-src-ToyCar.h
--- toycars.orig/files/patch-src-ToyCar.h	Mon Aug 13 23:54:14 2007
+++ toycars/files/patch-src-ToyCar.h	Thu Jan  1 03:00:00 1970
@@ -1,14 +0,0 @@
---- src/ToyCar.h.orig	Mon Dec 12 04:11:19 2005
-+++ src/ToyCar.h	Mon Dec 19 11:39:10 2005
-@@ -25,6 +25,11 @@
- #include "WheelSprite.h"
- #include "ScSprite.h"
- 
-+#include <stdio.h>
-+#include <time.h>
-+#include <unistd.h>
-+#include <string>
-+
- // ToyCar class
- 
- class ToyCar : public Vehicle, public ScSprite
diff -ruN toycars.orig/pkg-plist toycars/pkg-plist
--- toycars.orig/pkg-plist	Mon Aug 13 23:54:14 2007
+++ toycars/pkg-plist	Tue Aug 14 00:34:36 2007
@@ -14,21 +14,18 @@
 %%DATADIR%%/data/images/loading.png
 %%DATADIR%%/data/images/needle.png
 %%DATADIR%%/data/images/title.png
-%%DATADIR%%/data/sounds/._Motor_Car_Song.ogg
 %%DATADIR%%/data/sounds/Motor_Car_Song.ogg
-%%DATADIR%%/data/sounds/Motor_Car_Song.ogg.u53
+%%DATADIR%%/data/sounds/bang_6.wav
+%%DATADIR%%/data/sounds/engine.aiff
+%%DATADIR%%/data/sounds/engine.wav
 %%DATADIR%%/data/tilesets/default/default.xml
 %%DATADIR%%/data/tilesets/default/tiles.png
 %%DATADIR%%/data/tracks/Chewed-Oval/Chewed-Oval.map
 %%DATADIR%%/data/tracks/Chewed-Oval/Chewed-Oval.xml
-%%DATADIR%%/data/tracks/Circuit/._Circuit.xml
 %%DATADIR%%/data/tracks/Circuit/Circuit.xml
-%%DATADIR%%/data/tracks/Circuit/Circuit.xml.6xg
 %%DATADIR%%/data/tracks/Circuit/oval.map
-%%DATADIR%%/data/tracks/Corner/._Corner.xml
 %%DATADIR%%/data/tracks/Corner/Corner.xml
 %%DATADIR%%/data/tracks/Corner/corner.map
-%%DATADIR%%/data/tracks/Horseshoe/._Horseshoe.xml
 %%DATADIR%%/data/tracks/Horseshoe/Horseshoe.xml
 %%DATADIR%%/data/tracks/Horseshoe/horseshoe.map
 %%DATADIR%%/data/tracks/Rings/Rings.xml
--- toycars-0.3.3.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list