a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
name dspam
version 3.6.0
categories mail net
maintainers nomaintainer@macports.org
description scalable, opensource statistical anti-spam filter
long_description opensource anti-spam filter with multiple algorithms and \
useful admin tools and cgi quaranteen interface.
homepage http://www.nuclearelephant.com/projects/dspam/index.shtml
platforms darwin freebsd
master_sites http://www.nuclearelephant.com/projects/dspam/sources/
distname ${name}-${version}
checksums md5 d9ee63a8cf67ea933d711b00851ce916
default_variants +postgres
configure.args --sysconfdir='${prefix}/etc' \
--mandir='${prefix}/share/man' \
--enable-daemon
variant sqlite conflicts postgres {
depends_lib port:sqlite3
configure.args-append --with-sqlite-libaries=${prefix}/lib
}
variant postgres conflicts sqlite {
depends_lib port:postgresql8
configure.args-append --with-storage-driver=pgsql_drv \
--with-pgsql-includes=${prefix}/include/pgsql8 \
--with-pgsql-libraries=${prefix}/lib/pgsql8
}
platform darwin 8 {
configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}