aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-10-31 18:29:56 +0800
committerleeym <leeym@FreeBSD.org>2003-10-31 18:29:56 +0800
commitce585c97df94a17417c6bb6a70fa19856d285cd3 (patch)
treecb8c6b9738ecbabe33b27d8fbb27d8a560d6ebcf
parentb5d9b4984a3ded884f6e5b3c5f4557c09c1ac009 (diff)
downloadfreebsd-ports-graphics-ce585c97df94a17417c6bb6a70fa19856d285cd3.tar.gz
freebsd-ports-graphics-ce585c97df94a17417c6bb6a70fa19856d285cd3.tar.zst
freebsd-ports-graphics-ce585c97df94a17417c6bb6a70fa19856d285cd3.zip
add mboxstats-1.3
mboxstats creates several top-10 lists from a file containing message in mbox-format. List of top10 lists: o Top writes o Top receivers o Top subjects o Top cc'ers o Top top-level-domain o Top timezones o Top organisations o Top useragents (mailprograms) o Top month/day-of-month/day-of-week/hour o Average number of lines per message o All kinds of per-user statistics And much more! WWW: http://vanheusden.com/mboxstats/ PR: 58748 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
-rw-r--r--mail/Makefile1
-rw-r--r--mail/mboxstats/Makefile27
-rw-r--r--mail/mboxstats/distinfo1
-rw-r--r--mail/mboxstats/pkg-descr18
-rw-r--r--mail/mboxstats/pkg-plist1
5 files changed, 48 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 08c5a680ec9..3a9f511bd4f 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -142,6 +142,7 @@
SUBDIR += mavbiff
SUBDIR += mb2md
SUBDIR += mboxgrep
+ SUBDIR += mboxstats
SUBDIR += mbx2mbox
SUBDIR += mess822
SUBDIR += messagewall
diff --git a/mail/mboxstats/Makefile b/mail/mboxstats/Makefile
new file mode 100644
index 00000000000..7414d3448e3
--- /dev/null
+++ b/mail/mboxstats/Makefile
@@ -0,0 +1,27 @@
+# ex:ts=8
+# New ports collection makefile for: mboxstats
+# Date created: Oct 31 2003
+# Whom: clsung
+#
+# $FreeBSD$
+#
+
+PORTNAME= mboxstats
+PORTVERSION= 1.3
+CATEGORIES= mail
+MASTER_SITES= http://vanheusden.com/mboxstats/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= clsung@dragon2.net
+COMMENT= Creates top-10 lists of the messages in a mailbox
+
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|ssize_t|size_t|g' ${WRKSRC}/io.h
+ @${REINPLACE_CMD} -e 's|PATH_MAX|FILENAME_MAX|g' ${WRKSRC}/main.cpp
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/mboxstats ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/mail/mboxstats/distinfo b/mail/mboxstats/distinfo
new file mode 100644
index 00000000000..ae1db44c7ec
--- /dev/null
+++ b/mail/mboxstats/distinfo
@@ -0,0 +1 @@
+MD5 (mboxstats-1.3.tgz) = 14e4b1cba0b778dff00db8eb10b9291c
diff --git a/mail/mboxstats/pkg-descr b/mail/mboxstats/pkg-descr
new file mode 100644
index 00000000000..3db2042d913
--- /dev/null
+++ b/mail/mboxstats/pkg-descr
@@ -0,0 +1,18 @@
+mboxstats creates several top-10 lists from a file containing message
+in mbox-format. List of top10 lists:
+
+o Top writes
+o Top receivers
+o Top subjects
+o Top cc'ers
+o Top top-level-domain
+o Top timezones
+o Top organisations
+o Top useragents (mailprograms)
+o Top month/day-of-month/day-of-week/hour
+o Average number of lines per message
+o All kinds of per-user statistics
+
+And much more!
+
+WWW: http://vanheusden.com/mboxstats/
diff --git a/mail/mboxstats/pkg-plist b/mail/mboxstats/pkg-plist
new file mode 100644
index 00000000000..5221a810c08
--- /dev/null
+++ b/mail/mboxstats/pkg-plist
@@ -0,0 +1 @@
+bin/mboxstats