pkgsrc-wip/spamprobe-pbl/Makefile
Ossi Herrala 0d16796f9d Update to spamprobe-pbl 0.9h. ChangeLog:
* spamprobe.cc (process_stream): Added -o tokenized option
    to allow people to use an external tokenizer with spamprobe.
  * SpamFilter.cc (scoreToken): Reduced sorting overhead by
    pre-computing and integer sort value with sorting priorities
    reflected in the value.  This eliminates several calculations
    inside of the sort routine.
  * SpamFilter.cc (computeRatio): Capped ratios in calculations to
    within MIN_PROB and MAX_PROB.  Widened that range.  This avoids
    problems with div/0 and makes it easier to sort terms.
  * spamprobe.cc (dump_words): dump command can now optionally
    accept a regular expression as an argument and will only dump
    terms matching the regular expression.
    (purge_terms): Added purge-terms command to purge from the
    database all terms matching a regular expression.
2004-02-02 19:06:58 +00:00

23 lines
602 B
Makefile

# $NetBSD: Makefile,v 1.2 2004/02/02 19:06:58 oherrala Exp $
DISTNAME= spamprobe-0.9h
PKGNAME= spamprobe-pbl-0.9h
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=spamprobe/}
MAINTAINER= oherrala@ee.oulu.fi
HOMEPAGE= http://spamprobe.sourceforge.net/
COMMENT= Spam detector using Bayesian analysis of word counts
CONFLICTS= spamprobe-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-default-8bit
CONFIGURE_ARGS+= --with-pbl=${BUILDLINK_PREFIX.pbl}
.include "../../wip/pbl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"