# -*- 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 # $Id$ PortSystem 1.0 PortGroup github 1.0 github.setup Yubico yubico-piv-tool ae63ca7ce854c0e03cf30a74d191b01ea63529cd version 1.4.3-pre-20161003 categories security platforms darwin license BSD-2-Clause maintainers schenkel.net:leonardo openmaintainer description Command line tool for the YubiKey PIV application long_description \ The Yubico PIV tool is used for interacting with the Privilege and \ Identification Card (PIV) application on a YubiKey.\ With it you may generate keys on the device, importing keys and \ certificates, and create certificate requests, and other operations. \ A shared library and a command-line tool is included. homepage https://developers.yubico.com/yubico-piv-tool checksums rmd160 cb12eb38294b6e742b227d87b7de3ca4205f91e7 \ sha256 1342bb25f43ed7d3857d812cda1ce46b72786a063c1eb632c583e657f481cb72 depends_build port:gengetopt port:help2man depends_lib path:lib/libssl.dylib:openssl patchfiles patch-num-slots.diff patch.args -p1 use_autoreconf yes post-destroot { # symlink PKCS#11 module in the standard pkcs11 module directory set p11kit_module_path ${prefix}/lib/pkcs11 xinstall -d ${destroot}${p11kit_module_path} ln -s ${prefix}/lib/libykcs11.dylib \ ${destroot}${p11kit_module_path}/libykcs11.so # register PKCS#11 module so it will be auto-discovered by p11-kit set p11kit_module_configs ${prefix}/share/p11-kit/modules xinstall -d ${destroot}${p11kit_module_configs} xinstall ${filespath}/p11-kit.module \ ${destroot}${p11kit_module_configs}/${name}.module }