aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/telepathy-gabble/Makefile
blob: 286273958cf9a52c1b12de68593240806576a783 (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
# $FreeBSD$
#    $MCom: ports/trunk/net-im/telepathy-gabble/Makefile 17271 2013-04-01 15:16:27Z kwm $

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

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

BUILD_DEPENDS=  telepathy-glib>=0.18.0:${PORTSDIR}/net-im/telepathy-glib \
        ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
LIB_DEPENDS=    soup-2.4:${PORTSDIR}/devel/libsoup \
        nice:${PORTSDIR}/net-im/libnice \
        telepathy-glib:${PORTSDIR}/net-im/telepathy-glib \
        dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
        uuid:${PORTSDIR}/misc/e2fsprogs-libuuid \
        loudmouth-1:${PORTSDIR}/net-im/loudmouth
RUN_DEPENDS=    ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss

PORTSCOUT=  limitw:1,even

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USES=       pathfix pkgconfig
USE_GNOME=  glib20 libxslt:build
USE_SQLITE= yes
USE_OPENSSL=    yes
USE_PYTHON_BUILD=   yes
CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt

MAN8=       telepathy-gabble.8

PLIST_SUB=  PVERSION=${PORTVERSION}

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

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} -e 's|-Werror||g' \
        ${WRKSRC}/lib/ext/wocky/configure

.include <bsd.port.mk>