Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2013 23:05:54 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329936 - head/games/pokerth
Message-ID:  <201310092305.r99N5srZ090409@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Wed Oct  9 23:05:54 2013
New Revision: 329936
URL: http://svnweb.freebsd.org/changeset/ports/329936

Log:
  - Convert to USES qmake

Modified:
  head/games/pokerth/Makefile

Modified: head/games/pokerth/Makefile
==============================================================================
--- head/games/pokerth/Makefile	Wed Oct  9 23:01:54 2013	(r329935)
+++ head/games/pokerth/Makefile	Wed Oct  9 23:05:54 2013	(r329936)
@@ -23,14 +23,12 @@ LIB_DEPENDS=	libboost_thread.so:${PORTSD
 		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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310092305.r99N5srZ090409>