summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-05-19 17:19:19 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-05-19 17:19:19 +0000
commitf726abcf50c339263155f6686358952354f9dd11 (patch)
tree109e59e50f7170c7b81d66e3ccc462ad3d9aae6b
parentNew port: localized messages and documentation for koffice (diff)
Add tuxracer_golf, a theme for Tux Racer.
The only thing better than penguins and ice is penguins and golf.
Notes
Notes: svn path=/head/; revision=81409
Diffstat (limited to '')
-rw-r--r--games/Makefile1
-rw-r--r--games/tuxracer_golf/Makefile42
-rw-r--r--games/tuxracer_golf/distinfo1
-rw-r--r--games/tuxracer_golf/pkg-descr10
-rw-r--r--games/tuxracer_golf/pkg-install13
-rw-r--r--games/tuxracer_golf/pkg-plist34
6 files changed, 101 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 7b0ff3597f69..34e99de3131d 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -344,6 +344,7 @@
SUBDIR += tuxkart
SUBDIR += tuxpuck
SUBDIR += tuxracer
+ SUBDIR += tuxracer_golf
SUBDIR += tuxtype
SUBDIR += tvp
SUBDIR += twitch
diff --git a/games/tuxracer_golf/Makefile b/games/tuxracer_golf/Makefile
new file mode 100644
index 000000000000..d7d56badceed
--- /dev/null
+++ b/games/tuxracer_golf/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: tuxracer_golf
+# Date created: 17 May 2003
+# Whom: Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tuxracer_golf
+PORTVERSION= 1.00
+CATEGORIES= games
+MASTER_SITES= http://www.joeysmith.com/~milo/tuxracer/
+DISTNAME= golf
+
+MAINTAINER= adamw@FreeBSD.org
+COMMENT= A golf theme for Tux Racer
+
+BUILD_DEPENDS= tuxracer:${PORTSDIR}/games/tuxracer
+
+USE_BZIP2= yes
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+PLIST_SUB+= "MV=${MV}"
+
+TEXTURES= buttprint buttstart buttstop cloudyback cloudybottom \
+ cloudyfront cloudyleft cloudyright envmap \
+ herring_standard herringrunicon ice nightback \
+ nightbottom nightenv nightfront nightleft nightright nighttop \
+ rock shrub snow snowparticles sunnyback \
+ sunnybottom sunnyfront sunnyleft sunnyright sunnytop tree \
+ tree_barren
+
+do-install:
+ @${MKDIR} ${DATADIR}
+ @${MKDIR} ${DATADIR}/common.old
+ -@${CP} ${PREFIX}/share/tuxracer/courses/common/*rgb \
+ ${DATADIR}/common.old
+.for i in ${TEXTURES}
+ @${INSTALL_DATA} ${WRKDIR}/$i.rgb \
+ ${PREFIX}/share/tuxracer/courses/common
+.endfor
+
+.include <bsd.port.mk>
diff --git a/games/tuxracer_golf/distinfo b/games/tuxracer_golf/distinfo
new file mode 100644
index 000000000000..ec8d0d6d2455
--- /dev/null
+++ b/games/tuxracer_golf/distinfo
@@ -0,0 +1 @@
+MD5 (golf.tar.bz2) = e3e974504dc72eb83408cd72b16fef45
diff --git a/games/tuxracer_golf/pkg-descr b/games/tuxracer_golf/pkg-descr
new file mode 100644
index 000000000000..116d4a96ba6a
--- /dev/null
+++ b/games/tuxracer_golf/pkg-descr
@@ -0,0 +1,10 @@
+This is a new theme for Tux Racer.
+
+If you think that it seems ridiculous and far-fetched that a
+penguin would slide up and down ice-covered hills to collect
+floating blue herrings, then maybe the concept of a penguin
+sliding down a golf course collecting golf balls is more
+your style.
+
+WWW: http://www.joeysmith.com/~milo/etc.php
+-Adam Weinberger <adamw@FreeBSD.org>
diff --git a/games/tuxracer_golf/pkg-install b/games/tuxracer_golf/pkg-install
new file mode 100644
index 000000000000..0803b21d58ef
--- /dev/null
+++ b/games/tuxracer_golf/pkg-install
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+case "$2" in
+PRE-INSTALL)
+ DATADIR=${PKG_PREFIX}/share/tuxracer_golf
+ mkdir ${DATADIR}
+ mkdir ${DATADIR}/common.old
+ cp ${PKG_PREFIX}/share/tuxracer/courses/common/*rgb \
+ ${DATADIR}/common.old
+ ;;
+esac
+
+exit 0
diff --git a/games/tuxracer_golf/pkg-plist b/games/tuxracer_golf/pkg-plist
new file mode 100644
index 000000000000..3526b1ce8517
--- /dev/null
+++ b/games/tuxracer_golf/pkg-plist
@@ -0,0 +1,34 @@
+share/tuxracer/courses/common/buttprint.rgb
+share/tuxracer/courses/common/buttstart.rgb
+share/tuxracer/courses/common/buttstop.rgb
+share/tuxracer/courses/common/cloudyback.rgb
+share/tuxracer/courses/common/cloudybottom.rgb
+share/tuxracer/courses/common/cloudyfront.rgb
+share/tuxracer/courses/common/cloudyleft.rgb
+share/tuxracer/courses/common/cloudyright.rgb
+share/tuxracer/courses/common/envmap.rgb
+share/tuxracer/courses/common/herring_standard.rgb
+share/tuxracer/courses/common/herringrunicon.rgb
+share/tuxracer/courses/common/ice.rgb
+share/tuxracer/courses/common/nightback.rgb
+share/tuxracer/courses/common/nightbottom.rgb
+share/tuxracer/courses/common/nightenv.rgb
+share/tuxracer/courses/common/nightfront.rgb
+share/tuxracer/courses/common/nightleft.rgb
+share/tuxracer/courses/common/nightright.rgb
+share/tuxracer/courses/common/nighttop.rgb
+share/tuxracer/courses/common/rock.rgb
+share/tuxracer/courses/common/shrub.rgb
+share/tuxracer/courses/common/snow.rgb
+share/tuxracer/courses/common/snowparticles.rgb
+share/tuxracer/courses/common/sunnyback.rgb
+share/tuxracer/courses/common/sunnybottom.rgb
+share/tuxracer/courses/common/sunnyfront.rgb
+share/tuxracer/courses/common/sunnyleft.rgb
+share/tuxracer/courses/common/sunnyright.rgb
+share/tuxracer/courses/common/sunnytop.rgb
+share/tuxracer/courses/common/tree.rgb
+share/tuxracer/courses/common/tree_barren.rgb
+@unexec %%MV%% %D/share/tuxracer_golf/common.old/*rgb %D/share/tuxracer/courses/common
+@dirrm share/tuxracer_golf/common.old
+@dirrm share/tuxracer_golf