# $Id: Portfile 50980 2009-05-14 19:41:55Z and.damore@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0
perl5.setup         MHonArc 2.6.16
maintainers         markd 
description         MHonArc - mail and news munging
long_description    A Perl program for converting mail or news messages into \
                    HTML archives, converting individual messages into \
                    HTML documents, and also MIME support.

platforms           darwin

checksums           md5 4ea5bd6630ffdae157a751ca97bc3ec3

homepage        http://www.mhonarc.org/
master_sites            http://www.cpan.org/modules/by-authors/Earl_Hood

use_configure       no
build {}

destroot {
        xinstall -m 755 -d ${destroot}${perl5.archlib}
                system "cd ${worksrcpath} && ${perl5.bin} install.me \
            -prefix=${destroot} \
            -binpath ${destroot}${prefix}/bin \
            -libpath ${destroot}${perl5.archlib} \
            -docpath ${destroot}${prefix}/share/doc/mhonarc \
            -manpath ${destroot}${prefix}/man"
}

