# -*- 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 119049 2014-04-15 20:43:24Z 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-Sender 1.300011
#perl5.setup         Email-Sender 1.300011 ../by-authors/id/R/RJ/RJBS
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Email::Sender - a library for sending email
long_description    Email::Sender replaces the old and sometimes problematic \
                    Email::Send library, which did a decent job at handling \
                    very simple email sending tasks, but was not suitable for \
                    serious use, for a variety of reasons.

platforms           darwin
supported_archs     noarch

checksums           rmd160 cba65b20308338178461c2afe444277dc71a71e2 \
                    sha256 f7d372b4199b561ea2f36e821e628eb7a6d9e8bf07cde2ba640858ad7126caa8

if {${perl5.major} != ""} {
    depends_build-append port:p${perl5.major}-capture-tiny

    depends_lib-append  port:p${perl5.major}-email-abstract \
                        port:p${perl5.major}-email-address \
                        port:p${perl5.major}-email-simple \
                        port:p${perl5.major}-list-moreutils \
                        port:p${perl5.major}-module-runtime \
                        port:p${perl5.major}-moo \
                        port:p${perl5.major}-moox-types-mooselike \
                        port:p${perl5.major}-sub-exporter \
                        port:p${perl5.major}-throwable \
                        port:p${perl5.major}-try-tiny
}
