summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2003-05-19 17:19:19 +0000
committeradamw <adamw@FreeBSD.org>2003-05-19 17:19:19 +0000
commit7389e89084f8211a423551612a2cc953d8950b89 (patch)
tree2d018f5df5a94b3f9b65dd03c1314b99789f5a3f /games
parent92e54682694ea832a1b6f8fd2f86b049d72cccbf (diff)
downloadFreeBSD-ports-7389e89084f8211a423551612a2cc953d8950b89.zip
FreeBSD-ports-7389e89084f8211a423551612a2cc953d8950b89.tar.gz
Add tuxracer_golf, a theme for Tux Racer.
The only thing better than penguins and ice is penguins and golf.
Diffstat (limited to 'games')
-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 7b0ff35..34e99de 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 0000000..d7d56ba
--- /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 0000000..ec8d0d6
--- /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 0000000..116d4a9
--- /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 0000000..0803b21
--- /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 0000000..3526b1c
--- /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
OpenPOWER on IntegriCloud