# -*- 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
# $Id: Portfile 119046 2014-04-15 20:27:27Z macsforever2000@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.8 5.10 5.12 5.14 5.16 5.18
perl5.setup         Email-Abstract 3.007

platforms           darwin
maintainers         nomaintainer
license             {Artistic-1 GPL}

supported_archs     noarch

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.

checksums           rmd160 06694a7e2a769e550e427829ecbf12aace665e34 \
                    sha256 10915aa3a558f6ba9c51a13ea1c135aed765e185a14cd2cfc9b434599cf5eaa8

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