source: trunk/dports/mail/maildrop/Portfile @ 34862

Last change on this file since 34862 was 34862, checked in by jmr@…, 11 years ago

maildrop: update from #14023.
Use correct etcdir, add variants.

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