summaryrefslogtreecommitdiffstats
path: root/deskutils/gnome-contacts/Makefile
blob: 4c95e717140727ac940c36d47e21dd526c055b3f (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
47
48
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
#   $MCom$

PORTNAME=   gnome-contacts
PORTVERSION=    3.12.0
PORTREVISION=   1
CATEGORIES= deskutils gnome
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Contacts manager for gnome

BUILD_DEPENDS=  vala>=0.14.0:${PORTSDIR}/lang/vala
LIB_DEPENDS=    libgoa-1.0.so:${PORTSDIR}/net/gnome-online-accounts \
        libgee-0.8.so:${PORTSDIR}/devel/libgee \
        libfolks.so:${PORTSDIR}/net-im/folks \
        libnotify.so:${PORTSDIR}/devel/libnotify

USE_GNOME=  evolutiondataserver3 gnomedesktop3 gtk30 intlhack \
        introspection:build
USES=       gettext gmake pathfix perl5 pkgconfig tar:xz
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
MAKE_ENV=   XDG_CACHE_HOME=${WRKDIR}

GLIB_SCHEMAS=   org.gnome.Contacts.enums.xml \
        org.gnome.Contacts.gschema.xml

CHEESE_DESC=    Cheese webcam support

OPTIONS_DEFINE_i386=    CHEESE
OPTIONS_DEFAULT_i386=   CHEESE
OPTIONS_DEFINE_amd64=   CHEESE
OPTIONS_DEFAULT_amd64=  CHEESE

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MCHEESE}
CONFIGURE_ARGS+=--with-cheese
LIB_DEPENDS+=   libcheese-gtk.so:${PORTSDIR}/multimedia/cheese
#.else
#BROKEN=        sorry cheese less build is currently borken
#CONFIGURE_ARGS+=--without-cheese
.endif

.include <bsd.port.mk>