2010-11-11 14:23:53 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2010/11/11 19:23:53 stephan Exp $
|
2008-04-08 05:51:15 -04:00
|
|
|
|
|
|
|
COMMENT= Qt4 poker game with online capabilities
|
|
|
|
|
2010-11-11 14:23:53 -05:00
|
|
|
V= 0.8.1
|
2008-05-26 06:39:49 -04:00
|
|
|
DISTNAME= PokerTH-${V}-src
|
2010-10-26 05:41:51 -04:00
|
|
|
PKGNAME= pokerth-${V}
|
2008-04-08 05:51:15 -04:00
|
|
|
CATEGORIES= games x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.pokerth.net/
|
|
|
|
|
2008-05-30 15:43:06 -04:00
|
|
|
MAINTAINER= Mikko Tolmunen <oskari@sefirosu.org>
|
|
|
|
|
2008-04-08 05:51:15 -04:00
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pokerth/}
|
|
|
|
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2010-10-26 05:41:51 -04:00
|
|
|
WANTLIB+= c crypto m pthread ssl stdc++
|
|
|
|
WANTLIB+= boost_filesystem-mt boost_iostreams-mt boost_program_options-mt
|
|
|
|
WANTLIB+= boost_regex-mt boost_system-mt boost_thread-mt QtGui
|
|
|
|
WANTLIB+= QtNetwork QtSql SDL SDL_mixer curl gsasl
|
2008-04-08 05:51:15 -04:00
|
|
|
|
|
|
|
MODULES= devel/gettext \
|
|
|
|
x11/qt4
|
|
|
|
|
|
|
|
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
|
2010-10-26 05:41:51 -04:00
|
|
|
LIB_DEPENDS= ::devel/sdl-mixer \
|
|
|
|
::devel/boost \
|
|
|
|
::net/curl \
|
|
|
|
::security/libgsasl
|
2008-04-08 05:51:15 -04:00
|
|
|
|
|
|
|
CONFIGURE_ENV= HOME=${WRKDIR}
|
|
|
|
|
|
|
|
MAKE_FLAGS= QMAKE_CXX=${CXX} \
|
|
|
|
QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
|
|
|
|
HOME=${WRKDIR} \
|
|
|
|
PREFIX=${PREFIX}
|
|
|
|
|
|
|
|
FAKE_FLAGS= INSTALL_ROOT=${DESTDIR}
|
|
|
|
|
2008-12-28 05:48:11 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
|
2008-04-08 05:51:15 -04:00
|
|
|
VMEM_WARNING= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
do-configure:
|
2008-12-28 05:48:11 -05:00
|
|
|
cd ${WRKBUILD} && \
|
|
|
|
env -i ${CONFIGURE_ENV} qmake4 ${MAKE_FLAGS} \
|
|
|
|
${WRKSRC}/pokerth.pro
|
2008-04-08 05:51:15 -04:00
|
|
|
|
|
|
|
post-install:
|
2008-12-28 05:48:11 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/pokerth ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/bin/pokerth_server ${PREFIX}/bin
|
2008-04-08 05:51:15 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|