# -*- 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 cmake 1.0 cmake.out_of_source yes name evolution-data-server version 3.23.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 81017a5d458c4925b99f3cc53642b47e5ed52b72 \ sha256 f1f6b2162b0ee22e161376e7328cee0bebf308624f7f1b3eff0e37f14748151c depends_build-append \ port:pkgconfig \ port:intltool depends_lib port:gtk3 \ port:gcr \ port:gnome-online-accounts \ port:gobject-introspection \ port:icu \ port:kerberos5 \ port:libgdata \ port:libgweather \ port:libical \ port:libiconv \ port:libsecret \ port:libsoup \ port:libxml2 \ port:nss \ port:nspr \ port:openldap \ port:sqlite3 \ port:vala \ port:db53 \ patchfiles 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.env-append \ # DB_CFLAGS="-I${prefix}/include/db53" \ # DB_LIBS="-L${prefix}/lib/db53 -ldb" configure.args-append \ -DENABLE_SCHEMAS_COMPILE=OFF \ -DENABLE_GTK_DOC=OFF \ -DENABLE_UOA=OFF \ -DWITH_OPENLDAP=OFF \ -DENABLE_INSTALLED_TESTS=OFF \ -DENABLE_INTROSPECTION=ON \ -DENABLE_SMIME=ON \ -DENABLE_GTK=ON \ -DENABLE_GOOGLE_AUTH=ON \ -DENABLE_EXAMPLES=ON \ -DENABLE_GOA=ON \ -DENABLE_IPV6=ON \ -DENABLE_WEATHER=ON \ -DENABLE_GOOGLE=ON \ -DENABLE_VALA_BINDINGS=ON # # 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 -DWITH_PHONENUMBER=ON } #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-with-unstable