- Convert to USES qmake

This commit is contained in:
Guido Falsi 2013-10-09 23:05:54 +00:00
parent b924147649
commit 2e2f1eb6a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329936

View file

@ -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