aboutsummaryrefslogtreecommitdiffstats
path: root/games/py-poker-eval/Makefile
blob: 4f168dfabc8081af7f42acaf332bea759d2ed5e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# ex:ts=8
# Ports collection Makefile for:    py-poker-eval
# Date created:         Dec 14, 2006
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   poker-eval
PORTVERSION=    0.138
CATEGORIES= games python
MASTER_SITES=   http://download.gna.org/pokersource/sources/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   py${PORTNAME}-${PORTVERSION:E}.0

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python adaptor for the poker-eval toolkit

LIB_DEPENDS=    poker-eval.1:${PORTSDIR}/games/poker-eval

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/COPYING

USE_GNOME=  pkgconfig
USE_PYTHON= 2.5-2.7
USE_AUTOTOOLS=  aclocal autoconf automake libtool
ACLOCAL_ARGS=   -I config
CONFIGURE_ARGS= PYTHON=""
MAKE_JOBS_SAFE= yes

PLIST_SUB=  PYVER=${_PYTHON_VERSION:S/./_/}

test:
    @cd ${WRKSRC} && ${MAKE} check

.include <bsd.port.mk>