2013-04-23 12:47:02 +02:00
|
|
|
# Created by: ijliao
|
2006-12-14 17:00:46 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= poker-eval
|
2011-03-23 18:43:16 +01:00
|
|
|
PORTVERSION= 0.138
|
2014-08-04 17:28:30 +02:00
|
|
|
PORTREVISION= 1
|
2006-12-14 17:00:46 +01:00
|
|
|
CATEGORIES= games python
|
|
|
|
MASTER_SITES= http://download.gna.org/pokersource/sources/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION:E}.0
|
|
|
|
|
2014-10-31 17:11:33 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-12-14 17:00:46 +01:00
|
|
|
COMMENT= Python adaptor for the poker-eval toolkit
|
|
|
|
|
2013-12-27 18:25:49 +01:00
|
|
|
LIB_DEPENDS= libpoker-eval.so:${PORTSDIR}/games/poker-eval
|
2006-12-14 17:00:46 +01:00
|
|
|
|
2014-10-05 16:00:31 +02:00
|
|
|
LICENSE= GPLv3 # or later
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2011-03-23 18:43:16 +01:00
|
|
|
|
2014-10-05 16:00:31 +02:00
|
|
|
USES= libtool pkgconfig python:2
|
2014-08-04 17:28:30 +02:00
|
|
|
USE_AUTOTOOLS= aclocal autoconf automake
|
2011-03-23 18:43:16 +01:00
|
|
|
ACLOCAL_ARGS= -I config
|
2013-07-16 07:42:36 +02:00
|
|
|
AUTOMAKE_ARGS= --add-missing
|
2011-03-23 18:43:16 +01:00
|
|
|
CONFIGURE_ARGS= PYTHON=""
|
2006-12-14 17:00:46 +01:00
|
|
|
|
2013-08-30 18:49:43 +02:00
|
|
|
PLIST_SUB= PYVER=${PYTHON_VER:S/./_/}
|
2007-01-11 02:53:01 +01:00
|
|
|
|
2012-05-11 22:38:09 +02:00
|
|
|
post-configure:
|
|
|
|
@${INSTALL_SCRIPT} ${AUTOMAKE_DIR}/py-compile ${WRKSRC}/config
|
|
|
|
|
2006-12-14 17:00:46 +01:00
|
|
|
test:
|
|
|
|
@cd ${WRKSRC} && ${MAKE} check
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|