# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$

PortSystem          1.0
PortGroup			python25 1.0

name                archivemail
version             0.7.2
revision			1
categories          mail python
platforms           darwin
maintainers         nomaintainer
description         archive and compress old email
long_description    archivemail is a tool written in Python for archiving \
                    and compressing old email in mailboxes. It can move \
                    messages older than the specified number of days to a \
                    separate mbox format mailbox that is compressed with \
                    gzip, or optionally just delete old email.

homepage            http://archivemail.sourceforge.net
master_sites        sourceforge:project/archivemail/archivemail/${version}
checksums           md5 e444424688e6ec063e829176e4eb62e2 \
                    sha1 0ff9b8991b04f09cf9536c45b6f9e05d2427a459 \
                    rmd160 da85dff5114100d76f8f5ac19172d8a557801455

destroot.destdir	--prefix=${prefix} \
					--root=${destroot} \
					--install-data=${destroot}${prefix}/share

post-destroot {
    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -W ${worksrcpath} CHANGELOG FAQ README TODO \
        ${destroot}${prefix}/share/doc/${name}
}