From 5a3fe2c7e30e5d8f43be1a4e018e3b8ab0c4b9b6 Mon Sep 17 00:00:00 2001 From: pawel Date: Tue, 23 Jul 2013 20:35:11 +0000 Subject: 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 --- mail/Makefile | 1 + mail/cyrus2dovecot/Makefile | 35 +++++++++++++++++++++++++++++++++++ mail/cyrus2dovecot/distinfo | 2 ++ mail/cyrus2dovecot/pkg-descr | 6 ++++++ 4 files changed, 44 insertions(+) create mode 100644 mail/cyrus2dovecot/Makefile create mode 100644 mail/cyrus2dovecot/distinfo create mode 100644 mail/cyrus2dovecot/pkg-descr (limited to 'mail') 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 +# $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 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/ -- cgit