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
|
2018-02-19 12:10:43 +01:00
|
|
|
PORTREVISION= 2
|
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
|
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv3+
|
2014-10-05 16:00:31 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2011-03-23 18:43:16 +01:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libpoker-eval.so:games/poker-eval
|
2014-12-02 05:15:39 +01:00
|
|
|
|
2018-02-19 12:10:43 +01:00
|
|
|
USES= autoreconf libtool pathfix pkgconfig python:2.7
|
2017-11-30 16:50:30 +01:00
|
|
|
USE_PYTHON= flavors
|
2015-06-21 16:30:37 +02:00
|
|
|
GNU_CONFIGURE= yes
|
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
|
|
|
|
2014-12-02 05:15:39 +01:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pokereval_2_7.so.1.0.0
|
|
|
|
|
2006-12-14 17:00:46 +01:00
|
|
|
test:
|
|
|
|
@cd ${WRKSRC} && ${MAKE} check
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|