pkgsrc/games/4stAttack/patches/patch-aa
rillig df73b959fe Imported 4stAttack from wip.
4st Attack is a game in which you have to try to out-smart your opponent. The
goal of the game is to connect four of stones in a straight line. This can be
horizontaly, vertically and even diagonnally.
2005-11-04 07:10:12 +00:00

17 lines
474 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2005/11/04 07:10:12 rillig Exp $
--- 4stattack.orig 2002-10-01 16:38:03.000000000 +0200
+++ 4stattack 2003-07-13 15:37:19.000000000 +0200
@@ -1,9 +1,10 @@
#!/bin/sh
-FAHOME=/usr/share/forcedattack2
+FAHOME=@FAHOME@
+
if [ ! -f ~/.4stattackrc ]; then
cp $FAHOME/settings.ini ~/.4stattackrc
fi
if [ -x $FAHOME/4stattack.py ]; then
- $FAHOME/4stattack.py -ini ~/.4stattackrc
+ ( cd $FAHOME && $FAHOME/4stattack.py -ini ~/.4stattackrc )
fi