Ticket #14023: Portfile

File Portfile, 1.1 KB (added by compconsultant@…, 16 years ago)
Line 
1# $Id: Portfile 29179 2007-09-17 07:21:50Z boeyms@macports.org $
2
3PortSystem 1.0
4name                    maildrop
5version                 2.0.4
6revision                1
7categories              mail
8maintainers             matt@tnpi.biz
9description             Mail delivery agent (MDA) with filtering abilities
10long_description        ${description}
11homepage                http://www.courier-mta.org/maildrop/
12platforms               darwin
13master_sites            sourceforge:courier
14use_bzip2               yes
15checksums               md5 6a760efe429716ab0be67a1ddc554ed7 \
16                        sha1 df2755c1d0e00d19506b0659e59bf5d4756cce17 \
17                        rmd160 9c0a349879cc0791ad01e5bae04b680de3a7a606
18configure.args          --mandir=${prefix}/share/man \
19                        --with-etcdir=${prefix}/etc \
20                        --enable-syslog=1
21depends_lib             port:pcre
22
23variant vpopmail description {For use with vpopmail} {
24        configure.args-append   --enable-maildrop-gid=vchkpw
25}
26
27variant qmail description {For use with qmail-spamcontrol} {
28        depends_lib-append      port:qmail-spamcontrol
29        configure.args-append   --enable-sendmail=${prefix}/var/qmail/bin/sendmail
30}
31
32pre-configure {
33        if {[variant_isset vpopmail]} {
34                addgroup vchkpw gid=2109
35        }
36}
37
38post-install {
39        ui_msg "\n
40Please note the default maildrop mailfilter is in the
41${prefix}/etc directory.
42\n"
43}
44