aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2005-06-22 08:22:41 +0000
committerSimon Barner <barner@FreeBSD.org>2005-06-22 08:22:41 +0000
commit761ef67f55d3ec096aa594f421454de75091548c (patch)
treebe7797d6f46811c4b858d51328497fe5ac00a0b1 /mail
parentdfc95d10ab0bfe6effff2569bc27a00855e23ff2 (diff)
downloadports-761ef67f55d3ec096aa594f421454de75091548c.tar.gz
ports-761ef67f55d3ec096aa594f421454de75091548c.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/delatt/Makefile37
-rw-r--r--mail/delatt/distinfo2
-rw-r--r--mail/delatt/pkg-descr10
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