summaryrefslogtreecommitdiff
path: root/security/yubico-piv-tool/Makefile
blob: 6eb4ae527e5c726b50c61f795959caf6ec6629a7 (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
# $FreeBSD$

PORTNAME=	yubico-piv-tool
PORTVERSION=	1.4.1
#PORTREVISION=	0
CATEGORIES=	security
MASTER_SITES=	https://developers.yubico.com/yubico-piv-tool/Releases/

MAINTAINER=	ume@FreeBSD.org
COMMENT=	Yubico PIV tool

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libpcsclite.so:devel/pcsc-lite

USES=		libtool pathfix pkgconfig ssl
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	OPENSSL_CFLAGS="${OPENSSL_CFLAGS}" \
		OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto"
OPENSSL_CFLAGS=	-I${OPENSSLINC}

PLIST_FILES=	bin/yubico-piv-tool \
		include/ykcs11/ykcs11-version.h \
		include/ykpiv/ykpiv-version.h \
		include/ykpiv/ykpiv.h \
		lib/libykcs11.a \
		lib/libykcs11.so \
		lib/libykcs11.so.1 \
		lib/libykcs11.so.1.3.3 \
		lib/libykpiv.a \
		lib/libykpiv.so \
		lib/libykpiv.so.1 \
		lib/libykpiv.so.1.3.3 \
		libdata/pkgconfig/ykcs11.pc \
		libdata/pkgconfig/ykpiv.pc \
		man/man1/yubico-piv-tool.1.gz

.include <bsd.port.mk>