# $Id: Portfile,v 1.4 2006/08/08 07:07:57 yeled Exp $

PortSystem          1.0
PortGroup           perl5 1.0
perl5.setup         MHonArc 2.6.15
maintainers         markd@opendarwin.org yeled@opendarwin.org
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 fa90cc83645125df476232eed2422656

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"
}

