diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2016-01-08 19:45:27 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2016-01-08 19:45:27 +0800 |
commit | 7d5eb51180843b81e868413038d0ae924f34dc47 (patch) | |
tree | e50694586deda902d16fdf0876226b979e9d3354 /mail | |
parent | b3c381c64c146667c21ca1b10e9911efd4225087 (diff) | |
download | freebsd-ports-gnome-7d5eb51180843b81e868413038d0ae924f34dc47.tar.gz freebsd-ports-gnome-7d5eb51180843b81e868413038d0ae924f34dc47.tar.zst freebsd-ports-gnome-7d5eb51180843b81e868413038d0ae924f34dc47.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.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/cleanup-maildir/Makefile | 24 | ||||
-rw-r--r-- | mail/cleanup-maildir/distinfo | 2 | ||||
-rw-r--r-- | mail/cleanup-maildir/pkg-descr | 5 |
4 files changed, 32 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 31810b84930c..b6e3c3381a97 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -69,6 +69,7 @@ SUBDIR += claws-mail-tnef SUBDIR += claws-mail-vcalendar SUBDIR += clawsker + SUBDIR += cleanup-maildir SUBDIR += cone SUBDIR += coolmail SUBDIR += courier 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. |