summaryrefslogtreecommitdiff
path: root/games/4stAttack
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-11-04 07:10:12 +0000
committerrillig <rillig@pkgsrc.org>2005-11-04 07:10:12 +0000
commit1cded0fa6ed1b0dd09c33305dc39cc9177beaa26 (patch)
tree785bf45243c22ad578a87c25d21f568c2d312e65 /games/4stAttack
parentf75ff61c7731beb8596762bf94606111b97b471d (diff)
downloadpkgsrc-1cded0fa6ed1b0dd09c33305dc39cc9177beaa26.tar.gz
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.
Diffstat (limited to 'games/4stAttack')
-rw-r--r--games/4stAttack/DESCR3
-rw-r--r--games/4stAttack/Makefile34
-rw-r--r--games/4stAttack/PLIST266
-rw-r--r--games/4stAttack/distinfo6
-rw-r--r--games/4stAttack/patches/patch-aa17
5 files changed, 326 insertions, 0 deletions
diff --git a/games/4stAttack/DESCR b/games/4stAttack/DESCR
new file mode 100644
index 00000000000..233f44682d6
--- /dev/null
+++ b/games/4stAttack/DESCR
@@ -0,0 +1,3 @@
+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.
diff --git a/games/4stAttack/Makefile b/games/4stAttack/Makefile
new file mode 100644
index 00000000000..9ea092e305d
--- /dev/null
+++ b/games/4stAttack/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/04 07:10:12 rillig Exp $
+#
+
+DISTNAME= 4stAttack-2.1.4
+PKGREVISION= 1
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=forcedattack/}
+
+MAINTAINER= recht@NetBSD.org
+HOMEPAGE= http://forcedattack.sourceforge.net/
+COMMENT= Game in which you have to try to out-smart your opponent
+
+PYTHON_PATCH_SCRIPTS= 4stattack.py
+
+FIND_EXCLUDE= \( -name \*.orig -or -name \*.txt -or -name \*.pre -or -name GPL -or -name \*~ -or -name 4stattack \)
+
+do-build:
+ ${CHMOD} 0555 ${WRKSRC}/4stattack.py
+ ${MV} ${WRKSRC}/4stattack ${WRKSRC}/4stattack.pre
+ ${SED} -e "s,@FAHOME@,${PREFIX}/share/${PKGBASE}," \
+ ${WRKSRC}/4stattack.pre > ${WRKSRC}/4stattack
+ ${PYTHONBIN} ${PREFIX}/${PYLIB}/compileall.py ${WRKSRC}
+ ${PYTHONBIN} -O ${PREFIX}/${PYLIB}/compileall.py ${WRKSRC}
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/${PKGBASE}
+ ${INSTALL_SCRIPT} ${WRKSRC}/4stattack ${PREFIX}/bin
+ cd ${WRKSRC} && ${FIND} . -type f -and \! ${FIND_EXCLUDE} \
+ -print | ${PAX} -rw -pp -pm ${PREFIX}/share/${PKGBASE}
+
+.include "../../devel/py-game/buildlink3.mk"
+.include "../../lang/python/application.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/4stAttack/PLIST b/games/4stAttack/PLIST
new file mode 100644
index 00000000000..efa0c510fd8
--- /dev/null
+++ b/games/4stAttack/PLIST
@@ -0,0 +1,266 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/04 07:10:12 rillig Exp $
+bin/4stattack
+share/4stAttack/4stattack.py
+share/4stAttack/4stattack.pyc
+share/4stAttack/4stattack.pyo
+share/4stAttack/animator.py
+share/4stAttack/animator.pyc
+share/4stAttack/animator.pyo
+share/4stAttack/board.py
+share/4stAttack/board.pyc
+share/4stAttack/board.pyo
+share/4stAttack/chat.py
+share/4stAttack/chat.pyc
+share/4stAttack/chat.pyo
+share/4stAttack/creditsscreen.py
+share/4stAttack/creditsscreen.pyc
+share/4stAttack/creditsscreen.pyo
+share/4stAttack/data/music/4stattack.ogg
+share/4stAttack/data/themes/clean/1024x768/awaitingconnection.png
+share/4stAttack/data/themes/clean/1024x768/back.png
+share/4stAttack/data/themes/clean/1024x768/background.png
+share/4stAttack/data/themes/clean/1024x768/chakie.png
+share/4stAttack/data/themes/clean/1024x768/connecting-plain.png
+share/4stAttack/data/themes/clean/1024x768/connecting.png
+share/4stAttack/data/themes/clean/1024x768/credits.png
+share/4stAttack/data/themes/clean/1024x768/cursor.png
+share/4stAttack/data/themes/clean/1024x768/draw.png
+share/4stAttack/data/themes/clean/1024x768/error-connecting.png
+share/4stAttack/data/themes/clean/1024x768/frame.png
+share/4stAttack/data/themes/clean/1024x768/frm_bl.png
+share/4stAttack/data/themes/clean/1024x768/frm_br.png
+share/4stAttack/data/themes/clean/1024x768/frm_left.png
+share/4stAttack/data/themes/clean/1024x768/frm_right.png
+share/4stAttack/data/themes/clean/1024x768/frm_tl.png
+share/4stAttack/data/themes/clean/1024x768/frm_top.png
+share/4stAttack/data/themes/clean/1024x768/frm_tr.png
+share/4stAttack/data/themes/clean/1024x768/fullscreen.png
+share/4stAttack/data/themes/clean/1024x768/graphics.png
+share/4stAttack/data/themes/clean/1024x768/green-zebra.png
+share/4stAttack/data/themes/clean/1024x768/grid.png
+share/4stAttack/data/themes/clean/1024x768/hostagame.png
+share/4stAttack/data/themes/clean/1024x768/joinagame.png
+share/4stAttack/data/themes/clean/1024x768/keepplaying.png
+share/4stAttack/data/themes/clean/1024x768/korruptor.png
+share/4stAttack/data/themes/clean/1024x768/locations.ini
+share/4stAttack/data/themes/clean/1024x768/logo.png
+share/4stAttack/data/themes/clean/1024x768/multiplayer.png
+share/4stAttack/data/themes/clean/1024x768/music.png
+share/4stAttack/data/themes/clean/1024x768/ok.png
+share/4stAttack/data/themes/clean/1024x768/playervscpu.png
+share/4stAttack/data/themes/clean/1024x768/programming.png
+share/4stAttack/data/themes/clean/1024x768/pygame.png
+share/4stAttack/data/themes/clean/1024x768/quit.png
+share/4stAttack/data/themes/clean/1024x768/quitgame.png
+share/4stAttack/data/themes/clean/1024x768/radio-off.png
+share/4stAttack/data/themes/clean/1024x768/radio-on.png
+share/4stAttack/data/themes/clean/1024x768/radio.png
+share/4stAttack/data/themes/clean/1024x768/selector.png
+share/4stAttack/data/themes/clean/1024x768/selector1.png
+share/4stAttack/data/themes/clean/1024x768/selector2.png
+share/4stAttack/data/themes/clean/1024x768/settings.png
+share/4stAttack/data/themes/clean/1024x768/slm-text.png
+share/4stAttack/data/themes/clean/1024x768/slm.png
+share/4stAttack/data/themes/clean/1024x768/start.png
+share/4stAttack/data/themes/clean/1024x768/stone_1.png
+share/4stAttack/data/themes/clean/1024x768/stone_2.png
+share/4stAttack/data/themes/clean/1024x768/thanks.png
+share/4stAttack/data/themes/clean/1024x768/wannaquit.png
+share/4stAttack/data/themes/clean/1024x768/won_1.png
+share/4stAttack/data/themes/clean/1024x768/won_2.png
+share/4stAttack/data/themes/clean/audio.ini
+share/4stAttack/data/themes/clean/graphics.ini
+share/4stAttack/endgamedialog.py
+share/4stAttack/endgamedialog.pyc
+share/4stAttack/endgamedialog.pyo
+share/4stAttack/endscreen.py
+share/4stAttack/endscreen.pyc
+share/4stAttack/endscreen.pyo
+share/4stAttack/game.py
+share/4stAttack/game.pyc
+share/4stAttack/game.pyo
+share/4stAttack/gamelog.py
+share/4stAttack/gamelog.pyc
+share/4stAttack/gamelog.pyo
+share/4stAttack/gamescreen.py
+share/4stAttack/gamescreen.pyc
+share/4stAttack/gamescreen.pyo
+share/4stAttack/gui/__init__.py
+share/4stAttack/gui/__init__.pyc
+share/4stAttack/gui/__init__.pyo
+share/4stAttack/gui/button.py
+share/4stAttack/gui/button.pyc
+share/4stAttack/gui/button.pyo
+share/4stAttack/gui/canvas.py
+share/4stAttack/gui/canvas.pyc
+share/4stAttack/gui/canvas.pyo
+share/4stAttack/gui/checkbox.py
+share/4stAttack/gui/checkbox.pyc
+share/4stAttack/gui/checkbox.pyo
+share/4stAttack/gui/dialog.py
+share/4stAttack/gui/dialog.pyc
+share/4stAttack/gui/dialog.pyo
+share/4stAttack/gui/dialogs/dialog
+share/4stAttack/gui/dialogs/end_game.py
+share/4stAttack/gui/dialogs/end_game.pyc
+share/4stAttack/gui/dialogs/end_game.pyo
+share/4stAttack/gui/dialogs/info_map.py
+share/4stAttack/gui/dialogs/info_map.pyc
+share/4stAttack/gui/dialogs/info_map.pyo
+share/4stAttack/gui/dialogs/info_scenario.py
+share/4stAttack/gui/dialogs/info_scenario.pyc
+share/4stAttack/gui/dialogs/info_scenario.pyo
+share/4stAttack/gui/dialogs/info_units.py
+share/4stAttack/gui/dialogs/info_units.pyc
+share/4stAttack/gui/dialogs/info_units.pyo
+share/4stAttack/gui/dialogs/main_dialog.py
+share/4stAttack/gui/dialogs/main_dialog.pyc
+share/4stAttack/gui/dialogs/main_dialog.pyo
+share/4stAttack/gui/dialogs/new_game.py
+share/4stAttack/gui/dialogs/new_game.pyc
+share/4stAttack/gui/dialogs/new_game.pyo
+share/4stAttack/gui/dialogs/select_scenario.py
+share/4stAttack/gui/dialogs/select_scenario.pyc
+share/4stAttack/gui/dialogs/select_scenario.pyo
+share/4stAttack/gui/dialogs/setup_client.py
+share/4stAttack/gui/dialogs/setup_client.pyc
+share/4stAttack/gui/dialogs/setup_client.pyo
+share/4stAttack/gui/dialogs/setup_network.py
+share/4stAttack/gui/dialogs/setup_network.pyc
+share/4stAttack/gui/dialogs/setup_network.pyo
+share/4stAttack/gui/dialogs/setup_players.py
+share/4stAttack/gui/dialogs/setup_players.pyc
+share/4stAttack/gui/dialogs/setup_players.pyo
+share/4stAttack/gui/dialogs/start_game.py
+share/4stAttack/gui/dialogs/start_game.pyc
+share/4stAttack/gui/dialogs/start_game.pyo
+share/4stAttack/gui/dialogs/wait_client.py
+share/4stAttack/gui/dialogs/wait_client.pyc
+share/4stAttack/gui/dialogs/wait_client.pyo
+share/4stAttack/gui/editfield.py
+share/4stAttack/gui/editfield.pyc
+share/4stAttack/gui/editfield.pyo
+share/4stAttack/gui/fader.py
+share/4stAttack/gui/fader.pyc
+share/4stAttack/gui/fader.pyo
+share/4stAttack/gui/image.py
+share/4stAttack/gui/image.pyc
+share/4stAttack/gui/image.pyo
+share/4stAttack/gui/label.py
+share/4stAttack/gui/label.pyc
+share/4stAttack/gui/label.pyo
+share/4stAttack/gui/messagebox.py
+share/4stAttack/gui/messagebox.pyc
+share/4stAttack/gui/messagebox.pyo
+share/4stAttack/gui/progress.py
+share/4stAttack/gui/progress.pyc
+share/4stAttack/gui/progress.pyo
+share/4stAttack/gui/widget.py
+share/4stAttack/gui/widget.pyc
+share/4stAttack/gui/widget.pyo
+share/4stAttack/gui/widget_manager.py
+share/4stAttack/gui/widget_manager.pyc
+share/4stAttack/gui/widget_manager.pyo
+share/4stAttack/inisettings.py
+share/4stAttack/inisettings.pyc
+share/4stAttack/inisettings.pyo
+share/4stAttack/kde/icons/16x16/forcedattack2.png
+share/4stAttack/kde/icons/22x22/forcedattack2.png
+share/4stAttack/kde/icons/32x32/forcedattack2.png
+share/4stAttack/kde/icons/48x48/forcedattack2.png
+share/4stAttack/kde/icons/64x64/forcedattack2.png
+share/4stAttack/kde/menu-items/forcedattack2.desktop
+share/4stAttack/multiplayerscreen.py
+share/4stAttack/multiplayerscreen.pyc
+share/4stAttack/multiplayerscreen.pyo
+share/4stAttack/players/__init__.py
+share/4stAttack/players/__init__.pyc
+share/4stAttack/players/__init__.pyo
+share/4stAttack/players/agressive.py
+share/4stAttack/players/agressive.pyc
+share/4stAttack/players/agressive.pyo
+share/4stAttack/players/connectscore.py
+share/4stAttack/players/connectscore.pyc
+share/4stAttack/players/connectscore.pyo
+share/4stAttack/players/human.py
+share/4stAttack/players/human.pyc
+share/4stAttack/players/human.pyo
+share/4stAttack/players/minmax.py
+share/4stAttack/players/minmax.pyc
+share/4stAttack/players/minmax.pyo
+share/4stAttack/players/multiplayer.py
+share/4stAttack/players/multiplayer.pyc
+share/4stAttack/players/multiplayer.pyo
+share/4stAttack/players/multiplayer_receiver.py
+share/4stAttack/players/multiplayer_receiver.pyc
+share/4stAttack/players/multiplayer_receiver.pyo
+share/4stAttack/players/multiplayer_sender.py
+share/4stAttack/players/multiplayer_sender.pyc
+share/4stAttack/players/multiplayer_sender.pyo
+share/4stAttack/players/neuralai.py
+share/4stAttack/players/neuralai.pyc
+share/4stAttack/players/neuralai.pyo
+share/4stAttack/players/player.py
+share/4stAttack/players/player.pyc
+share/4stAttack/players/player.pyo
+share/4stAttack/players/randomai.py
+share/4stAttack/players/randomai.pyc
+share/4stAttack/players/randomai.pyo
+share/4stAttack/players/strategic.py
+share/4stAttack/players/strategic.pyc
+share/4stAttack/players/strategic.pyo
+share/4stAttack/players/treeai.py
+share/4stAttack/players/treeai.pyc
+share/4stAttack/players/treeai.pyo
+share/4stAttack/players/weighted.py
+share/4stAttack/players/weighted.pyc
+share/4stAttack/players/weighted.pyo
+share/4stAttack/quit.py
+share/4stAttack/quit.pyc
+share/4stAttack/quit.pyo
+share/4stAttack/rules.py
+share/4stAttack/rules.pyc
+share/4stAttack/rules.pyo
+share/4stAttack/scoremap.py
+share/4stAttack/scoremap.pyc
+share/4stAttack/scoremap.pyo
+share/4stAttack/setini.py
+share/4stAttack/setini.pyc
+share/4stAttack/setini.pyo
+share/4stAttack/settings.ini
+share/4stAttack/settingsscreen.py
+share/4stAttack/settingsscreen.pyc
+share/4stAttack/settingsscreen.pyo
+share/4stAttack/startscreen.py
+share/4stAttack/startscreen.pyc
+share/4stAttack/startscreen.pyo
+share/4stAttack/technical.ttf
+share/4stAttack/test.ini
+share/4stAttack/testgui.py
+share/4stAttack/testgui.pyc
+share/4stAttack/testgui.pyo
+share/4stAttack/testini.py
+share/4stAttack/testini.pyc
+share/4stAttack/testini.pyo
+share/4stAttack/themeresizer.py
+share/4stAttack/themeresizer.pyc
+share/4stAttack/themeresizer.pyo
+share/4stAttack/themeresizer.sh
+share/4stAttack/version
+@dirrm share/4stAttack/players
+@dirrm share/4stAttack/kde/menu-items
+@dirrm share/4stAttack/kde/icons/64x64
+@dirrm share/4stAttack/kde/icons/48x48
+@dirrm share/4stAttack/kde/icons/32x32
+@dirrm share/4stAttack/kde/icons/22x22
+@dirrm share/4stAttack/kde/icons/16x16
+@dirrm share/4stAttack/kde/icons
+@dirrm share/4stAttack/kde
+@dirrm share/4stAttack/gui/dialogs
+@dirrm share/4stAttack/gui
+@dirrm share/4stAttack/data/themes/clean/1024x768
+@dirrm share/4stAttack/data/themes/clean
+@dirrm share/4stAttack/data/themes
+@dirrm share/4stAttack/data/music
+@dirrm share/4stAttack/data
+@dirrm share/4stAttack
diff --git a/games/4stAttack/distinfo b/games/4stAttack/distinfo
new file mode 100644
index 00000000000..2dfcbaec4a0
--- /dev/null
+++ b/games/4stAttack/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/11/04 07:10:12 rillig Exp $
+
+SHA1 (4stAttack-2.1.4.tar.gz) = ecfe89054202b3c9fea9be4a03de72faaa406f6f
+RMD160 (4stAttack-2.1.4.tar.gz) = df5d420b5024e8634dac646247583179df533e44
+Size (4stAttack-2.1.4.tar.gz) = 1828247 bytes
+SHA1 (patch-aa) = e98b76fff139c121926c95c06ccff0c4ee85bd71
diff --git a/games/4stAttack/patches/patch-aa b/games/4stAttack/patches/patch-aa
new file mode 100644
index 00000000000..530d8be0974
--- /dev/null
+++ b/games/4stAttack/patches/patch-aa
@@ -0,0 +1,17 @@
+$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
+