aboutsummaryrefslogblamecommitdiff
path: root/games/poker-eval/Makefile
blob: e6f789a92cbe5aa00cd362cdd9c17d2ae533eb6a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                    
           

                          
                     
                 



                                                            
                                 
                                                 
 
                                

                                 
                   
                                       
                   
                             






                                                                     
                                          

                      
# Created by: ijliao
# $FreeBSD$

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

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

LICENSE=	GPLv3 # or later
LICENSE_FILE=	${WRKSRC}/COPYING

GNU_CONFIGURE=	yes
USES=		gmake libtool pkgconfig
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

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

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

.include <bsd.port.mk>