aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2001-01-05 21:19:36 +0800
committernbm <nbm@FreeBSD.org>2001-01-05 21:19:36 +0800
commita7aa9f9e659a45cd2e227db0d9c165b06d3b190b (patch)
treea7717b5330338a898c5126435fceb0589a019e6c
parentd2b10a39730b58f02a56071a49a7adc6631db3bf (diff)
downloadfreebsd-ports-graphics-a7aa9f9e659a45cd2e227db0d9c165b06d3b190b.tar.gz
freebsd-ports-graphics-a7aa9f9e659a45cd2e227db0d9c165b06d3b190b.tar.zst
freebsd-ports-graphics-a7aa9f9e659a45cd2e227db0d9c165b06d3b190b.zip
Add tuxracer, a 3d penguin racing game using OpenGL.
PR: 20582 Submitted by: Eric Anholt
-rw-r--r--games/Makefile1
-rw-r--r--games/etuxracer/Makefile59
-rw-r--r--games/etuxracer/distinfo2
-rw-r--r--games/etuxracer/files/patch-aa10
-rw-r--r--games/etuxracer/pkg-comment1
-rw-r--r--games/etuxracer/pkg-descr7
-rw-r--r--games/etuxracer/pkg-plist71
-rw-r--r--games/tuxracer-commercial/Makefile59
-rw-r--r--games/tuxracer-commercial/distinfo2
-rw-r--r--games/tuxracer-commercial/files/patch-aa10
-rw-r--r--games/tuxracer-commercial/pkg-comment1
-rw-r--r--games/tuxracer-commercial/pkg-descr7
-rw-r--r--games/tuxracer-commercial/pkg-plist71
-rw-r--r--games/tuxracer/Makefile59
-rw-r--r--games/tuxracer/distinfo2
-rw-r--r--games/tuxracer/files/patch-aa10
-rw-r--r--games/tuxracer/pkg-comment1
-rw-r--r--games/tuxracer/pkg-descr7
-rw-r--r--games/tuxracer/pkg-plist71
19 files changed, 451 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 9799bf57c77..a66bbafd752 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -176,6 +176,7 @@
SUBDIR += tkmoo
SUBDIR += tksol
SUBDIR += trojka
+ SUBDIR += tuxracer
SUBDIR += tvp
SUBDIR += nil
SUBDIR += nonsense
diff --git a/games/etuxracer/Makefile b/games/etuxracer/Makefile
new file mode 100644
index 00000000000..662c933ac6a
--- /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 00000000000..6cbcfd75c93
--- /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 00000000000..69c5074a86f
--- /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 00000000000..3aae5916887
--- /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 00000000000..35d1739d714
--- /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 00000000000..61fb71cfd45
--- /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
diff --git a/games/tuxracer-commercial/Makefile b/games/tuxracer-commercial/Makefile
new file mode 100644
index 00000000000..662c933ac6a
--- /dev/null
+++ b/games/tuxracer-commercial/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/tuxracer-commercial/distinfo b/games/tuxracer-commercial/distinfo
new file mode 100644
index 00000000000..6cbcfd75c93
--- /dev/null
+++ b/games/tuxracer-commercial/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/tuxracer-commercial/files/patch-aa b/games/tuxracer-commercial/files/patch-aa
new file mode 100644
index 00000000000..69c5074a86f
--- /dev/null
+++ b/games/tuxracer-commercial/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/tuxracer-commercial/pkg-comment b/games/tuxracer-commercial/pkg-comment
new file mode 100644
index 00000000000..3aae5916887
--- /dev/null
+++ b/games/tuxracer-commercial/pkg-comment
@@ -0,0 +1 @@
+A 3d penguin racing game using OpenGL
diff --git a/games/tuxracer-commercial/pkg-descr b/games/tuxracer-commercial/pkg-descr
new file mode 100644
index 00000000000..35d1739d714
--- /dev/null
+++ b/games/tuxracer-commercial/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/tuxracer-commercial/pkg-plist b/games/tuxracer-commercial/pkg-plist
new file mode 100644
index 00000000000..61fb71cfd45
--- /dev/null
+++ b/games/tuxracer-commercial/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
diff --git a/games/tuxracer/Makefile b/games/tuxracer/Makefile
new file mode 100644
index 00000000000..662c933ac6a
--- /dev/null
+++ b/games/tuxracer/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/tuxracer/distinfo b/games/tuxracer/distinfo
new file mode 100644
index 00000000000..6cbcfd75c93
--- /dev/null
+++ b/games/tuxracer/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/tuxracer/files/patch-aa b/games/tuxracer/files/patch-aa
new file mode 100644
index 00000000000..69c5074a86f
--- /dev/null
+++ b/games/tuxracer/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/tuxracer/pkg-comment b/games/tuxracer/pkg-comment
new file mode 100644
index 00000000000..3aae5916887
--- /dev/null
+++ b/games/tuxracer/pkg-comment
@@ -0,0 +1 @@
+A 3d penguin racing game using OpenGL
diff --git a/games/tuxracer/pkg-descr b/games/tuxracer/pkg-descr
new file mode 100644
index 00000000000..35d1739d714
--- /dev/null
+++ b/games/tuxracer/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/tuxracer/pkg-plist b/games/tuxracer/pkg-plist
new file mode 100644
index 00000000000..61fb71cfd45
--- /dev/null
+++ b/games/tuxracer/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