# -*- 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 PortGroup gobject_introspection 1.0 name evolution-data-server version 3.22.1 set branch [join [lrange [split ${version} .] 0 1] .] description Addressbook and calender libs for GNOME. long_description Evolution Data Server provides a central location for \ addressbook and calendar in the GNOME Desktop. maintainers devans openmaintainer categories gnome license LGPL-2+ platforms darwin homepage https://wiki.gnome.org/Apps/Evolution master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 cfbf4543871d1d47e7856d94a99760a065193f19 \ sha256 5ea1a25c26c2b5587b912661fc0eadf0ef8bc89ec01be9bb23cfffdf30ab41d9 depends_build port:pkgconfig \ port:intltool \ port:gtk-doc \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool depends_lib port:gtk3 \ port:libxml2 \ port:libsoup \ port:libsecret \ port:gcr \ port:libiconv \ port:nss \ port:nspr \ port:libgweather \ port:libical \ port:libgdata \ port:gnome-online-accounts \ port:sqlite3 \ port:vala \ port:db53 \ port:icu gobject_introspection yes patchfiles patch-configure.ac.diff \ patch-addressbook-libebook-contacts-e-phone-number-private.cpp.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh configure.env-append \ DB_CFLAGS="-I${prefix}/include/db53" \ DB_LIBS="-L${prefix}/lib/db53 -ldb" configure.args --enable-smime \ --enable-ipv6 \ --enable-weather \ --enable-google \ --enable-goa \ --enable-vala-bindings \ --with-nspr-includes=${prefix}/include/nspr \ --with-nspr-libs=${prefix}/lib/nspr \ --with-nss-includes=${prefix}/include/nss \ --with-nss-libs=${prefix}/lib/nss \ --with-krb5=/usr \ --disable-uoa \ --disable-silent-rules \ --disable-schemas-compile # # port nss is not universal # universal_variant no variant phonenumber description {Phone number parsing/validation using libphonenumber} { depends_lib-append port:libphonenumber-cpp configure.cxxflags-append -DI18N_PHONENUMBERS_USE_BOOST configure.args-append --with-phonenumber=${prefix}/lib } default_variants +phonenumber post-activate { system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } platform darwin { if {${configure.cxx_stdlib} eq "libstdc++"} { # google auth requires webkitgtk-3.0 >= 2.4.9 json-glib >= 1.0.4 configure.args-append --disable-google-auth } else { depends_lib-append path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk \ port:json-glib } } livecheck.type gnome