summaryrefslogtreecommitdiffstats
path: root/mail/mb2md/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-10 06:09:21 +0000
committeredwin <edwin@FreeBSD.org>2003-10-10 06:09:21 +0000
commitcd4f5375372df9ede09e3b247e2874f1a05ab31c (patch)
treec63efdeb573c7a861785012a3f874033bc85c7e2 /mail/mb2md/Makefile
parenta937745102b4161304817723a4c4bd74825b97cd (diff)
downloadFreeBSD-ports-cd4f5375372df9ede09e3b247e2874f1a05ab31c.zip
FreeBSD-ports-cd4f5375372df9ede09e3b247e2874f1a05ab31c.tar.gz
New port: mb2md - Converts mbox mailboxes to Maildir
This is a Perl script that reads a directory of Mbox format mailboxes and converts them to Maildir format. Some details of this are to suit Courier IMAP's naming conventions for Maildir mailboxes. PR: ports/53537 Submitted by: Andy Gilligan <andy@evo6.org>
Diffstat (limited to 'mail/mb2md/Makefile')
-rw-r--r--mail/mb2md/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/mail/mb2md/Makefile b/mail/mb2md/Makefile
new file mode 100644
index 0000000..ed9f9d4
--- /dev/null
+++ b/mail/mb2md/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: mb2md
+# Date created: 20 June 2003
+# Whom: Andy Gilligan
+#
+# $FreeBSD$
+#
+
+PORTNAME= mb2md
+PORTVERSION= 3.10
+CATEGORIES= mail
+MASTER_SITES= http://batleth.sapienti-sat.org/projects/mb2md/
+DISTNAME= ${PORTNAME}-${PORTVERSION}.pl
+EXTRACT_SUFX= .gz
+
+MAINTAINER= andy@evo6.org
+COMMENT= Converts mbox mailboxes to Maildir
+
+RUN_DEPENDS= ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate
+
+USE_PERL5_RUN= yes
+EXTRACT_CMD= ${GZIP_CMD} -cd > ${DISTNAME}
+WRKSRC= ${.CURDIR}
+
+NO_BUILD= true
+INSTALL_TARGET= real-install
+
+real-install:
+ @${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud