# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0
PortGroup           openssl 1.0

github.setup        OpenSC pkcs11-helper 1.29.0 pkcs11-helper-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0

openssl.branch      1.1

categories          security
platforms           darwin freebsd
license             GPL-2+ BSD
maintainers         nomaintainer

description         Library that simplifies the interaction with PKCS#11 providers for end-user \
                    applications using a simple API and optional OpenSSL engine
long_description    {*}${description}

checksums           rmd160  63ed90ffc1b7df6b84ce2004e11c7ed199dc24ff \
                    sha256  963677814c58caa36b661c11dccdd83d3910b2cc11780a795e3d46211686c70c \
                    size    124445

depends_build       port:pkgconfig
depends_lib         path:lib/pkgconfig/gnutls.pc:gnutls

use_autoreconf      yes

patchfiles          patch-nssfix.diff