# $Id: Portfile 95082 2012-07-05 07:12:14Z mww@macports.org $ PortSystem 1.0 name bmf version 0.9.4 categories mail platforms darwin freebsd license GPL-2 maintainers nomaintainer description Bayesian Mail Filter long_description bmf is a self contained and extremely efficient Bayesian mail filter. \ See Paul Graham's article "A Plan for Spam" for background information. \ It aims to be faster, smaller, and more versatile than similar \ applications. homepage http://bmf.sourceforge.net/ master_sites sourceforge:project/bmf/bmf/${version} checksums md5 9cf55df2fa3a05bdc55ba7b0a129591e configure.pre_args post-configure { reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Makefile } post-destroot { system "install -o root -m 755 -d ${destroot}${prefix}/share/${name}" system "install -o root -m 755 -c ${worksrcpath}/README ${destroot}${prefix}/share/${name}/" }