diff --git a/mail/Makefile b/mail/Makefile index 20bc2c7875db..9ba69dffcedd 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -66,6 +66,7 @@ SUBDIR += grepmail SUBDIR += hbiff SUBDIR += icqmail + SUBDIR += ifile SUBDIR += im SUBDIR += imap-uw SUBDIR += imp diff --git a/mail/ifile/Makefile b/mail/ifile/Makefile new file mode 100644 index 000000000000..991409535538 --- /dev/null +++ b/mail/ifile/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: ifile +# Date created: 29 Jan 2002 +# Whom: David Bushong +# +# $FreeBSD$ +# + +PORTNAME= ifile +PORTVERSION= 1.0.4 +CATEGORIES= mail textproc +MASTER_SITES= http://www.ai.mit.edu/~jrennie/ifile/ + +MAINTAINER= david+ports@bushong.net + +USE_GMAKE= yes +GNU_CONFIGURE= yes + +post-patch: +.for file in argp-help.c strndup.c + @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/argp/${file} +.endfor + +.include diff --git a/mail/ifile/distinfo b/mail/ifile/distinfo new file mode 100644 index 000000000000..ffba75f47319 --- /dev/null +++ b/mail/ifile/distinfo @@ -0,0 +1 @@ +MD5 (ifile-1.0.4.tar.gz) = 26e1cfa8482e733922a59e48e12545f4 diff --git a/mail/ifile/pkg-comment b/mail/ifile/pkg-comment new file mode 100644 index 000000000000..77e397e2e11c --- /dev/null +++ b/mail/ifile/pkg-comment @@ -0,0 +1 @@ +An application of machine learning to e-mail filtering diff --git a/mail/ifile/pkg-descr b/mail/ifile/pkg-descr new file mode 100644 index 000000000000..a696ef41eb5e --- /dev/null +++ b/mail/ifile/pkg-descr @@ -0,0 +1,19 @@ +ifile is a general mail filtering system that works with a mail client to +intelligently filter mail according to the way the user tends to organize +mail. ifile uses the machine learning algorithm Naive Bayes to classify +e-mail documents. + +ifile is different from other mail filtering programs in three major ways: + + 1.ifile does not require you to generate a set of rules in order to + successfully filter mail + 2.ifile uses the entire content of messages for filtering purposes + 3.ifile learns as you move incorrectly filtered messages to new mailboxes + +ifile is not dependent upon any specific mail system and should be adaptable +to any mail system which allows an outside program to perform mail +filtering. The download package includes instructions for using ifile with +NMH, EXMH and slocal. Grant Taylor describes the use of ifile with +procmail. + +WWW: http://www.ai.mit.edu/~jrennie/ifile/ diff --git a/mail/ifile/pkg-plist b/mail/ifile/pkg-plist new file mode 100644 index 000000000000..452abca09f1b --- /dev/null +++ b/mail/ifile/pkg-plist @@ -0,0 +1,11 @@ +@comment $FreeBSD$ +lib/libargp.a +include/argp.h +lib/libifile.a +include/ifile/ifile.h +bin/ifile +bin/ifilter.mh +bin/irefile.mh +bin/knowledge_base.mh +bin/news2mail +@dirrm include/ifile