From 5898d7df5c5c0c4c33faa934a38001e755f6d900 Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Fri, 22 Nov 2013 12:55:00 +0000 Subject: - Convert to USES=qmake (and other USES while I'm here) - Add state support - Convert LIB_DEPENDS to new style, adjust USE_QT4 components, etc. Approved by: portmgr (blanket approval) --- audio/murmur/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'audio/murmur') diff --git a/audio/murmur/Makefile b/audio/murmur/Makefile index 4f96839c3b98..0161e02b0e98 100644 --- a/audio/murmur/Makefile +++ b/audio/murmur/Makefile @@ -15,9 +15,11 @@ LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf USERS= murmur GROUPS= murmur -USE_QT4= qmake_build moc_build corelib network xml sql sql-sqlite3_run +USES= qmake +USE_QT4= moc_build corelib network xml sql sql-sqlite3_run CONFIG= no-client +QMAKE_ARGS= "CONFIG+=${CONFIG}" USE_RC_SUBR= murmur SUB_LIST+= USERS="${USERS}" GROUPS="${GROUPS}" @@ -50,10 +52,6 @@ CONFIG+= no-bonjour post-patch: @${ECHO_CMD} 'QMAKE_LFLAGS += -fstack-protector' >> ${WRKSRC}/src/murmur/murmur.pro -do-configure: - @cd ${WRKSRC} && ${SETENV} QMAKESPEC=${QMAKESPEC} \ - ${QMAKE} -unix PREFIX=${PREFIX} ${QMAKEFLAGS} main.pro "CONFIG+=${CONFIG}" - pre-install: @${SED} -i '' -e 's|database=.*|database=/var/db/murmur/murmur.sqlite|' ${WRKSRC}/scripts/murmur.ini @${SED} -i '' -e 's|#pidfile=.*|pidfile=/var/run/murmur/murmur.pid|' ${WRKSRC}/scripts/murmur.ini -- cgit v1.2.3