# $Id: Portfile,v 1.12 2006/06/18 12:14:32 mww Exp $

PortSystem 1.0

name			msmtp
version			1.4.6
categories		mail
platforms		darwin
maintainers		mww@opendarwin.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 5be0dec135421ff91b740983f3ce30ae740d5da1
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
}

