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

name                    gnupg-pkcs11-scd
github.setup            alonbl ${name} 0.10.0 ${name}-

categories              security
license                 BSD
maintainers             {@sstallion gmail.com:sstallion} openmaintainer

description             GnuPG PKCS#11 Smart-Card Daemon
long_description        gnupg-pkcs11 is a project to implement a BSD-licensed           \
                        smart-card daemon to enable the use of PKCS#11 tokens with      \
                        GnuPG

github.tarball_from     releases
use_bzip2               yes

checksums               rmd160  1a8781ce0c017731b81fda7a3660fb3d9a10c313 \
                        sha256  29bf29e7780f921c6d3a11f608e2b0483c1bb510c5afa8473090249dd57c5249 \
                        size    149036

depends_lib             port:gnupg2         \
                        port:libgcrypt      \
                        port:pkcs11-helper

configure.args-append   --with-libgpg-error-prefix=${prefix}    \
                        --with-libassuan-prefix=${prefix}       \
                        --with-libgcrypt-prefix=${prefix}
