# -*- 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         Crypt-OpenSSL-RSA 0.33
revision            0
categories-append   security
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         RSA encoding and decoding, using the openSSL libraries
long_description    Crypt::OpenSSL::RSA provides for decryption, \
                    signatures, and signature verification.a

platforms           darwin

checksums           rmd160  114c3814f5892eed44ed7fd670251be6364a4ee3 \
                    sha256  bdbe630f6d6f540325746ad99977272ac8664ff81bd19f0adaba6d6f45efd864 \
                    size    29010

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-crypt-openssl-guess

    depends_lib-append \
                    port:p${perl5.major}-crypt-openssl-random \
                    port:p${perl5.major}-crypt-openssl-bignum \
                    path:lib/libssl.dylib:openssl
}