# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                archivemail
version             0.9.0
categories          mail python
platforms           any
license             GPL-2+
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

supported_archs         noarch
python.default_version  27

master_sites        sourceforge
checksums           rmd160  7d524d7c3b4e089cb50a6c3637254931ccb06b72 \
                    sha256  4b430e2fba6f24970a67bd61eef39d7eae8209c7bef001196b997be1916fc663

destroot.destdir    --prefix=${prefix} \
                    --root=${destroot}

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