summaryrefslogtreecommitdiff
path: root/games/marbles/pkg-install
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2002-08-04 09:36:57 +0000
committerMark Pulford <markp@FreeBSD.org>2002-08-04 09:36:57 +0000
commit1fc66763482634c417343c66ba2e3e0a1be106b2 (patch)
tree628511469d13a0e9f2f048faace4bd30cd0ebf82 /games/marbles/pkg-install
parent1. Explicitly added USE_QT_VER and USE_KDELIBS_VER. (diff)
Add marbles 1.0.2, a challenging puzzle game similar to Atomix.
PR: 40590 Submitted by: verm@drunkmonk.net
Notes
Notes: svn path=/head/; revision=63966
Diffstat (limited to 'games/marbles/pkg-install')
-rw-r--r--games/marbles/pkg-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/marbles/pkg-install b/games/marbles/pkg-install
new file mode 100644
index 000000000000..562b593513f0
--- /dev/null
+++ b/games/marbles/pkg-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+FILE=/var/games/marbles.prfs
+[ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0
+
+echo "===> Creating initial profile $FILE"
+install -o root -g games -m 664 ${PKG_PREFIX}/share/marbles/empty.prfs $FILE