summaryrefslogtreecommitdiff
path: root/games/tuxracer_golf/pkg-install
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 /games/tuxracer_golf/pkg-install
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 'games/tuxracer_golf/pkg-install')
-rw-r--r--games/tuxracer_golf/pkg-install13
1 files changed, 13 insertions, 0 deletions
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