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