1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/games/4stattack/files/patch-4stattack
Pav Lucistnik 428f9edffd Add 4stAttack, 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.

http://forcedattack.sourceforge.net/

PR:		ports/61929
Submitted by:	Jean-Yves Lefort <jylefort@brutele.be>
2004-01-27 12:13:03 +00:00

16 lines
441 B
Plaintext

--- 4stattack.orig Mon Jan 26 08:08:08 2004
+++ 4stattack Mon Jan 26 08:28:42 2004
@@ -1,9 +1,6 @@
#!/bin/sh
-FAHOME=/usr/share/forcedattack2
+FAHOME=%%DATADIR%%
if [ ! -f ~/.4stattackrc ]; then
- cp $FAHOME/settings.ini ~/.4stattackrc
+ install -m 644 $FAHOME/settings.ini ~/.4stattackrc
fi
-if [ -x $FAHOME/4stattack.py ]; then
- $FAHOME/4stattack.py -ini ~/.4stattackrc
-fi
-
+cd $FAHOME && %%PYTHON%% 4stattack.py -ini ~/.4stattackrc