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

Last change on this file since 102559 was 102559, checked in by cal@…, 7 years ago

fetchmail: fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
RevLine 
[19739]1# $Id: Portfile 102559 2013-02-04 21:22:52Z cal@macports.org $
2
[3543]3PortSystem 1.0
[19739]4
[3543]5name            fetchmail
[102558]6version         6.3.24
[3543]7categories      mail
[19739]8platforms       darwin
[94883]9license         {GPL-2 OpenSSLException}
[56593]10maintainers     pmq openmaintainer
[19739]11
[3543]12description     Batch mail retrieval utility for IMAP, POP2, POP3, \
13                APOP, KPOP, ETRN, or ODMR
[19739]14long_description \
15    Fetchmail is a full-featured IMAP, POP2, POP3, \
16    APOP, KPOP, ETRN, ODMR client with easy \
17    configuration, daemon mode, forwarding via SMTP \
18    or local MDA, and superior reply handling.  It \
19    is used to handle intermittent email connections \
20    by acting as a coupling that seamlessly batch \
21    forwards fetched mail from your mail server to \
22    your local delivery system, allowing you to read \
23    your it with your favourite mail user agent. \
24    Fetchmail also includes useful spam filtering \
25    and multi-user functions.  \
26    A typical use of fetchmail is to connect to your \
27    ISP's POP3 server, downloading your mail into \
28    the INBOX on your local computer.  You may then \
29    read the mail, offline if you want, using Pine, \
[75061]30    mutt, or any standard mail user agent.
[3543]31
[19739]32homepage        http://fetchmail.berlios.de
33master_sites    http://download2.berlios.de/${name} \
34                http://download.berlios.de/${name}
35use_bzip2       yes
[12576]36
[102558]37checksums       md5     111a121fe2bc66e5d69868acf5dcd645 \
38                sha1    b092892ec3c380f2ee0814053a1cfa16cf203223 \
39                rmd160  471871d0ddd09376bb1ff7476a9303b3672395bc
[3778]40
[91838]41depends_lib     port:gettext port:kerberos5
[3543]42
[3778]43configure.args  --mandir=${prefix}/share/man \
[23014]44                --with-libiconv-prefix=${prefix} \
[91838]45                --without-ssl --with-kerberos5=${prefix} --with-gssapi
46
[25971]47post-destroot {
48    if { ! [variant_isset fetchmailconf] } {
[60305]49        system "find ${destroot} -type f -iname '*fetchmailconf*' -delete"
[25971]50    }
51}
[3543]52
[71758]53startupitem.create      yes
54startupitem.start       "${prefix}/bin/fetchmail -f ${prefix}/etc/.fetchmail -d120"
55startupitem.stop        "${prefix}/bin/fetchmail -quit"
56
[102559]57livecheck.type          regex
58livecheck.url           ${homepage}
59livecheck.regex         "[quotemeta [string toupper ${name}]] (\\d+(?:\\.\\d+)*) RELEASE"
60
[25376]61variant ssl description "Support secure connections using OpenSSL" {
[19739]62    depends_lib-append          port:openssl
63    configure.args-delete       --without-ssl
[23014]64    configure.args-append       --with-ssl=${prefix}
[19739]65}
[20084]66
[25376]67variant fetchmailconf description "Install a graphical configurator" {
[20084]68    depends_lib-append          port:py-tkinter
69}
70
[25971]71variant ntlm description "Enable NTLM authentication" {
72    configure.args-append       --enable-NTLM
[20084]73}
Note: See TracBrowser for help on using the repository browser.