# $Id: Portfile,v 1.2 2005/01/13 19:16:54 mww Exp $

PortSystem			1.0
name				eudora2unix
version				1.3
categories			mail
maintainers			pguyot@kallisys.net
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
# Untested but should probably work on FreeBSD/Linux.
platform			darwin freebsd linux

# 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/
}
