add poker-engine

A python library that implements poker rules
This commit is contained in:
Ying-Chieh Liao 2006-12-14 16:03:08 +00:00
parent 01e53b475b
commit 829ab62062
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179766
5 changed files with 232 additions and 0 deletions

View file

@ -540,6 +540,7 @@
SUBDIR += plonx
SUBDIR += pmars
SUBDIR += pmars-sdl
SUBDIR += poker-engine
SUBDIR += poker-eval
SUBDIR += polypuzzle
SUBDIR += pongix

View file

@ -0,0 +1,39 @@
# ex:ts=8
# Ports collection Makefile for: poker-engine
# Date created: Dec 14, 2006
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= poker-engine
PORTVERSION= 1.0.20
CATEGORIES= games
MASTER_SITES= http://download.gna.org/pokersource/sources/
MAINTAINER= ijliao@FreeBSD.org
COMMENT= Development libraries for poker simulation
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
${PYTHON_SITELIBDIR}/libxslt.py:${PORTSDIR}/textproc/py-libxslt \
${PYTHON_SITELIBDIR}/pokereval.py:${PORTSDIR}/games/py-poker-eval \
${LOCALBASE}/bin/rsync:${PORTSDIR}/net/rsync
BUILD_DEPENDS= ${RUN_DEPENDS}
USE_GNOME= gnometarget pkgconfig
USE_PYTHON= 2.3+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man
USE_GMAKE= yes
MAN8= pokerconfigupgrade.8
post-patch:
@${REINPLACE_CMD} -e \
's|{datadir}/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
test:
@cd ${WRKSRC} && ${GMAKE} check
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (poker-engine-1.0.20.tar.gz) = 89a7b157572ffdf5df22bde5991e04ff
SHA256 (poker-engine-1.0.20.tar.gz) = 9fac3fd7325a0234bef1bcbd7c26ad5d529591e7a3215303e6bfb217fe64d351
SIZE (poker-engine-1.0.20.tar.gz) = 205356

View file

@ -0,0 +1,6 @@
poker-engine is a python library that implements poker rules according
to variants and betting structures specified in configuration files.
It designed to be used by a multiplayer poker server, a poker AI or a
poker client.
WWW: http://www.pokersource.org/poker-engine.php

View file

