summaryrefslogtreecommitdiff
path: root/mail/mb2md/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz>2005-04-20 11:00:18 +0000
committerschmonz <schmonz>2005-04-20 11:00:18 +0000
commitfe610e572d403f011b262279ccc630504facd479 (patch)
tree720cc76f7ae8728fa41db593c65a765dcdbf557a /mail/mb2md/Makefile
parent653201b13df372d1c9ee56dfcaee8cc36d68a5f9 (diff)
downloadpkgsrc-fe610e572d403f011b262279ccc630504facd479.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/Makefile')
-rw-r--r--mail/mb2md/Makefile26
1 files changed, 26 insertions, 0 deletions
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"