1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/games/pythonchess/Makefile
Edwin Groothuis a06e65d3cd [NEW PORT] games/pythonchess - Small program for playing chess against the computer
pythonchess is a computer chess program for human vs.
	computer games.  pythonchess is a complete chess program
	with alpha-beta search, hashing, pondering, iterative
	deepening, etc. implemented in Python programming language.

	WWW: http://www.kolumbus.fi/jyrki.alakuijala/pychess.html

PR:		ports/89518
Submitted by:	"Alejandro Pulver" <alejandro@varnet.biz>
2005-11-25 03:40:38 +00:00

34 lines
801 B
Makefile

# New ports collection makefile for: pythonchess
# Date created: 24 November 2005
# Whom: Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#
PORTNAME= pythonchess
PORTVERSION= 0.6
CATEGORIES= games
MASTER_SITES= http://www.kolumbus.fi/jyrki.alakuijala/
EXTRACT_SUFX= .tgz
MAINTAINER= alejandro@varnet.biz
COMMENT= Small program for playing chess against the computer
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
USE_PYTHON= yes
do-build:
@(${ECHO_CMD} "#!${SH}"; \
${ECHO_CMD} "cd ${DATADIR} && ${PYTHON_CMD} board.py") \
> ${WRKDIR}/${PORTNAME}
do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
@${MKDIR} ${DATADIR}
.for f in *.gif *.py *.txt
@${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
.endfor
.include <bsd.port.mk>