Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Aug 1999 22:14:33 +0200 (MET DST)
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12924: port of GRacer, a 3D motor sports simulator
Message-ID:  <199908012014.WAA01922@saturn.kn-bremen.de>

next in thread | raw e-mail | index | archive | help

>Number:         12924
>Category:       ports
>Synopsis:       port of GRacer, a 3D motor sports simulator
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug  2 06:30:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Juergen Lock
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
me?  organized?
>Environment:

	FreeBSD 3.2-STABLE i386

>Description:

	I just did something i haven't done for years...  I ported
	a game :)

>How-To-Repeat:

	As usual, unshar in an empty dir, make install, enjoy.

>Fix:
	
# 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:
#
#	Makefile
#	files/
#	files/md5
#	pkg/
#	pkg/COMMENT
#	pkg/DESCR
#	pkg/PLIST
#	patches/
#	patches/patch-aa
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for:   gracer
X# Version required:    0.1.0
X# Date created:        Fri Jul 30 20:50:16 MET DST 1999
X# Whom:                nox@jelal.kn-bremen.de
X#
X# $Id: $
X#
X
XDISTNAME= 	gracer-0.1.0
XCATEGORIES=	games
XMASTER_SITES=	http://arch.comp.kyutech.ac.jp/~matsu/my_products/gtk/race/
X
XMAINTAINER=	nox@jelal.kn-bremen.de
X
XLIB_DEPENDS=	MesaGL.14:${PORTSDIR}/graphics/Mesa3 \
X		gif.3:${PORTSDIR}/graphics/giflib \
X		jpeg.9:${PORTSDIR}/graphics/jpeg \
X		tcl80.1:${PORTSDIR}/lang/tcl80
X
X# doesn't work, program still looks for its files in /usr/local
X#USE_X_PREFIX=	yes
XUSE_AUTOCONF=	yes
XGNU_CONFIGURE=	yes
XCFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
XCONFIGURE_ENV+=	"CPP=cc -E -I${LOCALBASE}/include"
XUSE_GMAKE=	yes
X
X.include <bsd.port.mk>
END-of-Makefile
echo c - files/
mkdir -p files/ > /dev/null 2>&1
echo x - files/md5
sed 's/^X//' >files/md5 << 'END-of-files/md5'
XMD5 (gracer-0.1.0.tar.gz) = b0850bc93488e0fcb4517a9bb1b41e0f
END-of-files/md5
echo c - pkg/
mkdir -p pkg/ > /dev/null 2>&1
echo x - pkg/COMMENT
sed 's/^X//' >pkg/COMMENT << 'END-of-pkg/COMMENT'
XA 3D motor sports simulator
END-of-pkg/COMMENT
echo x - pkg/DESCR
sed 's/^X//' >pkg/DESCR << 'END-of-pkg/DESCR'
XGRacer is a 3D motor sports simulator. It's state of the art physical
Xsimulation engine creates realistic behavior including drift, wheel
Xspin, and even accel turn.
X
XThis release includes 2 type of vehicles: Formula Car (FR) and
XRally Car (4WD). It will support GP500 motorcycle near future.
X
XCurrent Feature
X---------------
X  - 2 vehicles and one course
X  - game is playable, but never finish
X
X ( network play is not implemented in this release )
X
Xdeveloped by Takashi Matsuda
X<matsu@arch.comp.kyutech.ac.jp>
X
XWWW: http://arch.comp.kyutech.ac.jp/~matsu/my_products/gtk/race/
END-of-pkg/DESCR
echo x - pkg/PLIST
sed 's/^X//' >pkg/PLIST << 'END-of-pkg/PLIST'
Xbin/gracer
Xshare/gracer/courses/course1.grc
Xshare/gracer/courses/course1.grs
Xshare/gracer/courses/grass.jpg
Xshare/gracer/courses/road.jpg
Xshare/gracer/license
Xshare/gracer/scenes/font.grs
Xshare/gracer/scenes/panel.grs
Xshare/gracer/scenes/sky.grs
Xshare/gracer/scenes/sky.jpg
Xshare/gracer/scripts/cache.tcl
Xshare/gracer/scripts/glut.tcl
Xshare/gracer/scripts/gr.tcl
Xshare/gracer/scripts/init.tcl
Xshare/gracer/scripts/init.tcl.in
Xshare/gracer/scripts/ui.tcl
Xshare/gracer/scripts/ui.tcl.in
Xshare/gracer/vehicles/formula.grv
Xshare/gracer/vehicles/formula/engine.dat
Xshare/gracer/vehicles/formula/fbmu.dat
Xshare/gracer/vehicles/formula/formula.grs
Xshare/gracer/vehicles/formula/ftire.dat
Xshare/gracer/vehicles/formula/rtire.dat
Xshare/gracer/vehicles/road.grv
Xshare/gracer/vehicles/road/engine.dat
Xshare/gracer/vehicles/road/fbmu.dat
Xshare/gracer/vehicles/road/ftire.dat
Xshare/gracer/vehicles/road/road.grs
Xshare/gracer/vehicles/road/rtire.dat
Xshare/gracer/vehicles/road/sbmu.dat
X@dirrm share/gracer/courses
X@dirrm share/gracer/scenes
X@dirrm share/gracer/scripts
X@dirrm share/gracer/vehicles/formula
X@dirrm share/gracer/vehicles/road
X@dirrm share/gracer/vehicles
X@dirrm share/gracer
END-of-pkg/PLIST
echo c - patches/
mkdir -p patches/ > /dev/null 2>&1
echo x - patches/patch-aa
sed 's/^X//' >patches/patch-aa << 'END-of-patches/patch-aa'
XIndex: configure.in
X@@ -209,8 +209,8 @@
X   tcl_prefix=$with_tcl)
X 
X for tcl_prefix in $tcl_prefix $exec_prefix /usr/local /usr NONE; do
X-  if test -r $tcl_prefix/lib/tclConfig.sh; then
X-    AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib])
X+  if test -r $tcl_prefix/lib/tcl8.0/tclConfig.sh; then
X+    AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib/tcl8.0])
X     break;
X   fi
X done
X@@ -219,29 +219,31 @@
X   AC_MSG_ERROR([could't find tclConfig.sh])
X fi
X 
X-file=${tcl_prefix}/lib/tclConfig.sh
X+file=${tcl_prefix}/lib/tcl8.0/tclConfig.sh
X if test ! -r ${file}; then
X   AC_MSG_ERROR(tclConfig.sh doesn't exist)
X fi
X-AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib])
X+AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib/tcl8.0])
X . $file
X 
X-TCL_CFLAGS="-I$tcl_prefix/include"
X+TCL_CFLAGS="-I$tcl_prefix/include/tcl8.0"
X TCL_LDFLAGS="$TCL_LIB_SPEC $TCL_LIBS"
X AC_SUBST(TCL_CFLAGS)
X AC_SUBST(TCL_LDFLAGS)
X 
X ####################################################### Check Graphics library
X 
X+x_suffix="$X_LIBS $X_PRE_LIBS -lX11 -lXi -lXext -lXmu $X_EXTRA_LIBS -lm"
X+
X AC_SUBST(GIF_LIBS)
X AC_CHECK_HEADER(gif_lib.h,
X   AC_CHECK_LIB(ungif, DGifOpenFileHandle,
X-    GIF_LIBS="-lungif"
X+    GIF_LIBS="-lungif",
X     AC_CHECK_LIB(gif, DGifOpenFileHandle,
X       GIF_LIBS="-lgif",
X       AC_MSG_ERROR([GIF library file not found]), 
X-      $GX_LIBS),
X-    $GX_LIBS),
X+      $x_suffix),
X+    $x_suffix),
X   AC_MSG_ERROR([GIF header not found]))
X 
X AC_SUBST(JPEG_LIBS)
END-of-patches/patch-aa
exit


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908012014.WAA01922>