aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-10-31 10:29:56 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-10-31 10:29:56 +0000
commit6411e6556a73987ed245aad9b5240dc4b2d798c0 (patch)
treea560cc8fae2c5d097b5ef88462b8a156b17fb97b /mail
parent9e9ec5736e5dd9b6944ebb7cb73b1f79547a81a8 (diff)
downloadports-6411e6556a73987ed245aad9b5240dc4b2d798c0.tar.gz
ports-6411e6556a73987ed245aad9b5240dc4b2d798c0.zip
Notes
Diffstat (limited to 'mail')
-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 08c5a680ec96..3a9f511bd4fb 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 000000000000..7414d3448e35
--- /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 000000000000..ae1db44c7ec1
--- /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 000000000000..3db2042d9130
--- /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 000000000000..5221a810c085
--- /dev/null
+++ b/mail/mboxstats/pkg-plist
@@ -0,0 +1 @@
+bin/mboxstats