most recent changes, diff for maildrop

Index: mail/maildrop/Portfile
--- mail/maildrop/Portfile (revision 34861)
+++ mail/maildrop/Portfile (revision 34862)
@@ -1,19 +1,44 @@
# $Id$

PortSystem 1.0
+
name maildrop
version 2.0.4
+revision 1
categories mail
maintainers matt@tnpi.biz
description Mail delivery agent (MDA) with filtering abilities
long_description ${description}
homepage http://www.courier-mta.org/maildrop/
platforms darwin
-master_sites sourceforge:courier
+master_sites sourceforge:courier
use_bzip2 yes
checksums md5 6a760efe429716ab0be67a1ddc554ed7 \
sha1 df2755c1d0e00d19506b0659e59bf5d4756cce17 \
rmd160 9c0a349879cc0791ad01e5bae04b680de3a7a606
-configure.args --mandir=${prefix}/share/man
-depends_lib port:pcre
+configure.args --mandir=${prefix}/share/man \
+ --with-etcdir=${prefix}/etc \
+ --enable-syslog=1
+depends_lib port:pcre

+variant vpopmail description {For use with vpopmail} {
+ configure.args-append --enable-maildrop-gid=vchkpw
+}
+
+variant qmail description {For use with qmail-spamcontrol} {
+ depends_lib-append port:qmail-spamcontrol
+ configure.args-append --enable-sendmail=${prefix}/var/qmail/bin/sendmail
+}
+
+pre-configure {
+ if {[variant_isset vpopmail]} {
+ addgroup vchkpw gid=2109
+ }
+}
+
+post-install {
+ ui_msg "\n
+Please note the default maildrop mailfilter is in the
+${prefix}/etc directory.
+\n"
+}