2023-10-23 00:20:04 +08:00
|
|
|
# -*- 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 cmake 1.1
|
|
|
|
|
PortGroup github 1.0
|
|
|
|
|
|
2024-10-29 05:22:12 +08:00
|
|
|
github.setup paolostivanin libcotp 3.1.0 v
|
2023-10-23 00:20:04 +08:00
|
|
|
revision 0
|
|
|
|
|
categories security devel crypto
|
2024-10-29 05:22:12 +08:00
|
|
|
maintainers nomaintainer
|
2023-10-23 00:20:04 +08:00
|
|
|
license Apache-2
|
|
|
|
|
description C library that generates TOTP and HOTP
|
|
|
|
|
long_description {*}${description}
|
2024-10-29 05:22:12 +08:00
|
|
|
checksums rmd160 ca41f32d5a4699c19bcc7e217bf329beeb938f74 \
|
|
|
|
|
sha256 a48bbfd95b7ec12d23e4e2c4a017f8acddecc14bf10541ff144563cee044b39c \
|
|
|
|
|
size 20639
|
2023-10-23 00:20:04 +08:00
|
|
|
github.tarball_from archive
|
|
|
|
|
|
2024-10-29 05:22:12 +08:00
|
|
|
depends_build-append path:bin/pkg-config:pkgconfig
|
2023-10-23 00:20:04 +08:00
|
|
|
depends_lib-append port:libgcrypt
|
|
|
|
|
|
|
|
|
|
compiler.cxx_standard 2011
|
|
|
|
|
|
|
|
|
|
# TODO: tests require criterion, which is not yet in Macports: https://github.com/Snaipe/Criterion
|
|
|
|
|
configure.args-append -DBUILD_TESTING=OFF
|