From 53aa9a57a67b54b5ba0b729b72350653189043c2 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Mon, 9 Sep 2002 20:11:54 +0000 Subject: New port spamoracle version 1.1: procmail spam filter written in ML using Bayesian classification --- mail/spamoracle/Makefile | 30 ++++++++++++++++++++++++++++++ mail/spamoracle/distinfo | 1 + mail/spamoracle/pkg-comment | 1 + mail/spamoracle/pkg-descr | 11 +++++++++++ mail/spamoracle/pkg-plist | 3 +++ 5 files changed, 46 insertions(+) create mode 100644 mail/spamoracle/Makefile create mode 100644 mail/spamoracle/distinfo create mode 100644 mail/spamoracle/pkg-comment create mode 100644 mail/spamoracle/pkg-descr create mode 100644 mail/spamoracle/pkg-plist (limited to 'mail/spamoracle') diff --git a/mail/spamoracle/Makefile b/mail/spamoracle/Makefile new file mode 100644 index 000000000000..186b6d9037c0 --- /dev/null +++ b/mail/spamoracle/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: SpamOracle +# Date created: Mon Sep 9 18:31:45 UTC 2002 +# Whom: Mario Sergio Fujikawa Ferreira +# +# $FreeBSD$ +# + +PORTNAME= spamoracle +PORTVERSION= 1.1 +CATEGORIES= mail +MASTER_SITES= http://cristal.inria.fr/~xleroy/software/ + +MAINTAINER= lioux@FreeBSD.org + +BUILD_DEPENDS= ocaml:${PORTSDIR}/lang/ocaml + +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -E -e 's|^(CPP=)gcc[[:space:]]+-E|\1${CPP}|' \ + ${WRKSRC}/Makefile + +do-install: +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +.include diff --git a/mail/spamoracle/distinfo b/mail/spamoracle/distinfo new file mode 100644 index 000000000000..aa403bfe770e --- /dev/null +++ b/mail/spamoracle/distinfo @@ -0,0 +1 @@ +MD5 (spamoracle-1.1.tar.gz) = 4cbc3a28d79d2759940e45c708e662dd diff --git a/mail/spamoracle/pkg-comment b/mail/spamoracle/pkg-comment new file mode 100644 index 000000000000..99976bcf9640 --- /dev/null +++ b/mail/spamoracle/pkg-comment @@ -0,0 +1 @@ +procmail spam filter written in ML using Bayesian classification diff --git a/mail/spamoracle/pkg-descr b/mail/spamoracle/pkg-descr new file mode 100644 index 000000000000..e8511e5f6853 --- /dev/null +++ b/mail/spamoracle/pkg-descr @@ -0,0 +1,11 @@ +[ excerpt from developer's site ] + +SpamOracle, a.k.a. "Saint Peter", is a tool to help detect and +filter away "spam" (unsolicited commercial e-mail). It proceeds by +statistical analysis of the words that appear in the e-mail, comparing +the frequencies of words with those found in a user-provided corpus +of known spam and known legitimate e-mail. The classification +algorithm is based on Bayes' formula, and is described in Paul +Graham's paper, A plan for spam. + +WWW: http://cristal.inria.fr/~xleroy/software.html diff --git a/mail/spamoracle/pkg-plist b/mail/spamoracle/pkg-plist new file mode 100644 index 000000000000..014d8f848cd1 --- /dev/null +++ b/mail/spamoracle/pkg-plist @@ -0,0 +1,3 @@ +bin/spamoracle +%%PORTDOCS%%share/doc/spamoracle/README +%%PORTDOCS%%@dirrm share/doc/spamoracle -- cgit v1.2.3