aboutsummaryrefslogtreecommitdiff
path: root/net-im/tapioca-qt/Makefile
blob: d51d88081843e5c6c65ad33448385508984d0db8 (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:		tapioca-qt
# Date created:					2008-02-10
# Whom:						arved
#
# $FreeBSD$

PORTNAME=	tapioca-qt
PORTVERSION=	0.14.1
PORTREVISION=	4
CATEGORIES=	net-im
MASTER_SITES=	SF/tapioca-voip/${PORTNAME}/${PORTVERSION}

MAINTAINER=	arved@FreeBSD.org
COMMENT=	Framework for VoIP and IP applications

LIB_DEPENDS=	QtTelepathyCore.0:${PORTSDIR}/net-im/telepathy-qt

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

USE_CMAKE=	yes
CMAKE_SOURCE_PATH=	..
USE_QT_VER=	4
QT_COMPONENTS=	corelib qmake_build uic_build moc_build rcc_build
USE_LDCONFIG=	yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700042
CMAKE_USE_PTHREAD=	yes
.endif

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

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

.include <bsd.port.post.mk>