summaryrefslogtreecommitdiff
path: root/security/libyubikey/Makefile
blob: 5ae03cc6f4043439fe84bccd7d94feed4bf42d4c (plain)
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
34
35
36
37

PORTNAME=	libyubikey
PORTVERSION=	1.13
CATEGORIES=	security devel
MASTER_SITES=	https://developers.yubico.com/yubico-c/Releases/

MAINTAINER=	matt@mjslabs.com
COMMENT=	Library for decrypting and parsing YubiKey One-Time Passwords

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		libtool
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip
TEST_TARGET=	check

PLIST_FILES=	bin/modhex \
		bin/ykgenerate \
		bin/ykparse \
		include/yubikey.h \
		lib/libyubikey.so \
		lib/libyubikey.so.0 \
		lib/libyubikey.so.0.1.7 \
		man/man1/modhex.1.gz \
		man/man1/ykgenerate.1.gz \
		man/man1/ykparse.1.gz

MAKE_JOBS_UNSAFE=	yes

OPTIONS_DEFINE=		STATIC

STATIC_CONFIGURE_ENABLE=	static
STATIC_PLIST_FILES=		lib/libyubikey.a

.include <bsd.port.mk>