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

34 lines
743 B
Makefile
Raw Normal View History

2013-04-23 12:47:02 +02:00
# Created by: ijliao
# $FreeBSD$
PORTNAME= poker-eval
PORTVERSION= 0.138
PORTREVISION= 2
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
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpoker-eval.so:games/poker-eval
2014-12-02 05:15:39 +01:00
USES= autoreconf libtool pathfix pkgconfig python:2.7
USE_PYTHON= flavors
2015-06-21 16:30:37 +02:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS= PYTHON=""
PLIST_SUB= PYVER=${PYTHON_VER:S/./_/}
2014-12-02 05:15:39 +01:00
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pokereval_2_7.so.1.0.0
test:
@cd ${WRKSRC} && ${MAKE} check
.include <bsd.port.mk>