aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2013-07-24 04:35:11 +0800
committerpawel <pawel@FreeBSD.org>2013-07-24 04:35:11 +0800
commit5a3fe2c7e30e5d8f43be1a4e018e3b8ab0c4b9b6 (patch)
tree61a98ccefe3c77932557bd4e67e290ef05067938 /mail
parent42b106f11a515248432e87a5dc9374a49270ba64 (diff)
downloadfreebsd-ports-gnome-5a3fe2c7e30e5d8f43be1a4e018e3b8ab0c4b9b6.tar.gz
freebsd-ports-gnome-5a3fe2c7e30e5d8f43be1a4e018e3b8ab0c4b9b6.tar.zst
freebsd-ports-gnome-5a3fe2c7e30e5d8f43be1a4e018e3b8ab0c4b9b6.zip
Cyrus2Dovecot is a full-featured command line tool for converting the
e-mails of one or more users from Cyrus format to Dovecot Maildir++ folders. It allows for performing a server transition which is fully transparent to both POP and IMAP users. WWW: http://www.cyrus2dovecot.sw.fu-berlin.de/ PR: ports/18590 Submitted by: Vladimir Kondratiev <wulf@mail.mipt.ru>
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/cyrus2dovecot/Makefile35
-rw-r--r--mail/cyrus2dovecot/distinfo2
-rw-r--r--mail/cyrus2dovecot/pkg-descr6
4 files changed, 44 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 110a22a87c99..4b10100fd770 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -85,6 +85,7 @@
SUBDIR += cyrus-imapd23
SUBDIR += cyrus-imapd24
SUBDIR += cyrus2courier
+ SUBDIR += cyrus2dovecot
SUBDIR += davmail
SUBDIR += dbmail
SUBDIR += dbmail22
diff --git a/mail/cyrus2dovecot/Makefile b/mail/cyrus2dovecot/Makefile
new file mode 100644
index 000000000000..3163d436042e
--- /dev/null
+++ b/mail/cyrus2dovecot/Makefile
@@ -0,0 +1,35 @@
+# Created by: Vladimir Kondratiev <wulf@mail.mipt.ru>
+# $FreeBSD$
+
+PORTNAME= cyrus2dovecot
+PORTVERSION= 1.2
+CATEGORIES= mail
+MASTER_SITES= http://www.cyrus2dovecot.sw.fu-berlin.de/download/
+EXTRACT_SUFX=
+EXTRACT_ONLY=
+
+MAINTAINER= wulf@mail.mipt.ru
+COMMENT= Convert Cyrus folders to Dovecot
+
+PLIST_FILES= bin/${PORTNAME}
+MAN1= ${PORTNAME}.1
+
+USE_PERL5= yes
+NO_WRKSUBDIR= yes
+
+post-extract:
+ @${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC}
+
+post-patch:
+ @${REINPLACE_CMD} -e '1s,^#!.*,#!${PERL},' ${WRKSRC}/${DISTNAME}
+
+do-build:
+ pod2man --section=1 --release=${PORTVERSION} \
+ --name=${PORTNAME} --center=${PORTNAME}" user guide" \
+ ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/${PORTNAME}.1
+
+.include <bsd.port.mk>
diff --git a/mail/cyrus2dovecot/distinfo b/mail/cyrus2dovecot/distinfo
new file mode 100644
index 000000000000..9a06cd767fbc
--- /dev/null
+++ b/mail/cyrus2dovecot/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cyrus2dovecot-1.2) = 69cc05e7d493b8e5030300aaa71bb87f72203f507ad726d796235619efae4917
+SIZE (cyrus2dovecot-1.2) = 52212
diff --git a/mail/cyrus2dovecot/pkg-descr b/mail/cyrus2dovecot/pkg-descr
new file mode 100644
index 000000000000..dc6be371c02d
--- /dev/null
+++ b/mail/cyrus2dovecot/pkg-descr
@@ -0,0 +1,6 @@
+Cyrus2Dovecot is a full-featured command line tool for converting the
+e-mails of one or more users from Cyrus format to Dovecot Maildir++ folders.
+It allows for performing a server transition which is fully transparent to
+both POP and IMAP users.
+
+WWW: http://www.cyrus2dovecot.sw.fu-berlin.de/