aboutsummaryrefslogtreecommitdiffstats
path: root/audio/murmur/Makefile
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-11-22 20:55:00 +0800
committermakc <makc@FreeBSD.org>2013-11-22 20:55:00 +0800
commit612bc3c9c8698b6a8cdbb965267678a0ac829218 (patch)
treeedc1328e7d68e649db202ae07c396b88869f73de /audio/murmur/Makefile
parent83574ff9450fce1ff644a38992000262dfd6586b (diff)
downloadfreebsd-ports-graphics-612bc3c9c8698b6a8cdbb965267678a0ac829218.tar.gz
freebsd-ports-graphics-612bc3c9c8698b6a8cdbb965267678a0ac829218.tar.zst
freebsd-ports-graphics-612bc3c9c8698b6a8cdbb965267678a0ac829218.zip
- 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)
Diffstat (limited to 'audio/murmur/Makefile')
-rw-r--r--audio/murmur/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/audio/murmur/Makefile b/audio/murmur/Makefile
index 4f96839c3b9..0161e02b0e9 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