summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2005-07-20 19:46:27 +0000
committerdrochner <drochner@pkgsrc.org>2005-07-20 19:46:27 +0000
commit03ad783c4577067973248cba05c1abc07da3122a (patch)
tree1579c5a266c6dd01f8f1495f6943ea23f153bcf5 /games
parent501c4c1877e0e3047d72daea961335c8a76a03e9 (diff)
downloadpkgsrc-03ad783c4577067973248cba05c1abc07da3122a.tar.gz
import pytraffic-2.0.1, a computer version of a popular board game
Diffstat (limited to 'games')
-rw-r--r--games/pytraffic/DESCR5
-rw-r--r--games/pytraffic/Makefile18
-rw-r--r--games/pytraffic/PLIST238
-rw-r--r--games/pytraffic/distinfo6
-rw-r--r--games/pytraffic/patches/patch-aa24
5 files changed, 291 insertions, 0 deletions
diff --git a/games/pytraffic/DESCR b/games/pytraffic/DESCR
new file mode 100644
index 00000000000..4dc121c652e
--- /dev/null
+++ b/games/pytraffic/DESCR
@@ -0,0 +1,5 @@
+PyTraffic is a computer version of the board puzzle Rush Hour invented by
+the famous puzzle designer Nob Yoshigahara and commercialized by
+Binary Arts Corporation. The goal is to remove the red car out of the
+grid through the slot on the right. To do this you have to slide the
+other cars out of the way.
diff --git a/games/pytraffic/Makefile b/games/pytraffic/Makefile
new file mode 100644
index 00000000000..11fe781b390
--- /dev/null
+++ b/games/pytraffic/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/07/20 19:46:27 drochner Exp $
+#
+
+DISTNAME= pytraffic-2.0.1
+CATEGORIES= games
+MASTER_SITES= http://alpha.uhasselt.be/Research/Algebra/Members/pytraffic/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://alpha.uhasselt.be/Research/Algebra/Members/pytraffic/
+COMMENT= Computer version of a popular board game
+
+PYDISTUTILSPKG= yes
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../x11/py-gtk2/buildlink3.mk"
+.include "../../devel/py-game/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/pytraffic/PLIST b/games/pytraffic/PLIST
new file mode 100644
index 00000000000..729a30de65d
--- /dev/null
+++ b/games/pytraffic/PLIST
@@ -0,0 +1,238 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/07/20 19:46:27 drochner Exp $
+bin/pytraffic
+share/applications/pytraffic.desktop
+share/pytraffic2/AUTHORS
+share/pytraffic2/Arena.py
+share/pytraffic2/Arena.pyc
+share/pytraffic2/Arena.pyo
+share/pytraffic2/ArtWork.py
+share/pytraffic2/ArtWork.pyc
+share/pytraffic2/ArtWork.pyo
+share/pytraffic2/Board.py
+share/pytraffic2/Board.pyc
+share/pytraffic2/Board.pyo
+share/pytraffic2/BottomBar.py
+share/pytraffic2/BottomBar.pyc
+share/pytraffic2/BottomBar.pyo
+share/pytraffic2/CHANGELOG
+share/pytraffic2/COPYING
+share/pytraffic2/Cache.py
+share/pytraffic2/Cache.pyc
+share/pytraffic2/Cache.pyo
+share/pytraffic2/Canvas.py
+share/pytraffic2/Canvas.pyc
+share/pytraffic2/Canvas.pyo
+share/pytraffic2/Chooser.py
+share/pytraffic2/Chooser.pyc
+share/pytraffic2/Chooser.pyo
+share/pytraffic2/CondMessageBox.py
+share/pytraffic2/CondMessageBox.pyc
+share/pytraffic2/CondMessageBox.pyo
+share/pytraffic2/DOCS/Levels.htm
+share/pytraffic2/DOCS/Readme.htm
+share/pytraffic2/DOCS/Sound.htm
+share/pytraffic2/DOCS/Themes.htm
+share/pytraffic2/DOCS/nobtob.gif
+share/pytraffic2/DOCS/nobtob.htm
+share/pytraffic2/Game.py
+share/pytraffic2/Game.pyc
+share/pytraffic2/Game.pyo
+share/pytraffic2/GameState.py
+share/pytraffic2/GameState.pyc
+share/pytraffic2/GameState.pyo
+share/pytraffic2/Hint.py
+share/pytraffic2/Hint.pyc
+share/pytraffic2/Hint.pyo
+share/pytraffic2/History.py
+share/pytraffic2/History.pyc
+share/pytraffic2/History.pyo
+share/pytraffic2/ICNS/carNred.ico
+share/pytraffic2/ICNS/carNred16x16.ico
+share/pytraffic2/ICNS/carNred32x32.ico
+share/pytraffic2/ICNS/carNred64x64.png
+share/pytraffic2/INSTALL
+share/pytraffic2/ImageCache.py
+share/pytraffic2/ImageCache.pyc
+share/pytraffic2/ImageCache.pyo
+share/pytraffic2/LevelFileParser.py
+share/pytraffic2/LevelFileParser.pyc
+share/pytraffic2/LevelFileParser.pyo
+share/pytraffic2/LevelSelector.py
+share/pytraffic2/LevelSelector.pyc
+share/pytraffic2/LevelSelector.pyo
+share/pytraffic2/MUSIC/Ranger_Song.COPYRIGHT
+share/pytraffic2/MUSIC/Ranger_Song.s3m
+share/pytraffic2/Misc.py
+share/pytraffic2/Misc.pyc
+share/pytraffic2/Misc.pyo
+share/pytraffic2/PropertyBag.py
+share/pytraffic2/PropertyBag.pyc
+share/pytraffic2/PropertyBag.pyo
+share/pytraffic2/README
+share/pytraffic2/ShowHTML.py
+share/pytraffic2/ShowHTML.pyc
+share/pytraffic2/ShowHTML.pyo
+share/pytraffic2/SmartLabel.py
+share/pytraffic2/SmartLabel.pyc
+share/pytraffic2/SmartLabel.pyo
+share/pytraffic2/SoundCache.py
+share/pytraffic2/SoundCache.pyc
+share/pytraffic2/SoundCache.pyo
+share/pytraffic2/SoundData.py
+share/pytraffic2/SoundData.pyc
+share/pytraffic2/SoundData.pyo
+share/pytraffic2/SoundServer.py
+share/pytraffic2/SoundServer.pyc
+share/pytraffic2/SoundServer.pyo
+share/pytraffic2/StatisticsDialog.py
+share/pytraffic2/StatisticsDialog.pyc
+share/pytraffic2/StatisticsDialog.pyo
+share/pytraffic2/THEMES/Fancy/BACKGROUND/background.gif
+share/pytraffic2/THEMES/Fancy/CARS/carGred.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHCG0.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHCG1.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHCG11.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHCG2.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHCG3.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHCG4.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHCG9.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHCN0.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHCN1.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHCN11.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHCN2.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHCN3.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHCN4.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHCN9.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHTG0.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHTG1.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHTG2.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHTG3.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHTG4.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHTN0.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHTN1.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHTN2.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHTN3.gif
+share/pytraffic2/THEMES/Fancy/CARS/carHTN4.gif
+share/pytraffic2/THEMES/Fancy/CARS/carNred.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVCG0.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVCG1.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVCG11.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVCG2.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVCG3.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVCG4.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVCG9.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVCN0.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVCN1.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVCN11.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVCN2.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVCN3.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVCN4.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVCN9.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVTG0.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVTG1.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVTG2.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVTG3.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVTG4.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVTN0.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVTN1.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVTN2.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVTN3.gif
+share/pytraffic2/THEMES/Fancy/CARS/carVTN4.gif
+share/pytraffic2/THEMES/Fancy/SOUND/applause.ogg
+share/pytraffic2/THEMES/Fancy/SOUND/carTengine1.ogg
+share/pytraffic2/THEMES/Fancy/SOUND/carTengine4.ogg
+share/pytraffic2/THEMES/Fancy/SOUND/carThorn0.ogg
+share/pytraffic2/THEMES/Fancy/SOUND/carThorn1.ogg
+share/pytraffic2/THEMES/Fancy/SOUND/carThorn4.ogg
+share/pytraffic2/THEMES/Fancy/SOUND/engine.ogg
+share/pytraffic2/THEMES/Fancy/SOUND/horn.ogg
+share/pytraffic2/THEMES/Minimal/BACKGROUND/background.gif
+share/pytraffic2/THEMES/Minimal/CARS/carGred.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCG0.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCG1.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCG10.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCG2.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCG3.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCG4.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCG5.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCG6.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCG7.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCG8.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCG9.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCN0.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCN1.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCN10.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCN2.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCN3.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCN4.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCN5.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCN6.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCN7.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCN8.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHCN9.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHTG0.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHTG1.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHTG2.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHTG3.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHTG4.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHTN0.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHTN1.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHTN2.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHTN3.gif
+share/pytraffic2/THEMES/Minimal/CARS/carHTN4.gif
+share/pytraffic2/THEMES/Minimal/CARS/carNred.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCG0.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCG1.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCG10.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCG2.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCG3.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCG4.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCG5.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCG6.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCG7.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCG8.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCG9.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCN0.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCN1.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCN10.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCN2.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCN3.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCN4.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCN5.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCN6.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCN7.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCN8.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVCN9.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVTG0.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVTG1.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVTG2.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVTG3.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVTG4.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVTN0.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVTN1.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVTN2.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVTN3.gif
+share/pytraffic2/THEMES/Minimal/CARS/carVTN4.gif
+share/pytraffic2/ThemeEngine.py
+share/pytraffic2/ThemeEngine.pyc
+share/pytraffic2/ThemeEngine.pyo
+share/pytraffic2/Timer.py
+share/pytraffic2/Timer.pyc
+share/pytraffic2/Timer.pyo
+share/pytraffic2/_hint.so
+share/pytraffic2/ttraffic.levels
+share/pytraffic2/version.py
+share/pytraffic2/version.pyc
+share/pytraffic2/version.pyo
+@dirrm share/pytraffic2/THEMES/Minimal/CARS
+@dirrm share/pytraffic2/THEMES/Minimal/BACKGROUND
+@dirrm share/pytraffic2/THEMES/Minimal
+@dirrm share/pytraffic2/THEMES/Fancy/SOUND
+@dirrm share/pytraffic2/THEMES/Fancy/CARS
+@dirrm share/pytraffic2/THEMES/Fancy/BACKGROUND
+@dirrm share/pytraffic2/THEMES/Fancy
+@dirrm share/pytraffic2/THEMES
+@dirrm share/pytraffic2/MUSIC
+@dirrm share/pytraffic2/ICNS
+@dirrm share/pytraffic2/DOCS
+@dirrm share/pytraffic2
diff --git a/games/pytraffic/distinfo b/games/pytraffic/distinfo
new file mode 100644
index 00000000000..6d33fd303fb
--- /dev/null
+++ b/games/pytraffic/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/07/20 19:46:27 drochner Exp $
+
+SHA1 (pytraffic-2.0.1.tar.gz) = c6b091e3e3ca4a722fa044c89550b6ff81616c03
+RMD160 (pytraffic-2.0.1.tar.gz) = 357633d6bbc951711064dba8635141526b6a500f
+Size (pytraffic-2.0.1.tar.gz) = 655963 bytes
+SHA1 (patch-aa) = 4dd80304142cd5bd6e8dd47fbc1c9d1fcd098254
diff --git a/games/pytraffic/patches/patch-aa b/games/pytraffic/patches/patch-aa
new file mode 100644
index 00000000000..0a493110c51
--- /dev/null
+++ b/games/pytraffic/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/07/20 19:46:27 drochner Exp $
+
+--- setup.py.orig 2005-07-19 18:29:58.000000000 +0200
++++ setup.py
+@@ -48,7 +48,7 @@ except ImportError:
+ # Furthermore both their location and content depend on <prefix>.
+ # Distutils should really have a 'configure' step.
+ if os.name=='posix':
+- prefix='/usr/local'
++ prefix=os.environ['PREFIX']
+ for arg_index in xrange(1,len(sys.argv)):
+ arg=sys.argv[arg_index]
+ if arg=='--prefix':
+@@ -84,8 +84,8 @@ if py2exe_present:
+ # We now construct the files pytraffic and pytraffic.desktop. We will
+ # remove them afterwards.
+ if os.name=='posix':
+- main_command_contents=r"""exec python %s/share/%s/Game.py
+-""" % (prefix,version.install_leaf)
++ main_command_contents=r"""exec %s %s/share/%s/Game.py
++""" % (sys.executable,prefix,version.install_leaf)
+
+ main_command_file=open("pytraffic","w")
+ main_command_file.write(main_command_contents)