# -*- 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 # $Id$ PortSystem 1.0 name fetchmail version 6.3.26 revision 1 categories mail platforms darwin license {GPL-2 OpenSSLException} maintainers nomaintainer description Batch mail retrieval utility for IMAP, POP2, POP3, \ APOP, KPOP, ETRN, or ODMR long_description \ Fetchmail is a full-featured IMAP, POP2, POP3, \ APOP, KPOP, ETRN, ODMR client with easy \ configuration, daemon mode, forwarding via SMTP \ or local MDA, and superior reply handling. It \ is used to handle intermittent email connections \ by acting as a coupling that seamlessly batch \ forwards fetched mail from your mail server to \ your local delivery system, allowing you to read \ your it with your favourite mail user agent. \ Fetchmail also includes useful spam filtering \ and multi-user functions. \ A typical use of fetchmail is to connect to your \ normal POP3 server, downloading your mail into \ the INBOX on your local computer. You may then \ read the mail, offline if you want, using Pine, \ mutt, or any standard mail user agent. homepage http://www.fetchmail.info set branch [join [lrange [split ${version} .] 0 1] .] master_sites sourceforge:project/${name}/branch_${branch} use_xz yes checksums rmd160 ce9a54b6d11da4c5e042c760284f8b3c6ac5a4ff \ sha256 79b4c54cdbaf02c1a9a691d9948fcb1a77a1591a813e904283a8b614b757e850 depends_lib port:gettext \ port:kerberos5 patchfiles no-ssl3.patch configure.args --mandir=${prefix}/share/man \ --with-libiconv-prefix=${prefix} \ --without-ssl --with-kerberos5=${prefix} --with-gssapi post-destroot { if { ! [variant_isset fetchmailconf] } { system "find ${destroot} -type f -iname '*fetchmailconf*' -delete" } } startupitem.create yes startupitem.start "${prefix}/bin/fetchmail -f ${prefix}/etc/.fetchmail -d120" startupitem.stop "${prefix}/bin/fetchmail -quit" variant fetchmailconf description "Install a graphical configurator" { depends_lib-append port:py-tkinter } variant ntlm description "Enable NTLM authentication" { configure.args-append --enable-NTLM } variant ssl description "Support secure connections using OpenSSL" { depends_lib-append path:lib/libssl.dylib:openssl configure.args-delete --without-ssl configure.args-append --with-ssl=${prefix} }