# ex:ts=8
# Ports collection Makefile for:	poker-eval
# Date created:			Dec 14, 2006
# Whom:				ijliao
#
# $FreeBSD: ports/games/poker-eval/Makefile,v 1.7 2011/03/23 17:43:16 dhn Exp $
#

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

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A C library to evaluate poker hands

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

GNU_CONFIGURE=	yes
USE_GNOME=	pkgconfig
USE_GMAKE=	yes
USE_LDCONFIG=	yes
MAKE_JOBS_SAFE=	yes

post-patch:
	@${REINPLACE_CMD} -e \
		's|{libdir}/pkgconfig|(prefix)/libdata/pkgconfig|g' \
		${WRKSRC}/Makefile.in

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

.include <bsd.port.mk>
