source: trunk/dports/mail/proxsmtp/Portfile

Last change on this file was 95110, checked in by mww@…, 5 years ago

proxsmtp: add license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 95110 2012-07-05 20:52:39Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    proxsmtp
6version                 1.2
7categories              mail
8platforms               darwin
9license                 BSD
10maintainers             nomaintainer
11description             ProxSMTP is a filtering SMTP proxy daemon
12long_description        ProxSMTP is a flexible tool that allows you to reject, \
13                                change or log email based on arbitrary critera. It accepts \
14                                SMTP connections and forwards the SMTP commands and responses \
15                                to another SMTP server. The 'DATA' email body is intercepted \
16                                and filtered before forwarding.
17
18homepage                http://memberwebs.com/nielsen/software/proxsmtp/
19master_sites    ${homepage}
20checksums               md5 59daa6a81ccad7a31234a0a125522b2c
21
22configure.args  --mandir=${prefix}/share/man
23
24post-destroot {
25        xinstall -m 755 -d ${destroot}${prefix}/var/run
26        xinstall -m 644 ${worksrcpath}/doc/proxsmtpd.conf \
27                ${destroot}${prefix}/etc/proxsmtpd.conf.sample
28}
29destroot.keepdirs       ${destroot}${prefix}/var/run
30
31set pidfile                     ${prefix}/var/run/proxsmtpd.pid
32startupitem.create      yes
33startupitem.name        ProxSMTP
34startupitem.start       \
35        "if \[ -r ${prefix}/etc/proxsmtpd.conf \]; then
36                ${prefix}/sbin/proxsmtpd -p ${pidfile} -f ${prefix}/etc/proxsmtpd.conf
37        fi"
38startupitem.stop        \
39        "if \[ -r ${pidfile} \]; then
40                kill \$(cat ${pidfile})
41        fi"
Note: See TracBrowser for help on using the repository browser.