mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
a928f1a1ae
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>
31 lines
662 B
Makefile
31 lines
662 B
Makefile
# 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>
|