summaryrefslogtreecommitdiffstats
path: root/net-im/telepathy-farstream/Makefile
blob: 8fa7b8fa80246e148bcabd8e87d025d84f9fb613 (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
# 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

BUILD_DEPENDS=  gtkdoc-check:${PORTSDIR}/textproc/gtk-doc
LIB_DEPENDS=    libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
        libtelepathy-glib.so:${PORTSDIR}/net-im/telepathy-glib \
        libfarstream-0.2.so:${PORTSDIR}/net-im/farstream

NO_STAGE=   yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
USE_PYTHON= yes
USE_AUTOTOOLS=  libtool
USES=       gmake 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>