# -*- 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

name                tcl-tls
version             1.7.22
revision            1
categories          devel
license             Tcl/Tk
maintainers         nomaintainer

description         TLS OpenSSL extension to TCL.
long_description \
    TLS is an OpenSSL / RSA-bsafe Tcl extension that provides secure \
    connections on top of the Tcl socket mechanism.

homepage            https://core.tcl-lang.org/tcltls/
master_sites        ${homepage}uv/
distname            tcltls-${version}

checksums           rmd160 a085aab7643aa1e82be2d6db5a06e48439a4879a \
                    sha256 e84e2b7a275ec82c4aaa9d1b1f9786dbe4358c815e917539ffe7f667ff4bc3b4 \
                    size   165206

depends_lib         path:lib/libssl.dylib:openssl port:tcl

patchfiles          configure.patch

configure.args      --exec-prefix=${prefix} \
                    --with-ssl-dir=${prefix} \
                    --with-tcl=${prefix}/lib

livecheck.url       ${homepage}uvlist?byage=1
livecheck.regex     tcltls-(\[\\d\\.\]+\\d+)