# $Id: Portfile 82665 2011-08-17 18:49:01Z jmr@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.setup         MHonArc 2.6.16
revision            2
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

if {${perl5.major} != ""} {
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\
            -perl ${perl5.bin}"
}
}
