a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 23053 2007-03-23 20:35:47Z pipping@macports.org $
PortSystem 1.0
name ssmtp
version 2.60.4
distname ${name}_${version}
categories mail
maintainers olaf@foellinger.de
description Sendmail alternative for small routers (outgoing mail only)
long_description This is sSMTP, a program that replaces sendmail on workstations that \
should send their mail via the departmental mailhub from which they pick up \
their mail (via pop, imap, rsmtp, pop_fetch, NFS... or the like). This \
program accepts mail and sends it to the mailhub, optionally replacing the \
domain in the From: line with a different one.
platforms darwin freebsd
master_sites http://ftp.debian.org/debian/pool/main/s/${name}/ \
ftp://ftp.icm.edu.pl/pub/Linux/debian/pool/main/s/${name}/
checksums md5 88fff70f14a001e09b713aa6326162cf
worksrcdir ${name}-2.60
patchfiles patch-ssmtp.c patch-generate_config patch-Makefile.in
build.type gnu
pre-patch {file delete -force ${worksrcpath}/RCS
system "chmod u+w ${worksrcpath}/Makefile.in"}
destroot.destdir prefix=${destroot}${prefix} \
mandir=${destroot}${prefix}/share/man/man8