aboutsummaryrefslogtreecommitdiff
path: root/security/tpm2-tools/Makefile
blob: 99cb1ffb5ab0101614fb680f5f063d6cad55bc15 (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
PORTNAME=	tpm2-tools
DISTVERSION=	5.6
PORTREVISION=	2
CATEGORIES=	security
MASTER_SITES=	https://github.com/tpm2-software/tpm2-tools/releases/download/${DISTVERSION}/

MAINTAINER=	tstruk@gmail.com
COMMENT=	TPM2 tools
WWW=		https://github.com/tpm2-software/tpm2-tools

LICENSE=	BSD2CLAUSE

LIB_DEPENDS=	libtss2-esys.so:security/tpm2-tss \
		libcurl.so:ftp/curl \
		libuuid.so:misc/libuuid

USES=		compiler:c11 gmake libtool pkgconfig ssl

GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ENV=	CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto"
CONFIGURE_ARGS=	--disable-hardening

.include <bsd.port.mk>