# $Id: Portfile 83116 2011-08-25 23:33:07Z dports@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           Crypt-SSLeay 0.58
revision              3
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             md5 fbf3d12e58462cee00ea63239c0b13c7 \
                      sha1 62f31de72a1ccd9608d70ac967ba888bd48054ca

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