mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
428f9edffd
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>
16 lines
441 B
Plaintext
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
|