summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>1999-03-18 05:29:14 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>1999-03-18 05:29:14 +0000
commitbd7268f8daa48f44813090b2aa7b38afcf9ff713 (patch)
treef13ff5fe5991fb11af3081f4c4262854b78ed1ac /mail
parentSun's Java Developers Kit documentation (diff)
A simple mail counter, useful for multiple mailfiles
PR: ports/9256 Submitted by: Chip Marshall chip@eboai.org
Notes
Notes: svn path=/head/; revision=17272
Diffstat (limited to 'mail')
-rw-r--r--mail/cmail/Makefile28
-rw-r--r--mail/cmail/distinfo1
-rw-r--r--mail/cmail/pkg-comment1
-rw-r--r--mail/cmail/pkg-descr18
-rw-r--r--mail/cmail/pkg-plist2
5 files changed, 50 insertions, 0 deletions
diff --git a/mail/cmail/Makefile b/mail/cmail/Makefile
new file mode 100644
index 000000000000..f6ee35f188a0
--- /dev/null
+++ b/mail/cmail/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: cmail
+# Version required: 2.5
+# Date created: 31 Dec 1998
+# Whom: Chip Marshall <chip@eboai.org>
+#
+# $Id$
+#
+
+DISTNAME= cmail-2.5
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.eboai.org/pub/users/chip/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= chip@eboai.org
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+USE_PERL5= yes
+
+pre-configure:
+ @${SED} -e '1,1s:/usr/local/bin/perl:${PERL5}:' \
+ ${WRKDIR}/cmail.pl > ${WRKDIR}/cmail
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/cmail ${PREFIX}/bin/cmail
+ ${INSTALL_MAN} ${WRKDIR}/cmail.rc ${MAN1PREFIX}/share/examples/cmail.rc
+
+.include <bsd.port.mk>
diff --git a/mail/cmail/distinfo b/mail/cmail/distinfo
new file mode 100644
index 000000000000..f3f394201da0
--- /dev/null
+++ b/mail/cmail/distinfo
@@ -0,0 +1 @@
+MD5 (cmail-2.5.tgz) = 298ba191680f810d59645ed665e07d7b
diff --git a/mail/cmail/pkg-comment b/mail/cmail/pkg-comment
new file mode 100644
index 000000000000..10d5abda7b7c
--- /dev/null
+++ b/mail/cmail/pkg-comment
@@ -0,0 +1 @@
+A simple mail counter, useful for multiple mailfiles.
diff --git a/mail/cmail/pkg-descr b/mail/cmail/pkg-descr
new file mode 100644
index 000000000000..07c570aaa200
--- /dev/null
+++ b/mail/cmail/pkg-descr
@@ -0,0 +1,18 @@
+cmail is a simple mail counting tool written in perl. It reads in a config file
+and returns which mailfiles contain mail, how much mail, and how many new
+messages. Example of output -
+ Personal mail 1 message
+ JLC mail 20 messages (2 new)
+ EXPI mail 2 messages
+ DWC RPG 1 message
+
+This may be useful if you split your mail into multiple files using something
+like procmail. I'm not sure if the new/old mail determination works with
+anything other than mutt.
+Latest versions can also be found at http://www.eboai.org/~chip/scripts.html
+
+--
+Chip Marshall <chip@eboai.org>
+http://www.eboai.org/~chip/ InterNIC handle - CLM21
+PGP key available on my web page On IRC via EFnet as Magus
+PGP Key fingerprint = 6B 35 3B 72 AC 37 90 04 E5 79 EE 71 18 95 4A 84
diff --git a/mail/cmail/pkg-plist b/mail/cmail/pkg-plist
new file mode 100644
index 000000000000..9fe349b67b1d
--- /dev/null
+++ b/mail/cmail/pkg-plist
@@ -0,0 +1,2 @@
+share/examples/cmail.rc
+bin/cmail