a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22556 2007-03-04 21:29:56Z mww@macports.org $
PortSystem 1.0
name sendemail
version 1.55
categories mail
maintainers mww@macports.org
platforms darwin freebsd
description lightweight, completly command line based SMTP email agent
long_description sendemail is a lightweight, completly command line \
based, SMTP email agent. If you have the need to send email \
from a command prompt this tool is perfect. It was designed to \
be used in bash scripts, Perl programs, and web sites, but it \
is also quite useful in many other contexts. sendemail is \
written in Perl and is unique in that it requires no special \
modules.
homepage http://caspian.dotconf.net/menu/Software/SendEmail/
master_sites ${homepage}
distname sendEmail-v${version}
checksums sha1 11206d64afaa00dbf3413539bcd93d8a162af441
depends_run bin:perl:perl5.8
configure {
reinplace "s|/usr/bin/perl -w|/usr/bin/env perl|g" ${worksrcpath}/sendEmail
}
build {}
destroot {
xinstall -m 755 ${worksrcpath}/sendEmail ${destroot}${prefix}/bin/sendemail
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} CHANGELOG README TODO \
${destroot}${prefix}/share/doc/${name}
}
livecheck.check regex
livecheck.url ${homepage}
livecheck.regex sendEmail-v(\[0-9\\.\]+)\\.tar\\.gz