Portfile

# $Id: Portfile 21532 2007-01-27 13:31:30Z mww@macports.org $

PortSystem 1.0

name msmtp
version 1.4.10
categories mail
platforms darwin
maintainers mww@macports.org
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 http://msmtp.sourceforge.net/
master_sites sourceforge
checksums sha1 c0f9d979cc0ede2908d49ff89aeb3687d8499386
use_bzip2 yes

depends_lib port:openssl port:gettext port:gnutls port:libgcrypt \
port:libgpg-error port:libgsasl port:libiconv port:libtasn1


configure.args --mandir=${prefix}/share/man \
--infodir=${prefix}/share/info \
--enable-gsasl
configure.env CFLAGS=-I${prefix}/include \
LDFLAGS=-L${prefix}/lib

platform darwin 8 {
configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0
}