From 761ef67f55d3ec096aa594f421454de75091548c Mon Sep 17 00:00:00 2001 From: Simon Barner Date: Wed, 22 Jun 2005 08:22:41 +0000 Subject: Add delatt, a tool to strip attachments from email. PR: 82513 Submitted by: Emanuel Haupt --- mail/delatt/Makefile | 37 +++++++++++++++++++++++++++++++++++++ mail/delatt/distinfo | 2 ++ mail/delatt/pkg-descr | 10 ++++++++++ 3 files changed, 49 insertions(+) create mode 100644 mail/delatt/Makefile create mode 100644 mail/delatt/distinfo create mode 100644 mail/delatt/pkg-descr (limited to 'mail/delatt') 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 +# +# $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 + +.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 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 -- cgit v1.2.3