aboutsummaryrefslogtreecommitdiff
path: root/security/libu2f-host/Makefile
blob: 49d9f3a36ecb5580cc14f379fe7e1297636d224c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
PORTNAME=	libu2f-host
PORTVERSION=	1.1.10
DISTVERSIONPREFIX=	${PORTNAME}-
PORTREVISION=	1
CATEGORIES=	security devel

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Yubico Universal 2nd Factor (U2F) Host C Library
WWW=		https://developers.yubico.com/libu2f-host/

LICENSE=	LGPL21+ GPLv3+
LICENSE_COMB=	multi

BUILD_DEPENDS=	gengetopt:devel/gengetopt \
		gtk-doc>0:textproc/gtk-doc \
		help2man:misc/help2man
LIB_DEPENDS=	libhidapi.so:comms/hidapi \
		libjson-c.so:devel/json-c
RUN_DEPENDS=	${LOCALBASE}/etc/devd/u2f.conf:security/u2f-devd

USES=	autoreconf pkgconfig gmake libtool
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	-enable-gtk-doc
INSTALL_TARGET=	install-strip

USE_GITHUB=	yes
GH_ACCOUNT=	Yubico

OPTIONS_DEFINE=	DOCS
OPTIONS_SUB=	yes

.include <bsd.port.mk>