summaryrefslogtreecommitdiffstats
path: root/net-im/folks/Makefile
blob: 05ff252fe37c2d35beaaeb2977eda8fb6f70240e (plain)
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
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$

PORTNAME=	folks
PORTVERSION=	0.11.1
CATEGORIES=	net-im
MASTER_SITES=	GNOME

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	library to aggregates people from multiple sources

BUILD_DEPENDS=	vapigen:lang/vala
LIB_DEPENDS=	libgee-0.8.so:devel/libgee \
		libgcr-3.so:security/gcr \
		libzeitgeist-2.0.so:sysutils/zeitgeist \
		libtelepathy-glib.so:net-im/telepathy-glib

CONFLICTS=	folks-0.4.[0-9]*

USE_LDCONFIG=	yes
USES=		gettext libtool gmake pathfix pkgconfig tar:xz
USE_GNOME=	evolutiondataserver3 intlhack introspection:build
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-bluez-backend
CPPFLAGS+=	-I${LOCALBASE}/include -Wno-error=deprecated-declarations
LIBS+=		-L${LOCALBASE}/lib
INSTALL_TARGET=	install-strip

GLIB_SCHEMAS=	org.freedesktop.folks.gschema.xml

PLIST_SUB=	LIBVER=25 VERSION=43 LIBVERLONG=25.18.1

OPTIONS_SUB=	yes
OPTIONS_DEFINE=	SOCIALWEB TRACKER
OPTIONS_DEFAULT=SOCIALWEB TRACKER
SOCIALWEB_DESC=	Social web backend
TRACKER_DESC=	Tracker backend
SOCIALWEB_CONFIGURE_ENABLE=	libsocialweb-backend
SOCIALWEB_LIB_DEPENDS=	libsocialweb.so:www/libsocialweb
TRACKER_CONFIGURE_ENABLE=	tracker-backend
TRACKER_LIB_DEPENDS=	libtracker-control-1.0.so:sysutils/tracker

post-patch:
	@${REINPLACE_CMD} -e 's|--fatal-warnings||g' \
		${WRKSRC}/configure

.include <bsd.port.mk>
OpenPOWER on IntegriCloud