summaryrefslogtreecommitdiffstats
path: root/net-im/telepathy-gabble/Makefile
blob: f56541f60d710538643f50025d6b8d1c68871f1d (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
41
42
43
44
45
46
47
# New ports collection makefile for:    telepathy-gabble
# Date created:             Apr 19 2007
# Whom:                 Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#    $MCom: ports/net-im/telepathy-gabble/Makefile,v 1.12 2011/01/23 16:32:34 kwm Exp $

PORTNAME=   telepathy-gabble
PORTVERSION=    0.11.6
CATEGORIES= net-im
MASTER_SITES=   http://telepathy.freedesktop.org/releases/${PORTNAME}/

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Jabber Connection Manager for Telepathy Framework

LIB_PC_DEPENDS= dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib \
        nice.pc:${PORTSDIR}/net-im/libnice \
        uuid.pc:${PORTSDIR}/misc/e2fsprogs-libuuid \
        telepathy-glib.pc:${PORTSDIR}/net-im/telepathy-glib \
        loudmouth-1.0.pc:${PORTSDIR}/net-im/loudmouth

BUILD_DEPENDS=  xsltproc:${PORTSDIR}/textproc/libxslt \
        ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss

BUILD_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
LIB_DEPENDS=    soup-2.4.1:${PORTSDIR}/devel/libsoup \
        sqlite3.8:${PORTSDIR}/databases/sqlite3
RUN_DEPENDS+=   ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g} \
        ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss

GNU_CONFIGURE=  yes
LDFLAGS=    ${PTHREAD_LIBS}
USE_GMAKE=  yes
USE_GNOME=  gnomehack pkgconfig glib20
USE_OPENSSL=    yes
USE_PYTHON_BUILD=   yes
CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt

MAN8=       telepathy-gabble.8

.include <bsd.port.pre.mk>

.if defined(WITH_OPENSSL_BASE)
CONFIGURE_ENV+= OPENSSL_LIBS="-L/usr/lib -ssl -crypto" OPENSSL_CFLAGS="-I/usr/include"
.endif

.include <bsd.port.post.mk>