diff options
Diffstat (limited to 'games/pythonchess')
-rw-r--r-- | games/pythonchess/Makefile | 60 | ||||
-rw-r--r-- | games/pythonchess/distinfo | 4 | ||||
-rw-r--r-- | games/pythonchess/files/pythonchess.in | 7 | ||||
-rw-r--r-- | games/pythonchess/pkg-descr | 7 | ||||
-rw-r--r-- | games/pythonchess/pkg-plist | 52 |
5 files changed, 0 insertions, 130 deletions
diff --git a/games/pythonchess/Makefile b/games/pythonchess/Makefile deleted file mode 100644 index 7d0389eb90dd..000000000000 --- a/games/pythonchess/Makefile +++ /dev/null @@ -1,60 +0,0 @@ -# Created by: Alejandro Pulver <alejandro@varnet.biz> -# $FreeBSD$ - -PORTNAME= pythonchess -PORTVERSION= 0.7 -PORTREVISION= 1 -CATEGORIES= games -MASTER_SITES= http://sites.google.com/site/purplesaguaroinc/myfiles/ \ - SF/nemysisfreebsdp/games/:icons -DISTFILES= ${PORTNAME:S/p/P/:S/c/C/}_v${DISTVERSION}${EXTRACT_SUFX} \ - ${PORTNAME}.png:icons -DIST_SUBDIR= ${PORTNAME} -EXTRACT_ONLY= ${PORTNAME:S/p/P/:S/c/C/}_v${DISTVERSION}${EXTRACT_SUFX} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Small program for playing chess against the computer - -DEPRECATED= Unmaintained, uses EOLed python27 -EXPIRATION_DATE= 2020-01-27 - -LICENSE= GPLv3 -LICENSE_FILE= ${WRKSRC}/gpl.txt - -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} - -WRKSRC= ${WRKDIR}/${PORTNAME:S/p/P/:S/c/C/} - -USES= dos2unix python:2.7 zip -DOS2UNIX_REGEX= .*.[^p][^n][^g]$ - -SUB_FILES= ${PORTNAME} - -DESKTOP_ENTRIES="Python Chess" "" "${PORTNAME}" \ - "${PORTNAME}" "Game;BoardGame;" "" - -post-patch: - @${FIND} ${WRKDIR} -name Thumbs.db -or -name pygame2exe_Chess.py | \ - ${XARGS} ${RM} -r - @${REINPLACE_CMD} -e 's|^.*#!.*python.*$$|#!${PYTHON_CMD}|' \ - ${WRKSRC}/*.py - @(cd ${WRKSRC} && ${RM} *.py.bak) - -do-build: - ${PYTHON_CMD} -m compileall ${WRKSRC} - @${PYTHON_CMD} -O -m compileall ${WRKSRC} - -do-install: - @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \ - ${WRKDIR}/${PORTNAME} - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ - - @(cd ${WRKSRC} && ${COPYTREE_SHARE} images ${STAGEDIR}${DATADIR}) -.for f in *.py *.pyc *.py - ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR} -.endfor - - ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ - ${STAGEDIR}${PREFIX}/share/pixmaps/ - -.include <bsd.port.mk> diff --git a/games/pythonchess/distinfo b/games/pythonchess/distinfo deleted file mode 100644 index d93e7fa1f37e..000000000000 --- a/games/pythonchess/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -SHA256 (pythonchess/PythonChess_v0.7.zip) = ebf10767e6c83ea90e39ccee07064929f969862995daae439b6e5edb3def1526 -SIZE (pythonchess/PythonChess_v0.7.zip) = 160772 -SHA256 (pythonchess/pythonchess.png) = 5f4fb6ca2280935b7696bf48e4215c2dcd1c286cbd8fc04cff24524c9d0c9fc0 -SIZE (pythonchess/pythonchess.png) = 680 diff --git a/games/pythonchess/files/pythonchess.in b/games/pythonchess/files/pythonchess.in deleted file mode 100644 index 25a5519499b0..000000000000 --- a/games/pythonchess/files/pythonchess.in +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -cd "%%DATADIR%%" -exec %%PYTHON_CMD%% ./PythonChessMain.py "${@}" diff --git a/games/pythonchess/pkg-descr b/games/pythonchess/pkg-descr deleted file mode 100644 index caf5f976a3a3..000000000000 --- a/games/pythonchess/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Chess for player vs. player, player vs. AI, or AI vs. AI. -Uses Tkinter to get initial game parameters. -Uses Pygame to draw the board and pieces and to get user -mouse clicks. Run with the “-h” option to get full listing -of available command line flags. - -WWW: http://yakinikuman.wordpress.com/python-chess/ diff --git a/games/pythonchess/pkg-plist b/games/pythonchess/pkg-plist deleted file mode 100644 index d76b580a398e..000000000000 --- a/games/pythonchess/pkg-plist +++ /dev/null @@ -1,52 +0,0 @@ -bin/pythonchess -share/pixmaps/pythonchess.png -%%DATADIR%%/ChessAI.py -%%DATADIR%%/ChessAI.pyc -%%DATADIR%%/ChessBoard.py -%%DATADIR%%/ChessBoard.pyc -%%DATADIR%%/ChessGUI_pygame.py -%%DATADIR%%/ChessGUI_pygame.pyc -%%DATADIR%%/ChessGUI_text.py -%%DATADIR%%/ChessGUI_text.pyc -%%DATADIR%%/ChessGameParams.py -%%DATADIR%%/ChessGameParams.pyc -%%DATADIR%%/ChessPlayer.py -%%DATADIR%%/ChessPlayer.pyc -%%DATADIR%%/ChessRules.py -%%DATADIR%%/ChessRules.pyc -%%DATADIR%%/PySetup.py -%%DATADIR%%/PySetup.pyc -%%DATADIR%%/PythonChessAIStats.py -%%DATADIR%%/PythonChessAIStats.pyc -%%DATADIR%%/PythonChessMain.py -%%DATADIR%%/PythonChessMain.pyc -%%DATADIR%%/ScrollingTextBox.py -%%DATADIR%%/ScrollingTextBox.pyc -%%DATADIR%%/images/Chess_tile_bd.png -%%DATADIR%%/images/Chess_tile_bl.png -%%DATADIR%%/images/Chess_tile_kd.png -%%DATADIR%%/images/Chess_tile_kl.png -%%DATADIR%%/images/Chess_tile_nd.png -%%DATADIR%%/images/Chess_tile_nl.png -%%DATADIR%%/images/Chess_tile_pd.png -%%DATADIR%%/images/Chess_tile_pl.png -%%DATADIR%%/images/Chess_tile_qd.png -%%DATADIR%%/images/Chess_tile_ql.png -%%DATADIR%%/images/Chess_tile_rd.png -%%DATADIR%%/images/Chess_tile_rl.png -%%DATADIR%%/images/blackBishop.png -%%DATADIR%%/images/blackKing.png -%%DATADIR%%/images/blackKnight.png -%%DATADIR%%/images/blackPawn.png -%%DATADIR%%/images/blackQueen.png -%%DATADIR%%/images/blackRook.png -%%DATADIR%%/images/brown_square.png -%%DATADIR%%/images/chess_icon.ico -%%DATADIR%%/images/cyan_square.png -%%DATADIR%%/images/whiteBishop.png -%%DATADIR%%/images/whiteKing.png -%%DATADIR%%/images/whiteKnight.png -%%DATADIR%%/images/whitePawn.png -%%DATADIR%%/images/whiteQueen.png -%%DATADIR%%/images/whiteRook.png -%%DATADIR%%/images/white_square.png |