openbsd-ports/games/pokerth/Makefile
ajacoutot 165d2d5991 Import pokerth-0.6.1
PokerTH is a free implementation of "Texas hold'em" card game.
You can play the popular "Texas Hold'em" poker variant against up to six
computer-opponents or play network games with people all over the world.

from Mikko Tolmunen <oskari at sefirosu dot org> with some tweaks
Thanks!
2008-04-08 09:51:15 +00:00

58 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2008/04/08 09:51:15 ajacoutot Exp $
COMMENT= Qt4 poker game with online capabilities
V= 0.6.1
DISTNAME= PokerTH-${V}.src
PKGNAME= pokerth-${V}
CATEGORIES= games x11
HOMEPAGE= http://www.pokerth.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pokerth/}
WRKDIST= ${WRKDIR}/${DISTNAME:S/.s/-s/g}
EXTRACT_SUFX= .tar.bz2
WANTLIB= ICE SDL SM X11 Xcursor Xext Xfixes Xi Xinerama Xrandr \
Xrender c crypto fontconfig freetype glib-2.0 \
gthread-2.0 m png pthread stdc++ z QtGui
MODULES= devel/gettext \
x11/qt4
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
LIB_DEPENDS= SDL_mixer::devel/sdl-mixer \
boost_filesystem-mt.>=1,boost_thread-mt,boost_program_options-mt::devel/boost
CONFIGURE_ENV= HOME=${WRKDIR}
MAKE_FLAGS= QMAKE_CXX=${CXX} \
QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
HOME=${WRKDIR} \
PREFIX=${PREFIX}
FAKE_FLAGS= INSTALL_ROOT=${DESTDIR}
VMEM_WARNING= Yes
NO_REGRESS= Yes
USE_GMAKE= Yes
USE_X11= Yes
do-configure:
cd ${WRKSRC} && \
env -i ${CONFIGURE_ENV} qmake4 ${MAKE_FLAGS} pokerth.pro
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/pokerth ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/pokerth_server ${PREFIX}/bin
.include <bsd.port.mk>