aboutsummaryrefslogtreecommitdiffstats
path: root/security/libu2f-host/Makefile
blob: eeb08da77b9640901cc476f000c4ac5e591f580c (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

LICENSE=    LGPL21+ GPLv3+
LICENSE_COMB=   multi

BUILD_DEPENDS=  gengetopt:devel/gengetopt \
        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
INSTALL_TARGET= install-strip

USE_GITHUB= yes
GH_ACCOUNT= Yubico

OPTIONS_DEFINE= DOCS
OPTIONS_SUB=    yes

DOCS_BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc
DOCS_CONFIGURE_ENABLE=  gtk-doc

.include <bsd.port.mk>