aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/decibel/Makefile
blob: 8ea6ad37062bfd35aa09e4f62f59a74a761b64ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection Makefile for:    decibel
# Date created:             2008-02-10
# Whom:                 arved
#
# $FreeBSD$

PORTNAME=   decibel
PORTVERSION=    0.5.0
PORTREVISION=   1
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=  corelib xml dbus moc uic rcc qtestlib
USE_LDCONFIG=   yes
USE_CMAKE=  yes

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}/build
CMAKE_SOURCE_PATH=  .. 

.include <bsd.port.pre.mk>

.if (${ARCH} == amd64) && (${OSVERSION} < 600000)
BROKEN=     Does not compile
.endif

post-extract:
    ${MKDIR} ${WRKSRC}

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

.include <bsd.port.post.mk>