# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup active_variants 1.1 name claws-mail version 3.20.0 revision 0 categories mail news license GPL-3+ maintainers nomaintainer description A lightweight and very featureful GTK+ based e-mail and news client long_description \ Currently, many features are supported in Claws Mail \ including POP3, IMAP, NNTP, multiple accounts, \ threading, filtering, MIME attachments, APOP, SMTP \ AUTH, SSL, IPv6, GnuPG, internalization, plugins, \ a filtering/processing mechanism, extra folder \ properties and much more. homepage https://www.claws-mail.org master_sites ${homepage}/releases/ checksums rmd160 8319d9a40c741cc244a983051acc1ff144b69b7d \ sha256 1f2f3d2b2ca39c0c860c7afc5490c790936afbb50cf31debdb2beda728c8d6e5 \ size 6687376 use_xz yes use_autoreconf yes autoreconf.args -fvi # https://trac.macports.org/wiki/WimplicitFunctionDeclaration#strchr configure.checks.implicit_function_declaration.whitelist-append strchr depends_build-append \ path:bin/pkg-config:pkgconfig depends_lib port:aspell \ port:bogofilter \ port:compface \ port:enchant \ port:ghostscript \ path:lib/pkgconfig/gnutls.pc:gnutls \ port:gpgme \ path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \ port:gtkspell2 \ port:gumbo-parser \ port:libarchive \ port:libetpan \ port:libgcrypt \ port:libgdata \ port:libical \ path:lib/pkgconfig/librsvg-2.0.pc:librsvg \ path:lib/pkgconfig/poppler.pc:poppler # claws uses gdk/gdkx.h, which is not installed by gtk2 +quartz. require_active_variants \ gtk2 x11 if {${os.platform} eq "darwin" && ${os.version} < 12} { # the ld on older systems doesn't understand the -export_dynamic flag # see https://trac.macports.org/ticket/57673 patchfiles patch-claws-mail-no-export-dynamic-on-older-ld-versions.diff } # https://trac.macports.org/ticket/69665 patchfiles-append \ patch-no-cpp-precomp.diff # as of 3.17.4 litehtml_viewer plugin requires C++11 compiler.cxx_standard \ 2011 # override faulty check for C++ compiler configure.env-append \ REAL_CXX=${configure.cxx} configure.args --disable-acpi_notifier-plugin \ --disable-bsfilter-plugin \ --disable-clamd-plugin \ --disable-dbus \ --disable-fancy-plugin \ --disable-jpilot \ --disable-notification-plugin \ --disable-perl-plugin \ --disable-python-plugin \ --disable-spamassassin-plugin \ --disable-spam_report-plugin \ --disable-startup-notification \ --disable-tests \ --disable-tnef_parse-plugin \ --enable-crash-dialog \ --enable-ipv6 \ --enable-manual variant fancy description {Build fancy plugin using deprecated webkit-gtk-1.0} { depends_lib-append \ port:webkit-gtk configure.args-delete \ --disable-fancy-plugin } livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}