freebsd-ports/games/py-pychess/files/patch-pychess
Nicola Vitale 9f80c4ac6c PyChess is a gnome-inspired chess client written in Python.
Features

    * CECP and UCI Engine support
    * Free on-line play on the FICS chess servers
    * Read and writes the PGN, EPD and FEN chess file formats
    * Built-in Python based engine
    * Undo and pause functions
    * Board and piece animation
    * Drag and drop
    * Tabbed interface
    * Hints and spy arrows
    * Opening book side panel using sqlite
    * Scoreplot side panel
    * "Enter game" in pgn dialog
    * Internationalised or figure pieces in notation
    * Optional sounds
    * Legal move highlighting
    * A nice and accessible look

WWW:	http://pychess.googlepages.com/
2008-01-25 17:37:57 +00:00

17 lines
512 B
Text

--- pychess 2008-01-18 13:57:53.000000000 +0100
+++ pychess.port 2008-01-23 18:43:20.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# PyChess startup script
#
@@ -34,7 +34,7 @@
# This is an ugly hack needed prior to gtkSourceView2 because of a pygtk bug:
# http://bugzilla.gnome.org/show_bug.cgi?id=393483
-os.environ["XDG_DATA_DIRS"] = getDataPrefix()+":/usr/share/"
+os.environ["XDG_DATA_DIRS"] = getDataPrefix()+":%%PREFIX%%/share/"
# Let's rumble!
import pychess.Main