aboutsummaryrefslogtreecommitdiff
path: root/mail/cleanup-maildir
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2016-01-08 11:45:27 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2016-01-08 11:45:27 +0000
commit520afcaff171cee93d34abfb2f2c33a31ba30404 (patch)
treee50694586deda902d16fdf0876226b979e9d3354 /mail/cleanup-maildir
parent3491b54d8a3291d8b30c2bced24fae3974604564 (diff)
downloadports-520afcaff171cee93d34abfb2f2c33a31ba30404.tar.gz
ports-520afcaff171cee93d34abfb2f2c33a31ba30404.zip
Add cleanup-maildir 0.1.0.2016010801, a script for cleaning up mails in
Maildir folders based on the arival date. The script supports thread detection and can distinguish between read and partially read threads.
Notes
Notes: svn path=/head/; revision=405542
Diffstat (limited to 'mail/cleanup-maildir')
-rw-r--r--mail/cleanup-maildir/Makefile24
-rw-r--r--mail/cleanup-maildir/distinfo2
-rw-r--r--mail/cleanup-maildir/pkg-descr5
3 files changed, 31 insertions, 0 deletions
diff --git a/mail/cleanup-maildir/Makefile b/mail/cleanup-maildir/Makefile
new file mode 100644
index 000000000000..3d4526bd2c4b
--- /dev/null
+++ b/mail/cleanup-maildir/Makefile
@@ -0,0 +1,24 @@
+# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= cleanup-maildir
+PORTVERSION= 0.1.0.2016010801
+CATEGORIES= mail python
+MASTER_SITES= LOCAL/ehaupt
+
+MAINTAINER= ehaupt@FreeBSD.org
+COMMENT= Script for cleaning up mails in Maildir folders based on arival date
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}graph-core>=${PORTVERSION}:${PORTSDIR}/graphics/py-graph-core
+
+USES= python shebangfix
+NO_BUILD= yes
+
+SHEBANG_FILES= cleanup-maildir.py
+PLIST_FILES= bin/cleanup-maildir
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/cleanup-maildir.py \
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/mail/cleanup-maildir/distinfo b/mail/cleanup-maildir/distinfo
new file mode 100644
index 000000000000..b0be6dc35fd7
--- /dev/null
+++ b/mail/cleanup-maildir/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cleanup-maildir-0.1.0.2016010801.tar.gz) = 27569c590b6dc51f745f021f07c8f249454340dbbe4fa6a88abd9f01e8e6dc37
+SIZE (cleanup-maildir-0.1.0.2016010801.tar.gz) = 6209
diff --git a/mail/cleanup-maildir/pkg-descr b/mail/cleanup-maildir/pkg-descr
new file mode 100644
index 000000000000..9929521afb1c
--- /dev/null
+++ b/mail/cleanup-maildir/pkg-descr
@@ -0,0 +1,5 @@
+This is a script for cleaning up and archiving mails in Maildir folders based on
+the date the mail was received.
+
+The script supports thread detection and can distinguish between read and
+partially read threads.