From nox@saturn.kn-bremen.de Mon Aug  2 06:28:05 1999
Return-Path: <nox@saturn.kn-bremen.de>
Received: from blaubaer.kn-bremen.de (blaubaer.kn-bremen.de [195.37.179.254])
	by hub.freebsd.org (Postfix) with ESMTP id 11A7514C8B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Aug 1999 06:27:53 -0700 (PDT)
	(envelope-from nox@saturn.kn-bremen.de)
Received: from saturn.kn-bremen.de (uucp@localhost)
	by blaubaer.kn-bremen.de (8.9.1/8.9.1) with UUCP id WAA22659
	for FreeBSD-gnats-submit@freebsd.org; Sun, 1 Aug 1999 22:12:56 +0200
Received: (from nox@localhost)
	by saturn.kn-bremen.de (8.9.3/8.8.5) id WAA01922;
	Sun, 1 Aug 1999 22:14:33 +0200 (MET DST)
Message-Id: <199908012014.WAA01922@saturn.kn-bremen.de>
Date: Sun, 1 Aug 1999 22:14:33 +0200 (MET DST)
From: Juergen Lock <nox@jelal.kn-bremen.de>
Sender: nox@saturn.kn-bremen.de
Reply-To: nox@jelal.kn-bremen.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: port of GRacer, a 3D motor sports simulator
X-Send-Pr-Version: 3.2

>Number:         12924
>Category:       ports
>Synopsis:       port of GRacer, a 3D motor sports simulator
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug  2 06:30:00 PDT 1999
>Closed-Date:    Mon Sep 27 19:57:28 PDT 1999
>Last-Modified:  Mon Sep 27 19:57:41 PDT 1999
>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:

From: Rasmus Kaj <kaj@raditex.se>
To: freebsd-gnats-submit@freebsd.org, nox@jelal.kn-bremen.de
Cc: Rasmus Kaj <kaj@raditex.se>
Subject: Re: ports/12924: port of GRacer, a 3D motor sports simulator
Date: Mon, 02 Aug 1999 15:56:00 +0200

 I thought I'd try this one out, but failed to fetch it. I can't even
 resolve arch.comp.kyutech.ac.jp, which is the ftp server name of the
 (single) master site.
 
 Might there be more master sites for this port?
 
 -- 
 Rasmus Kaj ---------------- rasmus@kaj.a.se - http://www.e.kth.se/~kaj/
  \    All science is either physics or stamp collecting. -E. Rutherford
   \--------------------------------------------- http://www.Raditex.se/
 

From: Juergen Lock <nox@jelal.kn-bremen.de>
To: Rasmus Kaj <kaj@raditex.se>
Cc: freebsd-gnats-submit@freebsd.org, nox@jelal.kn-bremen.de
Subject: Re: ports/12924: port of GRacer, a 3D motor sports simulator
Date: Mon, 2 Aug 1999 19:07:52 +0200

 On Mon, Aug 02, 1999 at 03:56:00PM +0200, Rasmus Kaj wrote:
 > 
 > I thought I'd try this one out, but failed to fetch it. I can't even
 > resolve arch.comp.kyutech.ac.jp, which is the ftp server name of the
 > (single) master site.
 
 http server name.
 
 bash$ host arch.comp.kyutech.ac.jp
 arch.comp.kyutech.ac.jp has address 150.69.128.20
 arch.comp.kyutech.ac.jp mail is handled (pri=0) by arch.comp.kyutech.ac.jp
 bash$ 
 
  My connection wasn't that good either though, had to restart the
 fetch several times (fetch -r) for it to complete even.
 > 
 > Might there be more master sites for this port?
 
  dunno, ftpsearch didn't know anything about gracer.  I guess its
 just too new...
 
  Regards,
 -- 
 Juergen Lock <nox.foo@jelal.kn-bremen.de>
 (remove dot foo from address to reply)
 
State-Changed-From-To: open->closed 
State-Changed-By: taoka 
State-Changed-When: Mon Sep 27 19:57:28 PDT 1999 
State-Changed-Why:  
Committed, thanks! 
>Unformatted:
