diff options
author | barner <barner@FreeBSD.org> | 2005-06-22 16:22:41 +0800 |
---|---|---|
committer | barner <barner@FreeBSD.org> | 2005-06-22 16:22:41 +0800 |
commit | d105517ec87818f1f1fce5c187aff1467f7898e8 (patch) | |
tree | 758f62cc87a3713c7560da564e756a7ce3d84904 /mail | |
parent | 2346958f25f71ec4316163c429a2f8f812706af7 (diff) | |
download | freebsd-ports-gnome-d105517ec87818f1f1fce5c187aff1467f7898e8.tar.gz freebsd-ports-gnome-d105517ec87818f1f1fce5c187aff1467f7898e8.tar.zst freebsd-ports-gnome-d105517ec87818f1f1fce5c187aff1467f7898e8.zip |
Add delatt, a tool to strip attachments from email.
PR: 82513
Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/delatt/Makefile | 37 | ||||
-rw-r--r-- | mail/delatt/distinfo | 2 | ||||
-rw-r--r-- | mail/delatt/pkg-descr | 10 |
4 files changed, 50 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 4bef6fe5ce93..85dbbdeba624 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -54,6 +54,7 @@ SUBDIR += cyrus-imapd22 SUBDIR += dbmail SUBDIR += dcc-dccd + SUBDIR += delatt SUBDIR += demime SUBDIR += distribute SUBDIR += dk-milter diff --git a/mail/delatt/Makefile b/mail/delatt/Makefile new file mode 100644 index 000000000000..6f428277f7e2 --- /dev/null +++ b/mail/delatt/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: delatt +# Date created: 22 Jun 2005 +# Whom: Emanuel Haupt <ehaupt@critical.ch> +# +# $FreeBSD$ +# + +PORTNAME= delatt +DISTVERSION= 1.1.3 +CATEGORIES= mail +MASTER_SITES= http://danborn.net/delatt/ + +MAINTAINER= ehaupt@critical.ch +COMMENT= Strip attachments from email + +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 + +USE_PERL5_RUN= yes +USE_REINPLACE= yes +NO_BUILD= yes + +PLIST_FILES= bin/delatt + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500806 +IGNORE= needs Perl 5.8.6 or above (lang/perl5.8) +.endif + +post-patch: + ${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' \ + ${WRKSRC}/${PORTNAME} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +.include <bsd.port.post.mk> diff --git a/mail/delatt/distinfo b/mail/delatt/distinfo new file mode 100644 index 000000000000..bdcc449c774a --- /dev/null +++ b/mail/delatt/distinfo @@ -0,0 +1,2 @@ +MD5 (delatt-1.1.3.tar.gz) = a2c272ec4410943082612fe14df3c6b9 +SIZE (delatt-1.1.3.tar.gz) = 9502 diff --git a/mail/delatt/pkg-descr b/mail/delatt/pkg-descr new file mode 100644 index 000000000000..bc04ba190fa3 --- /dev/null +++ b/mail/delatt/pkg-descr @@ -0,0 +1,10 @@ +Strip attachments from email, and optionally save the attachments to files. +It will work with either mbox or maildir files. + +It is great for archiving old email without wasting space on attachments and +the extra HTML message parts that some MUAs attach. + +WWW: http://danborn.net/delatt/ + +- ehaupt +ehaupt@critical.ch |