1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/games/poker-engine/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

37 lines
981 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= poker-engine
PORTVERSION= 1.3.6
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://download.gna.org/pokersource/sources/
MAINTAINER= ports@FreeBSD.org
COMMENT= Python library that implements poker rules
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/bin/rsync:net/rsync \
${PYTHON_SITELIBDIR}/pokereval.py:games/py-poker-eval \
${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2 \
${PYTHON_SITELIBDIR}/libxslt.py:textproc/py-libxslt
RUN_DEPENDS= ${LOCALBASE}/bin/rsync:net/rsync \
${PYTHON_SITELIBDIR}/pokereval.py:games/py-poker-eval \
${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2 \
${PYTHON_SITELIBDIR}/libxslt.py:textproc/py-libxslt
USES= gettext gmake pkgconfig python:2
GNU_CONFIGURE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|{datadir}/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
test:
@cd ${WRKSRC} && ${MAKE_CMD} check
.include <bsd.port.mk>