freebsd-ports/games/py-poker-eval/Makefile
Martin Wilke 1b1b29c5e6 - Get rip python 2.3+
Note:
Python 2.3 is't longer supported and have a lot of security issues.
Convert 2.3+ to yes/or 2.4/5+

With hat:	portmgr
2009-12-13 17:00:14 +00:00

38 lines
814 B
Makefile

# ex:ts=8
# Ports collection Makefile for: py-poker-eval
# Date created: Dec 14, 2006
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= poker-eval
PORTVERSION= 0.137
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
USE_GNOME= pkgconfig
USE_PYTHON= 2.4+
GNU_CONFIGURE= yes
PLIST_SUB= PYVER=${_PYTHON_VERSION:S/./_/}
do-configure:
@cd ${CONFIGURE_WRKSRC} && ./${CONFIGURE_SCRIPT}
post-patch:
@${REINPLACE_CMD} -e \
's|{libdir}/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
test:
@cd ${WRKSRC} && ${MAKE} check
.include <bsd.port.mk>