aboutsummaryrefslogtreecommitdiffstats
path: root/games/poker-eval/Makefile
blob: 526ba2ae4c273e70367e26094850de6e51961c37 (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:    poker-eval
# Date created:         Dec 14, 2006
# Whom:             ijliao
#
# $FreeBSD$
#

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

BUILD_DEPENDS=  pkg-config>0:${PORTSDIR}/devel/pkg-config

GNU_CONFIGURE=  yes
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>