aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDaniel Harris <dannyboy@FreeBSD.org>2005-07-03 16:16:00 +0000
committerDaniel Harris <dannyboy@FreeBSD.org>2005-07-03 16:16:00 +0000
commit043e45ad085b50ecdd2aa92cb2105f8283c1c454 (patch)
tree82e984b823031998e40ebb9b60624fe513cf7384 /mail
parent8c932c7e189082713c07ab9a58e80c12d9e63685 (diff)
downloadports-043e45ad085b50ecdd2aa92cb2105f8283c1c454.tar.gz
ports-043e45ad085b50ecdd2aa92cb2105f8283c1c454.zip
Add cyrus2maildir.
Convert a single mailbox from Cyrus-Imap into the Maildir++ format used by the Courier-IMAP and Dovecot IMAP servers. PR: 82478 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Notes
Notes: svn path=/head/; revision=138418
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/cyrus2courier/Makefile38
-rw-r--r--mail/cyrus2courier/distinfo2
-rw-r--r--mail/cyrus2courier/pkg-descr7
4 files changed, 48 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 85dbbdeba624..519888ab0203 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -52,6 +52,7 @@
SUBDIR += cvsmail
SUBDIR += cyrus-imapd2
SUBDIR += cyrus-imapd22
+ SUBDIR += cyrus2courier
SUBDIR += dbmail
SUBDIR += dcc-dccd
SUBDIR += delatt
diff --git a/mail/cyrus2courier/Makefile b/mail/cyrus2courier/Makefile
new file mode 100644
index 000000000000..e1fbad89ed4c
--- /dev/null
+++ b/mail/cyrus2courier/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: cyrus2courier
+# Date created: 21 Jun 2005
+# Whom: Emanuel Haupt <ehaupt@critical.ch>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cyrus2courier
+DISTVERSION= 1.3
+CATEGORIES= mail
+MASTER_SITES= http://www.madness.at/~mad/projects/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ehaupt@critical.ch
+COMMENT= A Cyrus-Imap to Maildir++ conversion utility
+
+USE_GETOPT_LONG=yes
+USE_REINPLACE= yes
+
+ALL_TARGET= build
+
+PLIST_FILES= bin/cyrus2courier
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+CFLAGS+= -I${LOCALBASE}/include
+MAKE_ARGS= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} '/^CFLAGS*/d; /^LDFLAGS*/d; /^CC*/d' \
+ ${WRKSRC}/src/Makefile.FreeBSD
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.post.mk>
diff --git a/mail/cyrus2courier/distinfo b/mail/cyrus2courier/distinfo
new file mode 100644
index 000000000000..41aef77d65d0
--- /dev/null
+++ b/mail/cyrus2courier/distinfo
@@ -0,0 +1,2 @@
+MD5 (cyrus2courier-1.3.tgz) = a8c16fd81462b83e485c48c1e2f72449
+SIZE (cyrus2courier-1.3.tgz) = 15913
diff --git a/mail/cyrus2courier/pkg-descr b/mail/cyrus2courier/pkg-descr
new file mode 100644
index 000000000000..d2f5ab90e28a
--- /dev/null
+++ b/mail/cyrus2courier/pkg-descr
@@ -0,0 +1,7 @@
+Convert a single mailbox from Cyrus-Imap into the Maildir++ format used by the
+Courier-IMAP and Dovecot IMAP servers.
+
+WWW: http://www.madness.at/projects/
+
+- ehaupt
+ehaupt@critical.ch