aboutsummaryrefslogtreecommitdiff
path: root/audio/murmur
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-06-19 21:45:49 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-06-19 21:45:49 +0000
commit9b4924478f99b170f181b85e2538c06f4baaae0a (patch)
tree970c0fe085c018883fd3f02dcfb62e687a5b0a91 /audio/murmur
parent033c33a14f0eb4d535f1cb126923bd1d6d2f3d0a (diff)
downloadports-9b4924478f99b170f181b85e2538c06f4baaae0a.tar.gz
ports-9b4924478f99b170f181b85e2538c06f4baaae0a.zip
Notes
Diffstat (limited to 'audio/murmur')
-rw-r--r--audio/murmur/Makefile9
-rw-r--r--audio/murmur/pkg-plist6
2 files changed, 10 insertions, 5 deletions
diff --git a/audio/murmur/Makefile b/audio/murmur/Makefile
index 892cde7c09ff..287cefc2dc13 100644
--- a/audio/murmur/Makefile
+++ b/audio/murmur/Makefile
@@ -7,6 +7,7 @@
PORTNAME= murmur
PORTVERSION= 1.2.2
+PORTREVISION= 1
CATEGORIES= audio net
MASTER_SITES= SF/mumble/Mumble/${PORTVERSION}
DISTNAME= mumble-${PORTVERSION}
@@ -15,11 +16,10 @@ MAINTAINER= ayu@commun.jp
COMMENT= Murmur is the server component of Mumble
BUILD_DEPENDS= ${LOCALBASE}/include/boost/function.hpp:${PORTSDIR}/devel/boost-libs
-RUN_DEPENDS= ${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlite.so:${PORTSDIR}/databases/qt4-sqlite3-plugin
LIB_DEPENDS= protobuf.6:${PORTSDIR}/devel/protobuf
USE_QT_VER= 4
-QT_COMPONENTS= qmake_build moc_build corelib network xml sql
+QT_COMPONENTS= qmake_build moc_build corelib network xml sql sql-sqlite3_run
CONFIG= no-client
@@ -73,7 +73,10 @@ pre-install:
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/release/murmurd ${PREFIX}/sbin
- @${INSTALL_DATA} ${WRKSRC}/scripts/murmur.ini ${PREFIX}/etc
+ @${INSTALL_DATA} ${WRKSRC}/scripts/murmur.ini ${PREFIX}/etc/murmur.ini.sample
+ @if [ ! -f ${PREFIX}/etc/murmur.ini ]; then \
+ ${CP} -p ${PREFIX}/etc/murmur.ini.sample ${PREFIX}/etc/murmur.ini; \
+ fi
${INSTALL_MAN} ${WRKSRC}/man/murmurd.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff --git a/audio/murmur/pkg-plist b/audio/murmur/pkg-plist
index 92857375971e..c956edab8ede 100644
--- a/audio/murmur/pkg-plist
+++ b/audio/murmur/pkg-plist
@@ -1,8 +1,10 @@
+@unexec if cmp -s %D/etc/murmur.ini.sample %D/etc/murmur.ini; then rm -f %D/etc/murmur.ini; fi
+etc/murmur.ini.sample
+@exec if [ ! -f %D/etc/murmur.ini ] ; then cp -p %D/%F %B/murmur.ini; fi
+sbin/murmurd
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.Linux
-sbin/murmurd
-etc/murmur.ini
%%PORTDOCS%%@dirrm %%DOCSDIR%%