summaryrefslogtreecommitdiff
path: root/security/libyubikey/Makefile
blob: 4b1e7116cef25820b2d917a26ef4380df395f670 (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
34
35
36
37
38
39
# $FreeBSD$

PORTNAME=	libyubikey
PORTVERSION=	1.13
CATEGORIES=	security devel
MASTER_SITES=	http://opensource.yubico.com/yubico-c/releases/

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

LICENSE=	BSD2CLAUSE

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

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

regression-test: build
	@(cd ${WRKSRC}; ${MAKE} check)

.include <bsd.port.mk>