source: trunk/dports/mail/clamsmtp/Portfile @ 8689

Last change on this file since 8689 was 8689, checked in by mww, 15 years ago

-update to v0.9.6

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.6 2004/10/11 20:09:59 mww Exp $
2
3PortSystem 1.0
4
5name                    clamsmtp
6version                 0.9.6
7categories              mail security
8platforms               darwin
9maintainers             mww@opendarwin.org
10description             SMTP filter checking for viruses using the ClamAV anti-virus
11long_description        ClamSMTP is an SMTP filter that allows you to check for \
12                                        viruses using the ClamAV anti-virus software. It accepts \
13                                        SMTP connections and forwards the SMTP commands and \
14                                        responses to another SMTP server. The 'DATA' email body is \
15                                        intercepted and scanned before forwarding.
16
17homepage                http://memberwebs.com/nielsen/software/${name}/
18master_sites    ${homepage}
19checksums               md5 f9eae7fd8ce1b5ecabd0e680b1cfb6d3
20
21depends_run             bin:clamd:clamav
22
23configure.args  --mandir=${prefix}/share/man
24
25build.args              CFLAGS=-I${prefix}/include \
26                                LDFLAGS=-L${prefix}/lib
27
28post-destroot   {
29        xinstall -m 755 -d ${destroot}${prefix}/etc/rc.d/ \
30                ${destroot}${prefix}/share/doc/${name}/
31        xinstall -m 644 ${filespath}/clamsmtpd.sh ${destroot}${prefix}/etc/rc.d/
32        xinstall -m 644 ${filespath}/clamsmtpd.conf ${destroot}${prefix}/etc/
33        reinplace "s|__PREFIX__|${prefix}|g" \
34                ${destroot}${prefix}/etc/rc.d/clamsmtpd.sh \
35                ${destroot}${prefix}/etc/clamsmtpd.conf
36        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
37                ${destroot}${prefix}/share/doc/${name}
38}
Note: See TracBrowser for help on using the repository browser.