aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2002-02-11 17:21:31 +0800
committerkevlo <kevlo@FreeBSD.org>2002-02-11 17:21:31 +0800
commit451737f643efc647585abbc00baa519a930c46bd (patch)
treec8343ad2e98d636a9c38487018774e7b893c0ff4 /mail
parent7769874919d478d93f6c05606bf4f9e440b610f4 (diff)
downloadfreebsd-ports-graphics-451737f643efc647585abbc00baa519a930c46bd.tar.gz
freebsd-ports-graphics-451737f643efc647585abbc00baa519a930c46bd.tar.zst
freebsd-ports-graphics-451737f643efc647585abbc00baa519a930c46bd.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>
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-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
6 files changed, 56 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 20bc2c7875d..9ba69dffced 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 00000000000..99140953553
--- /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 00000000000..ffba75f4731
--- /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 00000000000..77e397e2e11
--- /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 00000000000..a696ef41eb5
--- /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 00000000000..452abca09f1
--- /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