1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/deskutils/gnome-contacts/Makefile

75 lines
2.1 KiB
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnome-contacts
PORTVERSION= 3.18.0
PORTREVISION= 6
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= Contacts manager for gnome
BUILD_DEPENDS= vala>=0.14.0:lang/vala
LIB_DEPENDS= libchamplain-0.12.so:graphics/libchamplain \
libclutter-gtk-1.0.so:graphics/clutter-gtk3 \
libclutter-1.0.so:graphics/clutter \
libcogl.so:graphics/cogl \
libdrm.so:graphics/libdrm \
libexpat.so:textproc/expat2 \
libfolks.so:net-im/folks \
libgee-0.8.so:devel/libgee \
libgeocode-glib.so:net/geocode-glib \
libgoa-1.0.so:net/gnome-online-accounts \
libgstreamer-1.0.so:multimedia/gstreamer1 \
libjson-glib-1.0.so:devel/json-glib \
libnotify.so:devel/libnotify \
libnspr4.so:devel/nspr \
libsecret-1.so:security/libsecret \
libsoup-2.4.so:devel/libsoup \
libtelepathy-glib.so:net-im/telepathy-glib
PORTSCOUT= limitw:1,even
USE_XORG= x11 xcb xcomposite xdamage xext xfixes xi xrandr
USE_GNOME= cairo evolutiondataserver3 gdkpixbuf2 glib20 gnomedesktop3 \
gtk30 intlhack introspection:build
USE_GL= egl
USES= gettext gmake gnome pathfix perl5 pkgconfig sqlite 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
OPTIONS_SUB= yes
OPTIONS_DEFINE= MANPAGES NLS
OPTIONS_DEFAULT=MANPAGES
OPTIONS_DEFINE_i386= CHEESE
OPTIONS_DEFINE_amd64= CHEESE
OPTIONS_DEFAULT_i386= CHEESE
OPTIONS_DEFAULT_amd64= CHEESE
MANPAGES_CONFIGURE_ENABLE= man-pages
MANPAGES_USE= GNOME=libxslt:build
MANPAGES_BUILD_DEPENDS= docbook-xml>=0:textproc/docbook-xml \
docbook-xsl>=0:textproc/docbook-xsl
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
CHEESE_DESC= Cheese webcam support
CHEESE_CONFIGURE_WITH= cheese
CHEESE_LIB_DEPENDS= libcheese-gtk.so:multimedia/cheese
post-patch:
# touch vala sources to force regen c sources to honor cheese setting
${TOUCH} ${WRKSRC}/src/main.vala \
${WRKSRC}/src/contacts-avatar-dialog.vala
.include <bsd.port.mk>