source: trunk/dports/mail/fetchmail/Portfile @ 120991

Last change on this file since 120991 was 120991, checked in by mf2k@…, 5 years ago

fetchmail: Add and conform to mode line. Use modern checksums. Detab. Sort variants.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# -*- 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
2# $Id: Portfile 120991 2014-06-13 19:21:37Z mf2k@macports.org $
3
4PortSystem          1.0
5
6name                fetchmail
7version             6.3.26
8categories          mail
9platforms           darwin
10license             {GPL-2 OpenSSLException}
11maintainers         nomaintainer
12
13description         Batch mail retrieval utility for IMAP, POP2, POP3, \
14                    APOP, KPOP, ETRN, or ODMR
15long_description \
16    Fetchmail is a full-featured IMAP, POP2, POP3, \
17    APOP, KPOP, ETRN, ODMR client with easy \
18    configuration, daemon mode, forwarding via SMTP \
19    or local MDA, and superior reply handling.  It \
20    is used to handle intermittent email connections \
21    by acting as a coupling that seamlessly batch \
22    forwards fetched mail from your mail server to \
23    your local delivery system, allowing you to read \
24    your it with your favourite mail user agent. \
25    Fetchmail also includes useful spam filtering \
26    and multi-user functions.  \
27    A typical use of fetchmail is to connect to your \
28    normal POP3 server, downloading your mail into \
29    the INBOX on your local computer.  You may then \
30    read the mail, offline if you want, using Pine, \
31    mutt, or any standard mail user agent.
32
33homepage            http://www.fetchmail.info
34set branch          [join [lrange [split ${version} .] 0 1] .]
35master_sites        sourceforge:project/${name}/branch_${branch}
36
37use_xz              yes
38
39checksums           rmd160  ce9a54b6d11da4c5e042c760284f8b3c6ac5a4ff \
40                    sha256  79b4c54cdbaf02c1a9a691d9948fcb1a77a1591a813e904283a8b614b757e850
41
42depends_lib         port:gettext \
43                    port:kerberos5
44
45configure.args      --mandir=${prefix}/share/man \
46                    --with-libiconv-prefix=${prefix} \
47                    --without-ssl --with-kerberos5=${prefix} --with-gssapi
48
49post-destroot {
50    if { ! [variant_isset fetchmailconf] } {
51        system "find ${destroot} -type f -iname '*fetchmailconf*' -delete"
52    }
53}
54
55startupitem.create  yes
56startupitem.start   "${prefix}/bin/fetchmail -f ${prefix}/etc/.fetchmail -d120"
57startupitem.stop    "${prefix}/bin/fetchmail -quit"
58
59variant fetchmailconf description "Install a graphical configurator" {
60    depends_lib-append      port:py-tkinter
61}
62
63variant ntlm description "Enable NTLM authentication" {
64    configure.args-append   --enable-NTLM
65}
66variant ssl description "Support secure connections using OpenSSL" {
67    depends_lib-append      port:openssl
68    configure.args-delete   --without-ssl
69    configure.args-append   --with-ssl=${prefix}
70}
Note: See TracBrowser for help on using the repository browser.