Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2000 20:36:31 -0700
From:      Eric Anholt <anholt@teleport.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/20582: New port: tuxracer (3d penguin racing game)
Message-ID:  <f04310101b5bd1942e714@[192.168.0.11]>

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

>Number:         20582
>Category:       ports
>Synopsis:       New port: tuxracer (3d penguin racing game)
>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:   Sun Aug 13 20:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Eric Anholt
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:

	FreeBSD calwell.dyn.dhs.org 5.0-CURRENT FreeBSD 5.0-CURRENT 
#2: Tue Aug  8 13:16:23 PDT 2000 
root@calwell.dyn.dhs.org:/usr/src/sys/compile/MYKERNEL  i386

>Description:

	Tuxracer is a 3d penguin racing game using OpenGL.  It's my 
first port/send-pr, so I hope I've done it right.

>How-To-Repeat:



>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:
#
#	tuxracer
#	tuxracer/files
#	tuxracer/files/md5
#	tuxracer/pkg
#	tuxracer/pkg/COMMENT
#	tuxracer/pkg/DESCR
#	tuxracer/pkg/PLIST
#	tuxracer/patches
#	tuxracer/patches/patch-aa
#	tuxracer/Makefile
#
echo c - tuxracer
mkdir -p tuxracer > /dev/null 2>&1
echo c - tuxracer/files
mkdir -p tuxracer/files > /dev/null 2>&1
echo x - tuxracer/files/md5
sed 's/^X//' >tuxracer/files/md5 << 'END-of-tuxracer/files/md5'
XMD5 (tuxracer-0.12.1.tar.gz) = 05019a59d229de17cc4bc4938194993b
XMD5 (tuxracer-data-0.12.1.tar.gz) = 9cff81ed6b0e492e9acab3d16dce19a2
END-of-tuxracer/files/md5
echo c - tuxracer/pkg
mkdir -p tuxracer/pkg > /dev/null 2>&1
echo x - tuxracer/pkg/COMMENT
sed 's/^X//' >tuxracer/pkg/COMMENT << 'END-of-tuxracer/pkg/COMMENT'
XA 3d penguin racing game using OpenGL
END-of-tuxracer/pkg/COMMENT
echo x - tuxracer/pkg/DESCR
sed 's/^X//' >tuxracer/pkg/DESCR << 'END-of-tuxracer/pkg/DESCR'
XTux Racer is a 3d penguin racing game.  The object is to guide Tux down
Xan icy slope while avoiding trees and rocks.
X
XWWW: http://tuxracer.sourceforge.net/
X
X- Eric Anholt
Xanholt@teleport.com
END-of-tuxracer/pkg/DESCR
echo x - tuxracer/pkg/PLIST
sed 's/^X//' >tuxracer/pkg/PLIST << 'END-of-tuxracer/pkg/PLIST'
Xbin/tuxracer
Xshare/tuxracer/courses/1/course.tcl
Xshare/tuxracer/courses/1/elev.rgb
Xshare/tuxracer/courses/1/terrain.rgb
Xshare/tuxracer/courses/1/trees.rgb
Xshare/tuxracer/courses/2/course.tcl
Xshare/tuxracer/courses/2/elev.rgb
Xshare/tuxracer/courses/2/terrain.rgb
Xshare/tuxracer/courses/2/trees.rgb
Xshare/tuxracer/courses/3/course.tcl
Xshare/tuxracer/courses/3/elev.rgb
Xshare/tuxracer/courses/3/terrain.rgb
Xshare/tuxracer/courses/3/trees.rgb
Xshare/tuxracer/courses/4/course.tcl
Xshare/tuxracer/courses/4/elev.rgb
Xshare/tuxracer/courses/4/terrain.rgb
Xshare/tuxracer/courses/4/trees.rgb
Xshare/tuxracer/courses/5/course.tcl
Xshare/tuxracer/courses/5/elev.rgb
Xshare/tuxracer/courses/5/terrain.rgb
Xshare/tuxracer/courses/5/trees.rgb
Xshare/tuxracer/courses/6/course.tcl
Xshare/tuxracer/courses/6/elev.rgb
Xshare/tuxracer/courses/6/terrain.rgb
Xshare/tuxracer/courses/6/trees.rgb
Xshare/tuxracer/courses/7/course.tcl
Xshare/tuxracer/courses/7/elev.rgb
Xshare/tuxracer/courses/7/terrain.rgb
Xshare/tuxracer/courses/7/trees.rgb
Xshare/tuxracer/courses/8/course.tcl
Xshare/tuxracer/courses/8/elev.rgb
Xshare/tuxracer/courses/8/terrain.rgb
Xshare/tuxracer/courses/8/trees.rgb
Xshare/tuxracer/courses/9/course.tcl
Xshare/tuxracer/courses/9/elev.rgb
Xshare/tuxracer/courses/9/terrain.rgb
Xshare/tuxracer/courses/9/trees.rgb
Xshare/tuxracer/courses/10/course.tcl
Xshare/tuxracer/courses/10/elev.rgb
Xshare/tuxracer/courses/10/terrain.rgb
Xshare/tuxracer/courses/10/trees.rgb
Xshare/tuxracer/courses/11/course.tcl
Xshare/tuxracer/courses/11/elev.rgb
Xshare/tuxracer/courses/11/terrain.rgb
Xshare/tuxracer/courses/11/trees.rgb
Xshare/tuxracer/courses/common/background1.rgb
Xshare/tuxracer/courses/common/background2.rgb
Xshare/tuxracer/courses/common/background3.rgb
Xshare/tuxracer/courses/common/ice.rgb
Xshare/tuxracer/courses/common/rock.rgb
Xshare/tuxracer/courses/common/snow.rgb
Xshare/tuxracer/courses/common/standard_light.tcl
Xshare/tuxracer/courses/common/tree.rgb
Xshare/tuxracer/courses/common/tree_polyhedron.tcl
Xshare/tuxracer/courses/common/tux_moonwalk.tcl
Xshare/tuxracer/courses/common/tux_walk.tcl
Xshare/tuxracer/tux.tcl
X@dirrm share/tuxracer/courses/1
X@dirrm share/tuxracer/courses/2
X@dirrm share/tuxracer/courses/3
X@dirrm share/tuxracer/courses/4
X@dirrm share/tuxracer/courses/5
X@dirrm share/tuxracer/courses/6
X@dirrm share/tuxracer/courses/7
X@dirrm share/tuxracer/courses/8
X@dirrm share/tuxracer/courses/9
X@dirrm share/tuxracer/courses/10
X@dirrm share/tuxracer/courses/11
X@dirrm share/tuxracer/courses/common
X@dirrm share/tuxracer/courses
X@dirrm share/tuxracer
END-of-tuxracer/pkg/PLIST
echo c - tuxracer/patches
mkdir -p tuxracer/patches > /dev/null 2>&1
echo x - tuxracer/patches/patch-aa
sed 's/^X//' >tuxracer/patches/patch-aa << 'END-of-tuxracer/patches/patch-aa'
X--- configure.in.orig	Fri Jun 16 16:19:43 2000
X+++ configure.in	Fri Jun 16 16:19:29 2000
X@@ -26,7 +26,7 @@
X AC_ARG_ENABLE(profile,[  --enable-profile        Produce a profiled 
executable],  TUXRACER_EXTRA_CFLAGS="$TUXRACER_EXTRA_CFLAGS -pg")
X
X dnl Tcl options
X-TCL_LIB_NAME=tcl
X+TCL_LIB_NAME=tcl82
X
X AC_ARG_WITH(tcl-libs,    [  --with-tcl-libs=DIR     Specify Tcl 8.0 
library location],TCL_LIB_PATH="-L$withval")
X
END-of-tuxracer/patches/patch-aa
echo x - tuxracer/Makefile
sed 's/^X//' >tuxracer/Makefile << 'END-of-tuxracer/Makefile'
X# New ports collection makefile for:	tuxracer
X# Date created:				8 August 2000
X# Whom:					Eric Anholt
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tuxracer
XPORTVERSION=	0.12.1
XCATEGORIES=	games
XMASTER_SITES=	http://download.sourceforge.net/tuxracer/
XDISTFILES=	${PORTNAME}-${PORTVERSION}.tar.gz 
${PORTNAME}-data-${PORTVERSION}.tar.gz
X
XMAINTAINER=	anholt@teleport.com
X
XLIB_DEPENDS=	glut.3:${PORTSDIR}/graphics/Mesa3 \
X		tcl82.1:${PORTSDIR}/lang/tcl82
X
XUSE_X_PREFIX=	yes
XUSE_GMAKE=	yes
XUSE_AUTOCONF=	yes
XCONFIGURE_ARGS+=--with-tcl-inc="${LOCALBASE}/include/tcl8.2" \
X		--with-tcl-libs="${LOCALBASE}/lib" \
X		--with-data-dir=${PREFIX}/share/tuxracer
X
XWORKDATA=	${WRKDIR}/${PORTNAME}-data-${PORTVERSION}
XSHAREDIR=	${PREFIX}/share/${PORTNAME}
XCOURSEDIRS=	1 2 3 4 5 6 7 8 9 10 11
X
Xpost-install:
X	${MKDIR} ${SHAREDIR}/courses
X.for i in ${COURSEDIRS}
X		${MKDIR} ${SHAREDIR}/courses/${i}
X		${INSTALL_DATA} ${WORKDATA}/courses/${i}/course.tcl 
${SHAREDIR}/courses/${i}/
X		${INSTALL_DATA} ${WORKDATA}/courses/${i}/elev.rgb 
${SHAREDIR}/courses/${i}/
X		${INSTALL_DATA} ${WORKDATA}/courses/${i}/terrain.rgb 
${SHAREDIR}/courses/${i}/
X		${INSTALL_DATA} ${WORKDATA}/courses/${i}/trees.rgb 
${SHAREDIR}/courses/${i}/
X.endfor
X	${MKDIR} ${SHAREDIR}/courses/common
X	${INSTALL_DATA} ${WORKDATA}/courses/common/background1.rgb 
${SHAREDIR}/courses/common/
X	${INSTALL_DATA} ${WORKDATA}/courses/common/background2.rgb 
${SHAREDIR}/courses/common/
X	${INSTALL_DATA} ${WORKDATA}/courses/common/background3.rgb 
${SHAREDIR}/courses/common/
X	${INSTALL_DATA} ${WORKDATA}/courses/common/ice.rgb 
${SHAREDIR}/courses/common/
X	${INSTALL_DATA} ${WORKDATA}/courses/common/rock.rgb 
${SHAREDIR}/courses/common/
X	${INSTALL_DATA} ${WORKDATA}/courses/common/snow.rgb 
${SHAREDIR}/courses/common/
X	${INSTALL_DATA} ${WORKDATA}/courses/common/standard_light.tcl 
${SHAREDIR}/courses/common/
X	${INSTALL_DATA} ${WORKDATA}/courses/common/tree.rgb 
${SHAREDIR}/courses/common/
X	${INSTALL_DATA} 
${WORKDATA}/courses/common/tree_polyhedron.tcl 
${SHAREDIR}/courses/common/
X	${INSTALL_DATA} ${WORKDATA}/courses/common/tux_moonwalk.tcl 
${SHAREDIR}/courses/common/
X	${INSTALL_DATA} ${WORKDATA}/courses/common/tux_walk.tcl 
${SHAREDIR}/courses/common/
X	${INSTALL_DATA} ${WORKDATA}/tux.tcl ${SHAREDIR}/
X.include <bsd.port.mk>
END-of-tuxracer/Makefile
exit
-- 

--
Eric Anholt
anholt@teleport.com

>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?f04310101b5bd1942e714>