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

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Email-Abstract 3.010
revision            0
maintainers         nomaintainer
license             {Artistic-1 GPL}

description         Email::Abstract - unified interface to mail representations

long_description    Email::Abstract provides module writers with the ability \
                    to write simple, representation-independent mail handling \
                    code. For instance, in the cases of Mail::Thread or \
                    Mail::ListDetector, a key part of the code involves \
                    reading the headers from a mail object. Where previously \
                    one would either have to specify the mail class required, \
                    or to build a new object from scratch, Email::Abstract can \
                    be used to perform certain simple operations on an object \
                    regardless of its underlying representation. \
                    \
                    Email::Abstract currently supports Mail::Internet, \
                    MIME::Entity, Mail::Message, Email::Simple and \
                    Email::MIME. Other representations are encouraged to \
                    create their own Email::Abstract::* class by copying \
                    Email::Abstract::EmailSimple. All modules installed under \
                    the Email::Abstract hierarchy will be automatically \
                    picked up and used.

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  2448a6cb04a7eae3a79f76c24e015786a89f5ce8 \
                    sha256  8c12f68b5974cafc99d74942abefc8597193035aafd2763128e6aaafca4b7ed6 \
                    size    28386

if {${perl5.major} != ""} {
    depends_lib-append  port:p${perl5.major}-email-simple \
                        port:p${perl5.major}-module-pluggable \
                        port:p${perl5.major}-mro-compat \
                        port:p${perl5.major}-scalar-list-utils
}
