summaryrefslogtreecommitdiffstats
path: root/security/ykclient/Makefile
blob: 0b7b699ae48650f056f8aefa02c2ce883c299b9e (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
38
39
40
41
42
# $FreeBSD$

PORTNAME=	ykclient
PORTVERSION=	2.12
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://opensource.yubico.com/yubico-c-client/releases/

MAINTAINER=	matt@mjslabs.com
COMMENT=	Yubico C client library

LICENSE=	BSD2CLAUSE

LIB_DEPENDS=	libcurl.so:ftp/curl
BUILD_DEPENDS=	curl-config:ftp/curl \
		help2man:misc/help2man

GNU_CONFIGURE=	yes
USES=		libtool pkgconfig
USE_LDCONFIG=	yes

PLIST_FILES=	bin/ykclient \
		include/ykclient.h \
		include/ykclient_errors.h \
		include/ykclient_server_response.h \
		include/ykclient_version.h \
		lib/libykclient.so \
		lib/libykclient.so.3 \
		lib/libykclient.so.3.5.2 \
		man/man1/ykclient.1.gz

OPTIONS_DEFINE=	STATIC

STATIC_CONFIGURE_ENABLE=	static
STATIC_PLIST_FILES=		lib/libykclient.a

MAKE_JOBS_UNSAFE=	yes

regression-test: build
	@(cd ${WRKSRC} && ${MAKE_CMD} check)

.include <bsd.port.mk>
OpenPOWER on IntegriCloud