aboutsummaryrefslogtreecommitdiff
path: root/mail/ifile
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2002-02-11 09:21:31 +0000
committerKevin Lo <kevlo@FreeBSD.org>2002-02-11 09:21:31 +0000
commit058407931b22604f0895ff89bd07b378dc22077a (patch)
tree61ab47b222566f2f85716b49deb043165c2b7d92 /mail/ifile
parent1b595092a973b55460a1e8f9c0a0401fabd47078 (diff)
downloadports-058407931b22604f0895ff89bd07b378dc22077a.tar.gz
ports-058407931b22604f0895ff89bd07b378dc22077a.zip
Initial import of ifile 1.0.4.
Note that I fixed malloc.h to stdlib.h Ifile is an application of machine learning to e-mail filtering. PR: 34423 Submitted by: David Bushong <david+ports@bushong.net>
Notes
Notes: svn path=/head/; revision=54542
Diffstat (limited to 'mail/ifile')
-rw-r--r--mail/ifile/Makefile23
-rw-r--r--mail/ifile/distinfo1
-rw-r--r--mail/ifile/pkg-comment1
-rw-r--r--mail/ifile/pkg-descr19
-rw-r--r--mail/ifile/pkg-plist11
5 files changed, 55 insertions, 0 deletions
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 <david+ports@bushong.net>
+#
+# $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 <bsd.port.mk>
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