ed298848a3
the "MODULES=x11/qtX + CONFIGURE_STYLE=qmake" logic to the "MODULES=devel/qmake x11/qtX" logic. Discussed with espie@ a few weeks ago.
57 lines
1.3 KiB
Makefile
57 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.32 2016/03/26 20:37:35 zhuk Exp $
|
|
|
|
COMMENT= texas hold'em poker game with online capabilities
|
|
BROKEN-hppa = needs atomic ops
|
|
|
|
V= 1.1.1
|
|
DISTNAME= PokerTH-${V}-src
|
|
EXTRACT_SUFX= .tar.bz2
|
|
PKGNAME= pokerth-${V}
|
|
REVISION= 1
|
|
|
|
CATEGORIES= games x11
|
|
|
|
HOMEPAGE= http://www.pokerth.net/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += c m pthread stdc++
|
|
WANTLIB += ICE lib/qt4/QtGui lib/qt4/QtNetwork lib/qt4/QtSql SDL SDL_mixer SM
|
|
WANTLIB += X11 Xext Xi Xinerama Xrender boost_filesystem-mt boost_iostreams-mt
|
|
WANTLIB += boost_program_options-mt boost_random-mt boost_regex-mt
|
|
WANTLIB += boost_system-mt boost_thread-mt crypto curl fontconfig
|
|
WANTLIB += freetype gsasl ircclient protobuf sqlite3 ssl tinyxml
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pokerth/}
|
|
|
|
MODULES= converters/libiconv \
|
|
devel/qmake \
|
|
x11/qt4
|
|
|
|
MODQMAKE_PROJECTS= pokerth.pro
|
|
|
|
RUN_DEPENDS= devel/desktop-file-utils
|
|
LIB_DEPENDS= devel/sdl-mixer \
|
|
devel/boost \
|
|
devel/protobuf \
|
|
net/curl \
|
|
net/libircclient \
|
|
security/libgsasl \
|
|
textproc/tinyxml
|
|
|
|
CONFIGURE_ENV= HOME=${WRKDIR}
|
|
|
|
NO_TEST= Yes
|
|
USE_GMAKE= Yes
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && \
|
|
perl -pi -e 's,-std=gnu\+\+0x,,g' *.pro
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/pokerth ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/bin/pokerth_server ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|