f935a609c5
supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
38 lines
918 B
Makefile
38 lines
918 B
Makefile
# ex:ts=8
|
|
# Ports collection Makefile for: poker-engine
|
|
# Date created: Dec 14, 2006
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= poker-engine
|
|
PORTVERSION= 1.0.20
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://download.gna.org/pokersource/sources/
|
|
|
|
MAINTAINER= ijliao@FreeBSD.org
|
|
COMMENT= A python library that implements poker rules
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
|
|
${PYTHON_SITELIBDIR}/libxslt.py:${PORTSDIR}/textproc/py-libxslt \
|
|
${PYTHON_SITELIBDIR}/pokereval.py:${PORTSDIR}/games/py-poker-eval \
|
|
${LOCALBASE}/bin/rsync:${PORTSDIR}/net/rsync
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
USE_GNOME= gnometarget pkgconfig
|
|
USE_PYTHON= 2.3+
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
|
|
MAN8= pokerconfigupgrade.8
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|{datadir}/pkgconfig|(prefix)/libdata/pkgconfig|g' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
test:
|
|
@cd ${WRKSRC} && ${GMAKE} check
|
|
|
|
.include <bsd.port.mk>
|