source: trunk/dports/mail/sendemail/Portfile

Last change on this file was 85436, checked in by mww@…, 6 years ago

sendemail: add license; fix dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 85436 2011-10-13 21:32:24Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                sendemail
6version             1.56
7categories          mail
8maintainers         mww
9license             GPL-2+
10platforms           darwin freebsd
11description         lightweight, completly command line based SMTP email agent
12long_description    \
13    sendemail is a lightweight, completly command line \
14    based, SMTP email agent. If you have the need to send email \
15    from a command prompt this tool is perfect. It was designed to \
16    be used in bash scripts, Perl programs, and web sites, but it \
17    is also quite useful in many other contexts.  sendemail is \
18    written in Perl and is unique in that it requires no special modules.
19
20homepage            http://caspian.dotconf.net/menu/Software/SendEmail/
21master_sites        ${homepage}
22distname            sendEmail-v${version}
23checksums           md5     a8ee889b18356694546d3c1b2254e78c \
24                    sha1    5c7c03ce60785c7b7695ec486c84d6e15704df38 \
25                    rmd160  ab7a84635daca173a3e8c8c526e851682f925069
26
27supported_archs     noarch
28
29depends_run         port:perl5
30
31configure {
32    reinplace "s|/usr/bin/perl|${prefix}/bin/perl|g" ${worksrcpath}/sendEmail
33}
34
35build {}
36
37destroot {
38    xinstall -m 755 ${worksrcpath}/sendEmail ${destroot}${prefix}/bin/sendemail
39    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
40    xinstall -m 644 -W ${worksrcpath} CHANGELOG README TODO \
41        ${destroot}${prefix}/share/doc/${name}
42}
43
44livecheck.type      regex
45livecheck.url       ${homepage}
46livecheck.regex     sendEmail-v(\[0-9\\.\]+)\\.tar\\.gz
Note: See TracBrowser for help on using the repository browser.