diff options
author | nbm <nbm@FreeBSD.org> | 2001-01-05 13:19:36 +0000 |
---|---|---|
committer | nbm <nbm@FreeBSD.org> | 2001-01-05 13:19:36 +0000 |
commit | a7aa9f9e659a45cd2e227db0d9c165b06d3b190b (patch) | |
tree | a7717b5330338a898c5126435fceb0589a019e6c /games/etuxracer | |
parent | d2b10a39730b58f02a56071a49a7adc6631db3bf (diff) | |
download | FreeBSD-ports-a7aa9f9e659a45cd2e227db0d9c165b06d3b190b.zip FreeBSD-ports-a7aa9f9e659a45cd2e227db0d9c165b06d3b190b.tar.gz |
Add tuxracer, a 3d penguin racing game using OpenGL.
PR: 20582
Submitted by: Eric Anholt
Diffstat (limited to 'games/etuxracer')
-rw-r--r-- | games/etuxracer/Makefile | 59 | ||||
-rw-r--r-- | games/etuxracer/distinfo | 2 | ||||
-rw-r--r-- | games/etuxracer/files/patch-aa | 10 | ||||
-rw-r--r-- | games/etuxracer/pkg-comment | 1 | ||||
-rw-r--r-- | games/etuxracer/pkg-descr | 7 | ||||
-rw-r--r-- | games/etuxracer/pkg-plist | 71 |
6 files changed, 150 insertions, 0 deletions
diff --git a/games/etuxracer/Makefile b/games/etuxracer/Makefile new file mode 100644 index 0000000..662c933 --- /dev/null +++ b/games/etuxracer/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: tuxracer +# Date created: 8 August 2000 +# Whom: Eric Anholt +# +# $FreeBSD$ +# + +PORTNAME= tuxracer +PORTVERSION= 0.12.1 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=tuxracer +DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \ + ${PORTNAME}-data-${PORTVERSION}.tar.gz + +MAINTAINER= anholt@teleport.com + +LIB_DEPENDS= glut.3:${PORTSDIR}/graphics/Mesa3 \ + tcl82.1:${PORTSDIR}/lang/tcl82 + +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_AUTOCONF= yes +CONFIGURE_ARGS+=--with-tcl-inc="${LOCALBASE}/include/tcl8.2" \ + --with-tcl-libs="${LOCALBASE}/lib" \ + --with-glut-libs="${X11BASE}/lib" \ + --with-glut-inc="${X11BASE}/include" \ + --with-data-dir=${PREFIX}/share/tuxracer + +CFLAGS+= -L${X11BASE}/lib + +WORKDATA= ${WRKDIR}/${PORTNAME}-data-${PORTVERSION} +SHAREDIR= ${PREFIX}/share/${PORTNAME} +COURSEDIRS= 1 2 3 4 5 6 7 8 9 10 11 + +post-install: + ${MKDIR} ${SHAREDIR}/courses +.for i in ${COURSEDIRS} + ${MKDIR} ${SHAREDIR}/courses/${i} + ${INSTALL_DATA} ${WORKDATA}/courses/${i}/course.tcl ${SHAREDIR}/courses/${i}/ + ${INSTALL_DATA} ${WORKDATA}/courses/${i}/elev.rgb ${SHAREDIR}/courses/${i}/ + ${INSTALL_DATA} ${WORKDATA}/courses/${i}/terrain.rgb ${SHAREDIR}/courses/${i}/ + ${INSTALL_DATA} ${WORKDATA}/courses/${i}/trees.rgb ${SHAREDIR}/courses/${i}/ +.endfor + ${MKDIR} ${SHAREDIR}/courses/common + ${INSTALL_DATA} ${WORKDATA}/courses/common/background1.rgb ${SHAREDIR}/courses/common/ + ${INSTALL_DATA} ${WORKDATA}/courses/common/background2.rgb ${SHAREDIR}/courses/common/ + ${INSTALL_DATA} ${WORKDATA}/courses/common/background3.rgb ${SHAREDIR}/courses/common/ + ${INSTALL_DATA} ${WORKDATA}/courses/common/ice.rgb ${SHAREDIR}/courses/common/ + ${INSTALL_DATA} ${WORKDATA}/courses/common/rock.rgb ${SHAREDIR}/courses/common/ + ${INSTALL_DATA} ${WORKDATA}/courses/common/snow.rgb ${SHAREDIR}/courses/common/ + ${INSTALL_DATA} ${WORKDATA}/courses/common/standard_light.tcl ${SHAREDIR}/courses/common/ + ${INSTALL_DATA} ${WORKDATA}/courses/common/tree.rgb ${SHAREDIR}/courses/common/ + ${INSTALL_DATA} ${WORKDATA}/courses/common/tree_polyhedron.tcl ${SHAREDIR}/courses/common/ + ${INSTALL_DATA} ${WORKDATA}/courses/common/tux_moonwalk.tcl ${SHAREDIR}/courses/common/ + ${INSTALL_DATA} ${WORKDATA}/courses/common/tux_walk.tcl ${SHAREDIR}/courses/common/ + ${INSTALL_DATA} ${WORKDATA}/tux.tcl ${SHAREDIR}/ + +.include <bsd.port.mk> diff --git a/games/etuxracer/distinfo b/games/etuxracer/distinfo new file mode 100644 index 0000000..6cbcfd7 --- /dev/null +++ b/games/etuxracer/distinfo @@ -0,0 +1,2 @@ +MD5 (tuxracer-0.12.1.tar.gz) = 05019a59d229de17cc4bc4938194993b +MD5 (tuxracer-data-0.12.1.tar.gz) = 9cff81ed6b0e492e9acab3d16dce19a2 diff --git a/games/etuxracer/files/patch-aa b/games/etuxracer/files/patch-aa new file mode 100644 index 0000000..69c5074 --- /dev/null +++ b/games/etuxracer/files/patch-aa @@ -0,0 +1,10 @@ +--- configure.in.orig Fri Jun 16 16:19:43 2000 ++++ configure.in Fri Jun 16 16:19:29 2000 +@@ -26,7 +26,7 @@ + AC_ARG_ENABLE(profile,[ --enable-profile Produce a profiled executable], TUXRACER_EXTRA_CFLAGS="$TUXRACER_EXTRA_CFLAGS -pg") + + dnl Tcl options +-TCL_LIB_NAME=tcl ++TCL_LIB_NAME=tcl82 + + AC_ARG_WITH(tcl-libs, [ --with-tcl-libs=DIR Specify Tcl 8.0 library location],TCL_LIB_PATH="-L$withval") diff --git a/games/etuxracer/pkg-comment b/games/etuxracer/pkg-comment new file mode 100644 index 0000000..3aae591 --- /dev/null +++ b/games/etuxracer/pkg-comment @@ -0,0 +1 @@ +A 3d penguin racing game using OpenGL diff --git a/games/etuxracer/pkg-descr b/games/etuxracer/pkg-descr new file mode 100644 index 0000000..35d1739 --- /dev/null +++ b/games/etuxracer/pkg-descr @@ -0,0 +1,7 @@ +Tux Racer is a 3d penguin racing game. The object is to guide Tux down +an icy slope while avoiding trees and rocks. + +WWW: http://tuxracer.sourceforge.net/ + +- Eric Anholt +anholt@teleport.com diff --git a/games/etuxracer/pkg-plist b/games/etuxracer/pkg-plist new file mode 100644 index 0000000..61fb71c --- /dev/null +++ b/games/etuxracer/pkg-plist @@ -0,0 +1,71 @@ +bin/tuxracer +share/tuxracer/courses/1/course.tcl +share/tuxracer/courses/1/elev.rgb +share/tuxracer/courses/1/terrain.rgb +share/tuxracer/courses/1/trees.rgb +share/tuxracer/courses/10/course.tcl +share/tuxracer/courses/10/elev.rgb +share/tuxracer/courses/10/terrain.rgb +share/tuxracer/courses/10/trees.rgb +share/tuxracer/courses/11/course.tcl +share/tuxracer/courses/11/elev.rgb +share/tuxracer/courses/11/terrain.rgb +share/tuxracer/courses/11/trees.rgb +share/tuxracer/courses/2/course.tcl +share/tuxracer/courses/2/elev.rgb +share/tuxracer/courses/2/terrain.rgb +share/tuxracer/courses/2/trees.rgb +share/tuxracer/courses/3/course.tcl +share/tuxracer/courses/3/elev.rgb +share/tuxracer/courses/3/terrain.rgb +share/tuxracer/courses/3/trees.rgb +share/tuxracer/courses/4/course.tcl +share/tuxracer/courses/4/elev.rgb +share/tuxracer/courses/4/terrain.rgb +share/tuxracer/courses/4/trees.rgb +share/tuxracer/courses/5/course.tcl +share/tuxracer/courses/5/elev.rgb +share/tuxracer/courses/5/terrain.rgb +share/tuxracer/courses/5/trees.rgb +share/tuxracer/courses/6/course.tcl +share/tuxracer/courses/6/elev.rgb +share/tuxracer/courses/6/terrain.rgb +share/tuxracer/courses/6/trees.rgb +share/tuxracer/courses/7/course.tcl +share/tuxracer/courses/7/elev.rgb +share/tuxracer/courses/7/terrain.rgb +share/tuxracer/courses/7/trees.rgb +share/tuxracer/courses/8/course.tcl +share/tuxracer/courses/8/elev.rgb +share/tuxracer/courses/8/terrain.rgb +share/tuxracer/courses/8/trees.rgb +share/tuxracer/courses/9/course.tcl +share/tuxracer/courses/9/elev.rgb +share/tuxracer/courses/9/terrain.rgb +share/tuxracer/courses/9/trees.rgb +share/tuxracer/courses/common/background1.rgb +share/tuxracer/courses/common/background2.rgb +share/tuxracer/courses/common/background3.rgb +share/tuxracer/courses/common/ice.rgb +share/tuxracer/courses/common/rock.rgb +share/tuxracer/courses/common/snow.rgb +share/tuxracer/courses/common/standard_light.tcl +share/tuxracer/courses/common/tree.rgb +share/tuxracer/courses/common/tree_polyhedron.tcl +share/tuxracer/courses/common/tux_moonwalk.tcl +share/tuxracer/courses/common/tux_walk.tcl +share/tuxracer/tux.tcl +@dirrm share/tuxracer/courses/common +@dirrm share/tuxracer/courses/9 +@dirrm share/tuxracer/courses/8 +@dirrm share/tuxracer/courses/7 +@dirrm share/tuxracer/courses/6 +@dirrm share/tuxracer/courses/5 +@dirrm share/tuxracer/courses/4 +@dirrm share/tuxracer/courses/3 +@dirrm share/tuxracer/courses/2 +@dirrm share/tuxracer/courses/11 +@dirrm share/tuxracer/courses/10 +@dirrm share/tuxracer/courses/1 +@dirrm share/tuxracer/courses +@dirrm share/tuxracer |