# $Id: Portfile 71533 2010-09-15 20:26:12Z ryandesign@macports.org $

PortSystem			1.0
name				eudora2unix
version				1.3
categories			mail
maintainers			nomaintainer
description			set of python scripts to convert Eudora mailboxes to Unix mbox
long_description	Eudora2Unix is a collection of Python scripts that together \
					convert Qualcomm Eudora mail folders to mail directories for \
					unix or Linux. The mail clients Pine and KMail are explicitly \
					supported. I have also tried the output with Balsa, which uses \
					a mailbox structure similar to Pine's.
homepage			http://eudora2unix.sourceforge.net/
master_sites		sourceforge
checksums			md5 32a4d421510477dfadb2179d29595005
platforms			darwin

# Requires Python 2.2.1 or higher.
depends_run      	bin:python:python24

use_configure		no
build				{}

destroot {
	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/
	xinstall -m 644 ${worksrcpath}/index.html ${destroot}${prefix}/share/doc/${name}/
	xinstall -m 644 ${worksrcpath}/details.html ${destroot}${prefix}/share/doc/${name}/
	xinstall -m 755 ${worksrcpath}/Eudora2Mbox.py ${destroot}${prefix}/bin/
	xinstall -m 755 ${worksrcpath}/Eudora2Unix.py ${destroot}${prefix}/bin/
	xinstall -m 755 ${worksrcpath}/EudoraTOC.py ${destroot}${prefix}/bin/
}
