# $Id: Portfile 107595 2013-07-03 02:38:05Z dports@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.branches      5.8 5.10 5.12 5.14 5.16
perl5.setup           Crypt-SSLeay 0.64
maintainers           nomaintainer
license               {Artistic GPL}
description           module to add SSL support to LWP
long_description      ${description}
homepage              http://search.cpan.org/~nanis/${distname}/

platforms             darwin

checksums            rmd160  ea23812768b38265845ff82024218b024b1df38d \
                     sha256  eae61cf7aa64d79385b764010d8d77d09477e034c52fc3dfe68d0a13be78217c

if {${perl5.major} != ""} {
depends_lib-append    port:openssl \
                      port:p${perl5.major}-mime-base64
                      
configure.env         C_INCLUDE_PATH="${prefix}/include" \
                      LIBRARY_PATH="${prefix}/lib"

configure.args-append "--lib=${prefix}"
}
