-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathPortfile
62 lines (48 loc) · 2.05 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# -*- 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 legacysupport 1.1
# clock_gettime
legacysupport.newest_darwin_requires_legacy 15
name msmtp
version 1.8.23
revision 0
categories mail
maintainers {ra1nb0w @ra1nb0w} openmaintainer
license GPL-3+
description SMTP client that can be used as an SMTP plugin for Mutt
long_description msmtp is an SMTP client that can be used as an SMTP \
plugin for Mutt and probably other MUAs (mail user \
agents). It forwards mails to an SMTP server which \
does the delivery. To use this program, create a \
configuration file with your mail account(s) and tell \
your MUA to call msmtp instead of /usr/sbin/sendmail.
homepage https://marlam.de/msmtp/
master_sites ${homepage}releases/
use_xz yes
checksums rmd160 88d50da7285a3e24494b24f15ca0eab2dadcd9cd \
sha256 cf04c16b099b3d414db4b5b93fc5ed9d46aad564c81a352aa107a33964c356b8 \
size 401656
depends_build port:pkgconfig
depends_lib port:gettext \
path:lib/pkgconfig/gnutls.pc:gnutls \
port:libgsasl \
port:libidn2
configure.args --disable-silent-rules \
--with-libgsasl \
--without-libsecret
startupitem.name msmtpd
platform macosx {
configure.args-append --with-macosx-keyring
}
livecheck.url https://marlam.de/msmtp/download/
variant mta description {Use msmtp as the system MTA} {
conflicts postfix opensmtpd
configure.args-append --with-msmtpd
startupitem.create yes
startupitem.executable ${prefix}/bin/msmtpd
}
post-destroot {
if {[variant_isset mta]} {
ln -s ${prefix}/bin/msmtp ${destroot}${prefix}/sbin/sendmail
}
}