aboutsummaryrefslogtreecommitdiffstats
path: root/games/lbreakout2/pkg-install
diff options
context:
space:
mode:
authormarkp <markp@FreeBSD.org>2002-08-04 15:26:00 +0800
committermarkp <markp@FreeBSD.org>2002-08-04 15:26:00 +0800
commitf28a56f8c11baaa07034fc6cdfa495bb971be9a6 (patch)
tree53b4a0324307b6599bdd08826f43e65fd4517694 /games/lbreakout2/pkg-install
parent3e26b86b279e7d16dd39702f81573008888fd574 (diff)
downloadfreebsd-ports-gnome-f28a56f8c11baaa07034fc6cdfa495bb971be9a6.tar.gz
freebsd-ports-gnome-f28a56f8c11baaa07034fc6cdfa495bb971be9a6.tar.zst
freebsd-ports-gnome-f28a56f8c11baaa07034fc6cdfa495bb971be9a6.zip
Add lbreakout2 2.2.2, the polished successor to LBreakout.
PR: 40589 Submitted by: verm@drunkmonk.net
Diffstat (limited to 'games/lbreakout2/pkg-install')
-rw-r--r--games/lbreakout2/pkg-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/lbreakout2/pkg-install b/games/lbreakout2/pkg-install
new file mode 100644
index 000000000000..03b2139cede2
--- /dev/null
+++ b/games/lbreakout2/pkg-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+FILE=/var/games/lbreakout2.hscr
+[ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0
+
+echo "===> Creating initial high score file $FILE"
+install -o root -g games -m 664 ${PKG_PREFIX}/share/lbreakout2/empty.hscr $FILE