From nobody@FreeBSD.org  Sun Oct 30 17:26:29 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9A51616A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 30 Oct 2005 17:26:29 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AEF5843D46
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 30 Oct 2005 17:26:28 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9UHQSLb042329
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 30 Oct 2005 17:26:28 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j9UHQSCI042328;
	Sun, 30 Oct 2005 17:26:28 GMT
	(envelope-from nobody)
Message-Id: <200510301726.j9UHQSCI042328@www.freebsd.org>
Date: Sun, 30 Oct 2005 17:26:28 GMT
From: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [NEW PORT] mail/mbox2mdir: Convert mailbox format to Qmail maildir writen in C
X-Send-Pr-Version: www-2.3

>Number:         88245
>Category:       ports
>Synopsis:       [NEW PORT] mail/mbox2mdir: Convert mailbox format to Qmail maildir writen in C
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jylefort
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 30 17:30:17 GMT 2005
>Closed-Date:    Tue Nov 01 12:45:13 GMT 2005
>Last-Modified:  Tue Nov 01 12:45:13 GMT 2005
>Originator:     Jose Alonso Cardenas Marquez
>Release:        FreeBSD 6.0-RC1 i386
>Organization:
BSDPeru (http://www.bsd.org.pe)
>Environment:
FreeBSD HellFire.BSD.org.pe 6.0-RC1 FreeBSD 6.0-RC1 #0: Sat Oct 29 10:17:26 PET 2005    
>Description:
mbox2mdir is a small program to convert mail stored in in UN*X Mailbox format to QMail's 
Maildir format. It can (optionally) also truncate source Mailbox file upon successful conversion. 
I use it to move mail delivered by /bin/mail or sendmail to QMail maildirs, but of course there 
are many other possible uses for it.

WWW:	http://sageshome.net/oss/mbox2mdir.php
>How-To-Repeat:
              
>Fix:
--- mbox2mdir-1.3.shar begins here ---
# 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:
#
#	mbox2mdir
#	mbox2mdir/pkg-descr
#	mbox2mdir/Makefile
#	mbox2mdir/distinfo
#
echo c - mbox2mdir
mkdir -p mbox2mdir > /dev/null 2>&1
echo x - mbox2mdir/pkg-descr
sed 's/^X//' >mbox2mdir/pkg-descr << 'END-of-mbox2mdir/pkg-descr'
Xmbox2mdir is a small program to convert mail stored in in UN*X Mailbox format to QMail's 
XMaildir format. It can (optionally) also truncate source Mailbox file upon successful conversion. 
XI use it to move mail delivered by /bin/mail or sendmail to QMail maildirs, but of course there 
Xare many other possible uses for it.
X
XWWW:	http://sageshome.net/oss/mbox2mdir.php
END-of-mbox2mdir/pkg-descr
echo x - mbox2mdir/Makefile
sed 's/^X//' >mbox2mdir/Makefile << 'END-of-mbox2mdir/Makefile'
X# New ports collection makefile for:	mbox2mdir
X# Date created:		2005-10-30
X# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mbox2mdir
XPORTVERSION=	1.3
XCATEGORIES=	mail
XMASTER_SITES=	http://sageshome.net/downloads/oss/
X
XMAINTAINER=	acardenas@bsd.org.pe
XCOMMENT=	Convert mailbox format to Qmail maildir writen in C
X
XUSE_BZIP2=	yes
XNO_BUILD=	yes
XUSE_REINPLACE=	yes
X
XPLIST_FILES+=	bin/mbox2mdir
X
Xpre-install:
X	@${REINPLACE_CMD} -e 's|CC=g++ -O3|CC=${CXX} ${CXXFLAGS}|g' \
X		${WRKSRC}/Makefile
Xdo-install:
X	@cd ${WRKSRC} && ${GMAKE}
X	${INSTALL_PROGRAM} ${WRKSRC}/mbox2mdir ${PREFIX}/bin
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-mbox2mdir/Makefile
echo x - mbox2mdir/distinfo
sed 's/^X//' >mbox2mdir/distinfo << 'END-of-mbox2mdir/distinfo'
XMD5 (mbox2mdir-1.3.tar.bz2) = 7dda0022100de6d044765951d11bce18
XSIZE (mbox2mdir-1.3.tar.bz2) = 9066
END-of-mbox2mdir/distinfo
exit
--- mbox2mdir-1.3.shar ends here ---
  
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jylefort 
Responsible-Changed-By: jylefort 
Responsible-Changed-When: Sun Oct 30 23:01:49 GMT 2005 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88245 
State-Changed-From-To: open->closed 
State-Changed-By: jylefort 
State-Changed-When: Tue Nov 1 12:44:26 GMT 2005 
State-Changed-Why:  
Committed with a few modifications, thanks! 

Note: do not install the GPL (see http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-misc.html). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88245 
>Unformatted:
