# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name folks version 0.9.6 revision 2 epoch 1 license LGPL-2.1 set branch [join [lrange [split ${version} .] 0 1] .] categories gnome comms platforms darwin maintainers devans openmaintainer description A library that aggregates people from multiple sources to create metacontacts. long_description \ Folks provides a library (libfolks) that aggregates people from multiple sources \ (eg, Telepathy connection managers and eventually evolution data server, Facebook, etc.) \ to create metacontacts. libfolks is under heavy development and not yet API/ABI-stable. homepage https://wiki.gnome.org/Projects/Folks master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 6e190ecffe803955d942b14bfe1dfefdfd12f122 \ sha256 a67e055b5a2724a34a80946e2940c4c0ad708cb1f4e0a09407c6b69a5e40267f depends_build port:pkgconfig \ port:intltool # dependency on evolution-data-server for libebook required even if not building +eds depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:dbus-glib \ port:evolution-data-server \ port:libgee \ port:telepathy-glib \ port:zeitgeist \ port:libsocialweb \ port:gobject-introspection \ port:libxml2 \ port:vala # update m4/intltool.m4 and autoreconf pre-configure { copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4 } use_autoreconf yes autoreconf.args -fvi configure.args --disable-eds-backend \ --disable-bluez-backend \ --enable-libsocialweb-backend=yes \ --disable-ofono-backend \ --enable-telepathy-backend \ --disable-tracker-backend \ --enable-import-tool \ --enable-vala \ --enable-inspect-tool \ --disable-tests \ --disable-silent-rules \ --disable-fatal-warnings \ --disable-schemas-compile build.env-append PKG_CONFIG_PATH=${worksrcpath}/folks variant eds description {Enable evolution data server backend} { depends_lib-append port:evolution-data-server configure.args-delete --disable-eds-backend configure.args-append --enable-eds-backend } # for now don't build +eds by default due to runtime problems # with the eds backend # default_variants +eds # port evolution-data-server -> nss is not universal universal_variant no post-activate { system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome-with-unstable