From 91f8566078df504c7b81fd38229c99cae9082754 Mon Sep 17 00:00:00 2001 From: Satoshi Taoka Date: Tue, 28 Sep 1999 02:57:19 +0000 Subject: A 3D motor sports simulator PR: 12924 Submitted by: Juergen Lock --- games/gracer/Makefile | 27 ++++++++++++++++++++++++ games/gracer/distinfo | 1 + games/gracer/files/patch-aa | 50 +++++++++++++++++++++++++++++++++++++++++++++ games/gracer/pkg-comment | 1 + games/gracer/pkg-descr | 18 ++++++++++++++++ games/gracer/pkg-plist | 37 +++++++++++++++++++++++++++++++++ 6 files changed, 134 insertions(+) create mode 100644 games/gracer/Makefile create mode 100644 games/gracer/distinfo create mode 100644 games/gracer/files/patch-aa create mode 100644 games/gracer/pkg-comment create mode 100644 games/gracer/pkg-descr create mode 100644 games/gracer/pkg-plist (limited to 'games/gracer') diff --git a/games/gracer/Makefile b/games/gracer/Makefile new file mode 100644 index 000000000000..966b68ed015f --- /dev/null +++ b/games/gracer/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: gracer +# Version required: 0.1.0 +# Date created: Fri Jul 30 20:50:16 MET DST 1999 +# Whom: nox@jelal.kn-bremen.de +# +# $FreeBSD$ +# + +DISTNAME= gracer-0.1.0 +CATEGORIES= games +MASTER_SITES= http://arch.comp.kyutech.ac.jp/~matsu/my_products/gtk/race/ + +MAINTAINER= nox@jelal.kn-bremen.de + +LIB_DEPENDS= MesaGL.14:${PORTSDIR}/graphics/Mesa3 \ + gif.3:${PORTSDIR}/graphics/giflib \ + jpeg.9:${PORTSDIR}/graphics/jpeg \ + tcl80.1:${PORTSDIR}/lang/tcl80 + +# doesn't work, program still looks for its files in /usr/local +#USE_X_PREFIX= yes +USE_AUTOCONF= yes +CFLAGS+= -I${X11BASE}/include -I${LOCALBASE}/include -L${LOCALBASE}/lib +CONFIGURE_ENV+= "CPP=cc -E -I${LOCALBASE}/include" +USE_GMAKE= yes + +.include diff --git a/games/gracer/distinfo b/games/gracer/distinfo new file mode 100644 index 000000000000..8d642e900f05 --- /dev/null +++ b/games/gracer/distinfo @@ -0,0 +1 @@ +MD5 (gracer-0.1.0.tar.gz) = b0850bc93488e0fcb4517a9bb1b41e0f diff --git a/games/gracer/files/patch-aa b/games/gracer/files/patch-aa new file mode 100644 index 000000000000..44fd7b5626f6 --- /dev/null +++ b/games/gracer/files/patch-aa @@ -0,0 +1,50 @@ +Index: configure.in +@@ -209,8 +209,8 @@ + tcl_prefix=$with_tcl) + + for tcl_prefix in $tcl_prefix $exec_prefix /usr/local /usr NONE; do +- if test -r $tcl_prefix/lib/tclConfig.sh; then +- AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib]) ++ if test -r $tcl_prefix/lib/tcl8.0/tclConfig.sh; then ++ AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib/tcl8.0]) + break; + fi + done +@@ -219,29 +219,31 @@ + AC_MSG_ERROR([could't find tclConfig.sh]) + fi + +-file=${tcl_prefix}/lib/tclConfig.sh ++file=${tcl_prefix}/lib/tcl8.0/tclConfig.sh + if test ! -r ${file}; then + AC_MSG_ERROR(tclConfig.sh doesn't exist) + fi +-AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib]) ++AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib/tcl8.0]) + . $file + +-TCL_CFLAGS="-I$tcl_prefix/include" ++TCL_CFLAGS="-I$tcl_prefix/include/tcl8.0" + TCL_LDFLAGS="$TCL_LIB_SPEC $TCL_LIBS" + AC_SUBST(TCL_CFLAGS) + AC_SUBST(TCL_LDFLAGS) + + ####################################################### Check Graphics library + ++x_suffix="$X_LIBS $X_PRE_LIBS -lX11 -lXi -lXext -lXmu $X_EXTRA_LIBS -lm" ++ + AC_SUBST(GIF_LIBS) + AC_CHECK_HEADER(gif_lib.h, + AC_CHECK_LIB(ungif, DGifOpenFileHandle, +- GIF_LIBS="-lungif" ++ GIF_LIBS="-lungif", + AC_CHECK_LIB(gif, DGifOpenFileHandle, + GIF_LIBS="-lgif", + AC_MSG_ERROR([GIF library file not found]), +- $GX_LIBS), +- $GX_LIBS), ++ $x_suffix), ++ $x_suffix), + AC_MSG_ERROR([GIF header not found])) + + AC_SUBST(JPEG_LIBS) diff --git a/games/gracer/pkg-comment b/games/gracer/pkg-comment new file mode 100644 index 000000000000..654c51b686c2 --- /dev/null +++ b/games/gracer/pkg-comment @@ -0,0 +1 @@ +A 3D motor sports simulator diff --git a/games/gracer/pkg-descr b/games/gracer/pkg-descr new file mode 100644 index 000000000000..a36d1710b9db --- /dev/null +++ b/games/gracer/pkg-descr @@ -0,0 +1,18 @@ +GRacer is a 3D motor sports simulator. It's state of the art physical +simulation engine creates realistic behavior including drift, wheel +spin, and even accel turn. + +This release includes 2 type of vehicles: Formula Car (FR) and +Rally Car (4WD). It will support GP500 motorcycle near future. + +Current Feature +--------------- + - 2 vehicles and one course + - game is playable, but never finish + + ( network play is not implemented in this release ) + +developed by Takashi Matsuda + + +WWW: http://arch.comp.kyutech.ac.jp/~matsu/my_products/gtk/race/ diff --git a/games/gracer/pkg-plist b/games/gracer/pkg-plist new file mode 100644 index 000000000000..a91d8d03e3f2 --- /dev/null +++ b/games/gracer/pkg-plist @@ -0,0 +1,37 @@ +bin/gracer +share/gracer/courses/course1.grc +share/gracer/courses/course1.grs +share/gracer/courses/grass.jpg +share/gracer/courses/road.jpg +share/gracer/license +share/gracer/scenes/font.grs +share/gracer/scenes/panel.grs +share/gracer/scenes/sky.grs +share/gracer/scenes/sky.jpg +share/gracer/scripts/cache.tcl +share/gracer/scripts/glut.tcl +share/gracer/scripts/gr.tcl +share/gracer/scripts/init.tcl +share/gracer/scripts/init.tcl.in +share/gracer/scripts/ui.tcl +share/gracer/scripts/ui.tcl.in +share/gracer/vehicles/formula.grv +share/gracer/vehicles/formula/engine.dat +share/gracer/vehicles/formula/fbmu.dat +share/gracer/vehicles/formula/formula.grs +share/gracer/vehicles/formula/ftire.dat +share/gracer/vehicles/formula/rtire.dat +share/gracer/vehicles/road.grv +share/gracer/vehicles/road/engine.dat +share/gracer/vehicles/road/fbmu.dat +share/gracer/vehicles/road/ftire.dat +share/gracer/vehicles/road/road.grs +share/gracer/vehicles/road/rtire.dat +share/gracer/vehicles/road/sbmu.dat +@dirrm share/gracer/courses +@dirrm share/gracer/scenes +@dirrm share/gracer/scripts +@dirrm share/gracer/vehicles/formula +@dirrm share/gracer/vehicles/road +@dirrm share/gracer/vehicles +@dirrm share/gracer -- cgit v1.2.3