summaryrefslogtreecommitdiffstats
path: root/net-im/telepathy-salut/Makefile
blob: 6adc423215222d8d27aa00d148ff706e0bff3a83 (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
# New ports collection makefile for:    telepathy-salut
# Date created:             Apr 16 2007
# Whom:                 Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/net-im/telepathy-salut/Makefile,v 1.7 2012/04/20 21:04:15 kwm Exp $
#

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

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Link-local Connection Manager for Telepathy Framework

BUILD_DEPENDS=  xsltproc:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS=    avahi-glib.1:${PORTSDIR}/net/avahi-app \
        telepathy-glib.0:${PORTSDIR}/net-im/telepathy-glib \
        soup-2.4.1:${PORTSDIR}/devel/libsoup

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack pkgconfig glib20
USE_OPENSSL=    yes
USE_PYTHON_BUILD=   yes
USE_SQLITE= 3
CONFIGURE_ENV=  LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --disable-Werror --enable-avahi-tests=no
CPPFLAGS+=  ${PTHREAD_CFLAGS}

MAN8=       telepathy-salut.8

post-patch:
    @${REINPLACE_CMD} -e 's|make -C|${GMAKE} -C|g' \
        ${WRKSRC}/src/Makefile.in \
        ${WRKSRC}/tests/Makefile.in

.include <bsd.port.mk>