@ -0,0 +1,183 @@
etc/poker-engine/ante-limit.template
etc/poker-engine/limit.template
etc/poker-engine/no-limit.template
etc/poker-engine/poker..01-.02-no-limit.xml
etc/poker-engine/poker..01-.02-pot-limit.xml
etc/poker-engine/poker..02-.04-limit.xml
etc/poker-engine/poker..02-.04-no-limit.xml
etc/poker-engine/poker..02-.04-pot-limit.xml
etc/poker-engine/poker..02..04-limit.xml
etc/poker-engine/poker..05-.10-limit.xml
etc/poker-engine/poker..05-.10-no-limit.xml
etc/poker-engine/poker..05-.10-pot-limit.xml
etc/poker-engine/poker..05..10-limit.xml
etc/poker-engine/poker..10-.25-limit.xml
etc/poker-engine/poker..10-.25-no-limit.xml
etc/poker-engine/poker..10-.25-pot-limit.xml
etc/poker-engine/poker..25-.50-limit.xml
etc/poker-engine/poker..25-.50-no-limit.xml
etc/poker-engine/poker..25-.50-pot-limit.xml
etc/poker-engine/poker..25..50-limit.xml
etc/poker-engine/poker..50-1-limit.xml
etc/poker-engine/poker..50-1-no-limit.xml
etc/poker-engine/poker..50-1-pot-limit.xml
etc/poker-engine/poker..50.1-limit.xml
etc/poker-engine/poker.0-0-limit.xml
etc/poker-engine/poker.1-2-limit.xml
etc/poker-engine/poker.1-2-no-limit.xml
etc/poker-engine/poker.1-2-pot-limit.xml
etc/poker-engine/poker.10-15-limit.xml
etc/poker-engine/poker.10-15-pot-limit.xml
etc/poker-engine/poker.10-20-limit.xml
etc/poker-engine/poker.10-20-no-limit.xml
etc/poker-engine/poker.10-20-pot-limit.xml
etc/poker-engine/poker.100-200-limit.xml
etc/poker-engine/poker.100-200-no-limit.xml
etc/poker-engine/poker.100-200-pot-limit.xml
etc/poker-engine/poker.15-30-limit.xml
etc/poker-engine/poker.150-300-limit.xml
etc/poker-engine/poker.2-4-limit.xml
etc/poker-engine/poker.2-4-no-limit.xml
etc/poker-engine/poker.2-4-pot-limit.xml
etc/poker-engine/poker.200-400-limit.xml
etc/poker-engine/poker.3-6-limit.xml
etc/poker-engine/poker.3-6-no-limit.xml
etc/poker-engine/poker.3-6-pot-limit.xml
etc/poker-engine/poker.30-60-limit.xml
etc/poker-engine/poker.30-60-no-limit.xml
etc/poker-engine/poker.30-60-pot-limit.xml
etc/poker-engine/poker.4-8-limit.xml
etc/poker-engine/poker.5-10-limit.xml
etc/poker-engine/poker.5-10-no-limit.xml
etc/poker-engine/poker.5-10-pot-limit.xml
etc/poker-engine/poker.50-100-limit.xml
etc/poker-engine/poker.50-100-no-limit.xml
etc/poker-engine/poker.50-100-pot-limit.xml
etc/poker-engine/poker.7stud.xml
etc/poker-engine/poker.ante-.04-.08-limit.xml
etc/poker-engine/poker.ante-.10-.20-limit.xml
etc/poker-engine/poker.ante-.25-.50-limit.xml
etc/poker-engine/poker.ante-.50-1-limit.xml
etc/poker-engine/poker.ante-1-2-limit.xml
etc/poker-engine/poker.ante-10-20-limit.xml
etc/poker-engine/poker.ante-2-4-limit.xml
etc/poker-engine/poker.ante-3-6-limit.xml
etc/poker-engine/poker.ante-30-60-limit.xml
etc/poker-engine/poker.ante-5-10-limit.xml
etc/poker-engine/poker.holdem.xml
etc/poker-engine/poker.level-10-15-pot-limit.xml
etc/poker-engine/poker.level-10-20-no-limit.xml
etc/poker-engine/poker.level-15-30-no-limit.xml
etc/poker-engine/poker.level-2-4-limit.xml
etc/poker-engine/poker.level-no-limit.xml
etc/poker-engine/poker.levels-blinds.xml
etc/poker-engine/poker.omaha.xml
etc/poker-engine/poker.omaha8.xml
etc/poker-engine/poker.payouts.xml
etc/poker-engine/poker.razz.xml
etc/poker-engine/pot-limit.template
@dirrm etc/poker-engine
libdata/pkgconfig/poker-engine.pc
sbin/pokerconfigupgrade
%%DATADIR%%/conf/poker..01-.02-no-limit.xml
%%DATADIR%%/conf/poker..01-.02-pot-limit.xml
%%DATADIR%%/conf/poker..02-.04-limit.xml
%%DATADIR%%/conf/poker..02-.04-no-limit.xml
%%DATADIR%%/conf/poker..02-.04-pot-limit.xml
%%DATADIR%%/conf/poker..02..04-limit.xml
%%DATADIR%%/conf/poker..05-.10-limit.xml
%%DATADIR%%/conf/poker..05-.10-no-limit.xml
%%DATADIR%%/conf/poker..05-.10-pot-limit.xml
%%DATADIR%%/conf/poker..05..10-limit.xml
%%DATADIR%%/conf/poker..10-.25-limit.xml
%%DATADIR%%/conf/poker..10-.25-no-limit.xml
%%DATADIR%%/conf/poker..10-.25-pot-limit.xml
%%DATADIR%%/conf/poker..25-.50-limit.xml
%%DATADIR%%/conf/poker..25-.50-no-limit.xml
%%DATADIR%%/conf/poker..25-.50-pot-limit.xml
%%DATADIR%%/conf/poker..25..50-limit.xml
%%DATADIR%%/conf/poker..50-1-limit.xml
%%DATADIR%%/conf/poker..50-1-no-limit.xml
%%DATADIR%%/conf/poker..50-1-pot-limit.xml
%%DATADIR%%/conf/poker..50.1-limit.xml
%%DATADIR%%/conf/poker.0-0-limit.xml
%%DATADIR%%/conf/poker.1-2-limit.xml
%%DATADIR%%/conf/poker.1-2-no-limit.xml
%%DATADIR%%/conf/poker.1-2-pot-limit.xml
%%DATADIR%%/conf/poker.10-15-limit.xml
%%DATADIR%%/conf/poker.10-15-pot-limit.xml
%%DATADIR%%/conf/poker.10-20-limit.xml
%%DATADIR%%/conf/poker.10-20-no-limit.xml
%%DATADIR%%/conf/poker.10-20-pot-limit.xml
%%DATADIR%%/conf/poker.100-200-limit.xml
%%DATADIR%%/conf/poker.100-200-no-limit.xml
%%DATADIR%%/conf/poker.100-200-pot-limit.xml
%%DATADIR%%/conf/poker.15-30-limit.xml
%%DATADIR%%/conf/poker.150-300-limit.xml
%%DATADIR%%/conf/poker.2-4-limit.xml
%%DATADIR%%/conf/poker.2-4-no-limit.xml
%%DATADIR%%/conf/poker.2-4-pot-limit.xml
%%DATADIR%%/conf/poker.200-400-limit.xml
%%DATADIR%%/conf/poker.3-6-limit.xml
%%DATADIR%%/conf/poker.3-6-no-limit.xml
%%DATADIR%%/conf/poker.3-6-pot-limit.xml
%%DATADIR%%/conf/poker.30-60-limit.xml
%%DATADIR%%/conf/poker.30-60-no-limit.xml
%%DATADIR%%/conf/poker.30-60-pot-limit.xml
%%DATADIR%%/conf/poker.4-8-limit.xml
%%DATADIR%%/conf/poker.5-10-limit.xml
%%DATADIR%%/conf/poker.5-10-no-limit.xml
%%DATADIR%%/conf/poker.5-10-pot-limit.xml
%%DATADIR%%/conf/poker.50-100-limit.xml
%%DATADIR%%/conf/poker.50-100-no-limit.xml
%%DATADIR%%/conf/poker.50-100-pot-limit.xml
%%DATADIR%%/conf/poker.7stud.xml
%%DATADIR%%/conf/poker.ante-.04-.08-limit.xml
%%DATADIR%%/conf/poker.ante-.10-.20-limit.xml
%%DATADIR%%/conf/poker.ante-.25-.50-limit.xml
%%DATADIR%%/conf/poker.ante-.50-1-limit.xml
%%DATADIR%%/conf/poker.ante-1-2-limit.xml
%%DATADIR%%/conf/poker.ante-10-20-limit.xml
%%DATADIR%%/conf/poker.ante-2-4-limit.xml
%%DATADIR%%/conf/poker.ante-3-6-limit.xml
%%DATADIR%%/conf/poker.ante-30-60-limit.xml
%%DATADIR%%/conf/poker.ante-5-10-limit.xml
%%DATADIR%%/conf/poker.holdem.xml
%%DATADIR%%/conf/poker.level-10-15-pot-limit.xml
%%DATADIR%%/conf/poker.level-10-20-no-limit.xml
%%DATADIR%%/conf/poker.level-15-30-no-limit.xml
%%DATADIR%%/conf/poker.level-2-4-limit.xml
%%DATADIR%%/conf/poker.level-no-limit.xml
%%DATADIR%%/conf/poker.levels-blinds.xml
%%DATADIR%%/conf/poker.omaha.xml
%%DATADIR%%/conf/poker.omaha8.xml
%%DATADIR%%/conf/poker.payouts.xml
%%DATADIR%%/conf/poker.razz.xml
@dirrm %%DATADIR%%/upgrades
@dirrm %%DATADIR%%/conf
@dirrm %%DATADIR%%
%%PYTHON_SITELIBDIR%%/pokerengine/__init__.py
%%PYTHON_SITELIBDIR%%/pokerengine/__init__.pyc
%%PYTHON_SITELIBDIR%%/pokerengine/__init__.pyo
%%PYTHON_SITELIBDIR%%/pokerengine/pokercards.py
%%PYTHON_SITELIBDIR%%/pokerengine/pokercards.pyc
%%PYTHON_SITELIBDIR%%/pokerengine/pokercards.pyo
%%PYTHON_SITELIBDIR%%/pokerengine/pokerchips.py
%%PYTHON_SITELIBDIR%%/pokerengine/pokerchips.pyc
%%PYTHON_SITELIBDIR%%/pokerengine/pokerchips.pyo
%%PYTHON_SITELIBDIR%%/pokerengine/pokerengineconfig.py
%%PYTHON_SITELIBDIR%%/pokerengine/pokerengineconfig.pyc
%%PYTHON_SITELIBDIR%%/pokerengine/pokerengineconfig.pyo
%%PYTHON_SITELIBDIR%%/pokerengine/pokergame.py
%%PYTHON_SITELIBDIR%%/pokerengine/pokergame.pyc
%%PYTHON_SITELIBDIR%%/pokerengine/pokergame.pyo
%%PYTHON_SITELIBDIR%%/pokerengine/pokerrake.py
%%PYTHON_SITELIBDIR%%/pokerengine/pokerrake.pyc
%%PYTHON_SITELIBDIR%%/pokerengine/pokerrake.pyo
%%PYTHON_SITELIBDIR%%/pokerengine/pokertournament.py
%%PYTHON_SITELIBDIR%%/pokerengine/pokertournament.pyc
%%PYTHON_SITELIBDIR%%/pokerengine/pokertournament.pyo
%%PYTHON_SITELIBDIR%%/pokerengine/version.py
%%PYTHON_SITELIBDIR%%/pokerengine/version.pyc
%%PYTHON_SITELIBDIR%%/pokerengine/version.pyo
@dirrm %%PYTHON_SITELIBDIR%%/pokerengine