summaryrefslogtreecommitdiff
path: root/mail/mb2md
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2005-04-20 11:00:18 +0000
committerschmonz <schmonz@pkgsrc.org>2005-04-20 11:00:18 +0000
commit27e0160328ffb81ff85dfa3d17ca93d6c122e4c7 (patch)
tree720cc76f7ae8728fa41db593c65a765dcdbf557a /mail/mb2md
parente7915230c78ee1e1b9e0d3c83e5a9cde2de18734 (diff)
downloadpkgsrc-27e0160328ffb81ff85dfa3d17ca93d6c122e4c7.tar.gz
Initial import of mb2md 3.20.
Mb2md.pl is a Perl script that takes one or more Mbox format mailbox files in a directory and convert them to Maildir format mailboxes. Mb2md.pl does not only convert mailbox files into a Maildir but also the /var/spool/mail/$USER mailspool file. It is smart enough to not transfer a dummy message such as the UW IMAPD puts at the start of Mbox mailboxes - and you could add your own search terms into the script to make it ignore other forms of dummy first message.
Diffstat (limited to 'mail/mb2md')
-rw-r--r--mail/mb2md/DESCR7
-rw-r--r--mail/mb2md/Makefile26
-rw-r--r--mail/mb2md/PLIST2
-rw-r--r--mail/mb2md/distinfo5
4 files changed, 40 insertions, 0 deletions
diff --git a/mail/mb2md/DESCR b/mail/mb2md/DESCR
new file mode 100644
index 00000000000..862730f55f1
--- /dev/null
+++ b/mail/mb2md/DESCR
@@ -0,0 +1,7 @@
+Mb2md.pl is a Perl script that takes one or more Mbox format mailbox
+files in a directory and convert them to Maildir format mailboxes.
+Mb2md.pl does not only convert mailbox files into a Maildir but
+also the /var/spool/mail/$USER mailspool file. It is smart enough
+to not transfer a dummy message such as the UW IMAPD puts at the
+start of Mbox mailboxes - and you could add your own search terms
+into the script to make it ignore other forms of dummy first message.
diff --git a/mail/mb2md/Makefile b/mail/mb2md/Makefile
new file mode 100644
index 00000000000..a6dbf9a9fb9
--- /dev/null
+++ b/mail/mb2md/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/04/20 11:00:18 schmonz Exp $
+#
+
+DISTNAME= mb2md-3.20.pl
+PKGNAME= ${DISTNAME:S/.pl$//}
+CATEGORIES= mail
+MASTER_SITES= ${HOMEPAGE}
+EXTRACT_SUFX= .gz
+
+MAINTAINER= schmonz@NetBSD.org
+HOMEPAGE= http://batleth.sapienti-sat.org/projects/mb2md/
+COMMENT= Converts one or more mboxes to maildirs
+
+DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate
+
+WRKSRC= ${WRKDIR}
+
+USE_PERL5= run
+REPLACE_PERL= ${DISTNAME}
+
+NO_BUILD= # defined
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PKGBASE}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/mb2md/PLIST b/mail/mb2md/PLIST
new file mode 100644
index 00000000000..3b38e2c593a
--- /dev/null
+++ b/mail/mb2md/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/20 11:00:18 schmonz Exp $
+bin/mb2md
diff --git a/mail/mb2md/distinfo b/mail/mb2md/distinfo
new file mode 100644
index 00000000000..df10eee53d5
--- /dev/null
+++ b/mail/mb2md/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/04/20 11:00:18 schmonz Exp $
+
+SHA1 (mb2md-3.20.pl.gz) = 96f69bea2802eaf578c2ce82320ea4b0bb1a08c6
+RMD160 (mb2md-3.20.pl.gz) = 03ee1e543ba070c222aa7e20624aaf5fa390785c
+Size (mb2md-3.20.pl.gz) = 14977 bytes