aboutsummaryrefslogtreecommitdiffstats
path: root/games/pokerth
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2013-10-10 07:05:54 +0800
committermadpilot <madpilot@FreeBSD.org>2013-10-10 07:05:54 +0800
commit4e875d655f015f70c55770b16178d89ce0f24d08 (patch)
treed0f400bb378baa9876ba4d996861db4a0a6dbda9 /games/pokerth
parent040bd32f923f8e3bf6a723028bd2228b7c2032fe (diff)
downloadfreebsd-ports-gnome-4e875d655f015f70c55770b16178d89ce0f24d08.tar.gz
freebsd-ports-gnome-4e875d655f015f70c55770b16178d89ce0f24d08.tar.zst
freebsd-ports-gnome-4e875d655f015f70c55770b16178d89ce0f24d08.zip
- Convert to USES qmake
Diffstat (limited to 'games/pokerth')
-rw-r--r--games/pokerth/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile
index 513aaa8a0fcb..b22622f516d7 100644
--- a/games/pokerth/Makefile
+++ b/games/pokerth/Makefile
@@ -23,14 +23,12 @@ LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \
libprotobuf.so:${PORTSDIR}/devel/protobuf
BUILD_DEPENDS= ${LOCALBASE}/include/libircclient.h:${PORTSDIR}/irc/libircclient
-USES= iconv gmake
+USES= iconv gmake qmake
USE_BZIP2= yes
USE_QT4= gui corelib network sql sql-sqlite3 qmake_build \
moc_build rcc_build uic_build
USE_SDL= mixer
-HAS_CONFIGURE= yes
-QMAKE_ARGS+= PREFIX=${PREFIX}
-MAKE_ARGS+= INSTALL_ROOT=${STAGEDIR}
+QMAKE_PRO= pokerth.pro
PORTDOCS= server_setup_howto.txt
@@ -44,9 +42,6 @@ post-patch:
-e '/.*QMAKE_CXXFLAGS.*/d' \
${WRKSRC}/*.pro
-do-configure:
- @cd ${CONFIGURE_WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKE_ARGS} pokerth.pro
-
post-install:
@${INSTALL_PROGRAM} ${WRKSRC}/bin/pokerth_server ${STAGEDIR}${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/docs/pokerth.1 ${STAGEDIR}${MAN1PREFIX}/man/man1