freebsd-ports/games/py-poker-eval/Makefile

40 lines
862 B
Makefile
Raw Normal View History

# 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
2009-05-01 18:31:39 +02:00
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_PYTHON= 2.5-2.7
USE_PKGCONFIG= yes
USE_AUTOTOOLS= aclocal autoconf automake libtool
ACLOCAL_ARGS= -I config
CONFIGURE_ARGS= PYTHON=""
MAKE_JOBS_SAFE= yes
PLIST_SUB= PYVER=${_PYTHON_VERSION:S/./_/}
post-configure:
@${INSTALL_SCRIPT} ${AUTOMAKE_DIR}/py-compile ${WRKSRC}/config
test:
@cd ${WRKSRC} && ${MAKE} check
.include <bsd.port.mk>