Portfile

# $Id: Portfile 22338 2007-02-26 22:20:51Z mww@macports.org $

PortSystem 1.0

name putmail
version 1.4
categories mail
platforms darwin
maintainers mww@macports.org
description putmail is a very lightweight MTA
long_description putmail is a very lightweight MTA that was designed to \
replace the sendmail command in certain situations. It \
supports several configurations, SMTP authentication, TLS and \
should work with Mutt, nail, mail, and other similar programs.

homepage http://sourceforge.net/projects/putmail/
master_sites sourceforge
distname ${name}.py-${version}
checksums sha1 7903fd32a14192adb72560b99c01e6563bc9dd38
use_bzip2 yes

depends_run bin:python:python24

use_configure no

build {}

destroot.env PREFIX="${destroot}${prefix}"
destroot.cmd ./install.sh
destroot.destdir

post-destroot {
system "cd ${destroot}${prefix}/bin && ln -sf putmail.py putmail"
}