a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 21752 2007-02-05 18:37:54Z jmpp@macports.org $
PortSystem 1.0
name bogofilter
version 1.1.5
categories mail
maintainers chenggao@gmail.com
description Fast Bayesian Spam Filter
homepage http://bogofilter.sourceforge.net/
long_description Bogofilter is a mail filter that classifies mail as spam or\
ham (non-spam) by a statistical analysis of the message's\
header and content (body). The program is able to learn from\
the user's classifications and corrections.
master_sites sourceforge
checksums md5 d524be9e9c43d9dbb593d7a3c4564f5d
use_bzip2 yes
depends_lib port:sqlite3 port:libiconv port:gsl
configure.args --with-libsqlite3-prefix=${prefix} \
--with-libiconv-prefix=${prefix} \
--with-gsl-prefix=${prefix} \
--with-database=sqlite3 \
--without-libdb-prefix \
--without-libqdbm-prefix \
--mandir=${prefix}/share/man
platform darwin 8 {
configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING GETTING.STARTED INSTALL \
NEWS README RELEASE.NOTES TODO ${destroot}${prefix}/share/doc/${name}
}