aboutsummaryrefslogtreecommitdiff
path: root/games/atomix/pkg-install
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-08-28 07:58:46 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-08-28 07:58:46 +0000
commit9e389814c321a23b61eb0beb65d8994791245073 (patch)
treee4b5577665085822f82a42a2e9fc9db21b323f1f /games/atomix/pkg-install
parentb6214e24cd945896703bff4d21515de1ea931816 (diff)
downloadports-9e389814c321a23b61eb0beb65d8994791245073.tar.gz
ports-9e389814c321a23b61eb0beb65d8994791245073.zip
Update to 1.2.2a.
Notes
Notes: svn path=/head/; revision=141033
Diffstat (limited to 'games/atomix/pkg-install')
-rw-r--r--games/atomix/pkg-install13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/atomix/pkg-install b/games/atomix/pkg-install
new file mode 100644
index 000000000000..e4e48b646a60
--- /dev/null
+++ b/games/atomix/pkg-install
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+if [ "$2" = "POST-INSTALL" ]; then
+ mkdir -p ${PKG_PREFIX}/share/gnome/games
+ SCORES="atomix.scores"
+ for i in ${SCORES}; do
+ if [ ! -f ${PKG_PREFIX}/share/gnome/games/${i} ]; then
+ touch -f ${PKG_PREFIX}/share/gnome/games/${i}
+ chown games:games ${PKG_PREFIX}/share/gnome/games/${i}
+ chmod 0664 ${PKG_PREFIX}/share/gnome/games/${i}
+ fi
+ done
+fi