aboutsummaryrefslogtreecommitdiff
path: root/games/tuxracer
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2001-01-05 13:19:36 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2001-01-05 13:19:36 +0000
commit39609ad548dca1f25c07300bcfbc128cbf3c5e1f (patch)
tree7849e1ad225c52cb73247f23a487872b6e903652 /games/tuxracer
parent0f82eea8ee54d1ee89eed2de044b6f99f2e89303 (diff)
downloadports-39609ad548dca1f25c07300bcfbc128cbf3c5e1f.tar.gz
ports-39609ad548dca1f25c07300bcfbc128cbf3c5e1f.zip
Notes
Diffstat (limited to 'games/tuxracer')
-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
6 files changed, 150 insertions, 0 deletions
diff --git a/games/tuxracer/Makefile b/games/tuxracer/Makefile
new file mode 100644
index 000000000000..662c933ac6a0
--- /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 000000000000..6cbcfd75c93e
--- /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 000000000000..69c5074a86fa
--- /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 000000000000..3aae59168873
--- /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 000000000000..35d1739d7143
--- /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 000000000000..61fb71cfd45c
--- /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