ports/89518: [NEW PORT] games/pythonchess - Small program for playing chess against the computer
Alejandro Pulver
alejandro at varnet.biz
Fri Nov 25 00:20:41 UTC 2005
>Number: 89518
>Category: ports
>Synopsis: [NEW PORT] games/pythonchess - Small program for playing chess against the computer
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Nov 25 00:20:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Alejandro Pulver
>Release: FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD 5.4-RELEASE #0: Sat May 21 12:14:47 ART 2005
root at ale.varnet.bsd:/usr/src/sys/i386/compile/ATHLON-ALE
>Description:
>How-To-Repeat:
>Fix:
--- pythonchess.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# pythonchess
# pythonchess/Makefile
# pythonchess/distinfo
# pythonchess/pkg-descr
# pythonchess/pkg-plist
#
echo c - pythonchess
mkdir -p pythonchess > /dev/null 2>&1
echo x - pythonchess/Makefile
sed 's/^X//' >pythonchess/Makefile << 'END-of-pythonchess/Makefile'
X# New ports collection makefile for: pythonchess
X# Date created: 24 November 2005
X# Whom: Alejandro Pulver <alejandro at varnet.biz>
X#
X# $FreeBSD$
X#
X
XPORTNAME= pythonchess
XPORTVERSION= 0.6
XCATEGORIES= games
XMASTER_SITES= http://www.kolumbus.fi/jyrki.alakuijala/
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= alejandro at varnet.biz
XCOMMENT= Small program for playing chess against the computer
X
XRUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
X
XUSE_PYTHON= yes
X
Xdo-build:
X @(${ECHO_CMD} "#!${SH}"; \
X ${ECHO_CMD} "cd ${DATADIR} && ${PYTHON_CMD} board.py") \
X > ${WRKDIR}/${PORTNAME}
X
Xdo-install:
X @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
X @${MKDIR} ${DATADIR}
X.for f in *.gif *.py *.txt
X @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
X.endfor
X
X.include <bsd.port.mk>
END-of-pythonchess/Makefile
echo x - pythonchess/distinfo
sed 's/^X//' >pythonchess/distinfo << 'END-of-pythonchess/distinfo'
XMD5 (pythonchess-0.6.tgz) = a002cfba45397f5875d9d75b322482e6
XSHA256 (pythonchess-0.6.tgz) = 944249decbd8699acb8749c268d8932bbfe2b89c1d1f3375e95ba52c7a926552
XSIZE (pythonchess-0.6.tgz) = 40919
END-of-pythonchess/distinfo
echo x - pythonchess/pkg-descr
sed 's/^X//' >pythonchess/pkg-descr << 'END-of-pythonchess/pkg-descr'
Xpythonchess is a computer chess program for human vs. computer games.
Xpythonchess is a complete chess program with alpha-beta search, hashing,
Xpondering, iterative deepening, etc. implemented in Python programming
Xlanguage.
X
XWWW: http://www.kolumbus.fi/jyrki.alakuijala/pychess.html
END-of-pythonchess/pkg-descr
echo x - pythonchess/pkg-plist
sed 's/^X//' >pythonchess/pkg-plist << 'END-of-pythonchess/pkg-plist'
Xbin/pythonchess
X%%DATADIR%%/bishopb.gif
X%%DATADIR%%/bishopw.gif
X%%DATADIR%%/board.py
X%%DATADIR%%/chesspersonalities.py
X%%DATADIR%%/empty.gif
X%%DATADIR%%/kingb.gif
X%%DATADIR%%/kingw.gif
X%%DATADIR%%/knightb.gif
X%%DATADIR%%/knightw.gif
X%%DATADIR%%/nchess6.py
X%%DATADIR%%/openinglibrary.py
X%%DATADIR%%/openinglibrary.txt
X%%DATADIR%%/pawnb.gif
X%%DATADIR%%/pawnw.gif
X%%DATADIR%%/queenb.gif
X%%DATADIR%%/queenw.gif
X%%DATADIR%%/rookb.gif
X%%DATADIR%%/rookw.gif
X at dirrm %%DATADIR%%
END-of-pythonchess/pkg-plist
exit
--- pythonchess.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list