summaryrefslogtreecommitdiffstats
path: root/net-im/telepathy-farstream/Makefile
blob: 76e521e66debc292c896f0f13b719e869879503f (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom

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

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

LIB_DEPENDS=    dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
        telepathy-glib.0:${PORTSDIR}/net-im/telepathy-glib \
        farstream-0.2:${PORTSDIR}/net-im/farstream

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes
USE_PYTHON= yes
USE_AUTOTOOLS=  libtool
USES=       pathfix pkgconfig
USE_GNOME=  glib20 libxslt:build ltverhack
CONFIGURE_ENV=  LIBS="-pthread"
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e 's|\(^pkgconfigdir =\).*|\1 ${PREFIX}/libdata/pkgconfig|' \
        ${WRKSRC}/telepathy-farstream/Makefile.in

.include <bsd.port.mk>