ports/53537: New port: mb2md - Converts mbox mailboxes to Maildir
Andy Gilligan
andy at evo6.org
Fri Jun 20 05:20:13 UTC 2003
>Number: 53537
>Category: ports
>Synopsis: New port: mb2md - Converts mbox mailboxes to Maildir
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 19 22:20:06 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Andy Gilligan
>Release: FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
>Description:
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.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# mb2md
# mb2md/Makefile
# mb2md/pkg-descr
# mb2md/distinfo
# mb2md/pkg-plist
#
echo c - mb2md
mkdir -p mb2md > /dev/null 2>&1
echo x - mb2md/Makefile
sed 's/^X//' >mb2md/Makefile << 'END-of-mb2md/Makefile'
X# New ports collection makefile for: mb2md
X# Date created: 20 June 2003
X# Whom: Andy Gilligan
X#
X# $FreeBSD$
X#
X
XPORTNAME= mb2md
XPORTVERSION= 3.10
XCATEGORIES= mail
XMASTER_SITES= http://batleth.sapienti-sat.org/projects/mb2md/
XDISTNAME= ${PORTNAME}-${PORTVERSION}.pl
XEXTRACT_SUFX= .gz
X
XMAINTAINER= andy at evo6.org
XCOMMENT= Converts mbox mailboxes to Maildir
X
XRUN_DEPENDS= ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate
X
XEXTRACT_CMD= ${GZIP_CMD} -cd > ${DISTNAME}
XWRKSRC= ${.CURDIR}
X
XNO_BUILD= true
XINSTALL_TARGET= real-install
X
Xreal-install:
X @${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
X
X.include <bsd.port.mk>
END-of-mb2md/Makefile
echo x - mb2md/pkg-descr
sed 's/^X//' >mb2md/pkg-descr << 'END-of-mb2md/pkg-descr'
XThis is a Perl script that reads a directory of Mbox format
Xmailboxes and converts them to Maildir format.
X
XSome details of this are to suit Courier IMAP's naming
Xconventions for Maildir mailboxes.
X
XWWW: http://batleth.sapienti-sat.org/projects/mb2md/
END-of-mb2md/pkg-descr
echo x - mb2md/distinfo
sed 's/^X//' >mb2md/distinfo << 'END-of-mb2md/distinfo'
XMD5 (mb2md-3.10.pl.gz) = b9a8cf81cd5c15ed1e04216661ad1122
END-of-mb2md/distinfo
echo x - mb2md/pkg-plist
sed 's/^X//' >mb2md/pkg-plist << 'END-of-mb2md/pkg-plist'
Xbin/mb2md
END-of-mb2md/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list