1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/security/libnitrokey/Makefile
Kurt Jaeger 71ee890d3b security/libnitrokey: update 3.6-RC1 -> 3.6
- LibremKey and FreeBSD support. Extended API
- also add test target

PR:		249481
Submitted by:	Thibault Payet <monwarez@mailoo.org> (maintainer)
Reviewed by:	daniel.engberg.lists@pyret.net
2020-09-25 14:52:56 +00:00

30 lines
716 B
Makefile

# Created by: Thibault Payet <monwarez@mailoo.org>
# $FreeBSD$
PORTNAME= libnitrokey
DISTVERSIONPREFIX= v
DISTVERSION= 3.6
CATEGORIES= security
MASTER_SITES= https://github.com/Nitrokey/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
MAINTAINER= monwarez@mailoo.org
COMMENT= Libnitrokey is a project to communicate with Nitrokey devices
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libhidapi.so:comms/hidapi \
libudev.so:devel/libudev-devd
USES= cmake compiler:c++14-lang pkgconfig
USE_LDCONFIG= yes
TEST_TARGET= test
OPTIONS_DEFINE= TEST
TEST_CMAKE_BOOL= COMPILE_OFFLINE_TESTS
TEST_BUILD_DEPENDS= ${LOCALBASE}/include/catch2/catch.hpp:devel/catch
.include <bsd.port.mk>