# New ports collection Makefile for:	decibel
# Date created:				2008-02-10
# Whom:					arved
#
# $FreeBSD: ports/net-im/decibel/Makefile,v 1.12 2011/10/16 22:45:18 avilla Exp $

PORTNAME=	decibel
PORTVERSION=	0.5.0
PORTREVISION=	9
CATEGORIES=	net-im
MASTER_SITES=	http://decibel.kde.org/fileadmin/downloads/decibel/releases/

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Realtime communications framework

LIB_DEPENDS=	QtTapioca.0:${PORTSDIR}/net-im/tapioca-qt

USE_QT_VER=	4
QT_COMPONENTS=	xml dbus gui qtestlib qmake_build moc_build uic_build rcc_build
USE_LDCONFIG=	yes
USE_CMAKE=	yes

post-patch:
	${REINPLACE_CMD} -e \
		"s,$${LIB_INSTALL_DIR}/pkgconfig,data/pkgconfig,g"\
		${WRKSRC}/src/client/Decibel/CMakeLists.txt

.include <bsd.port.mk>
