216b5a285f
PR: 192062 Exp-run by: antoine Approved by: portmgr (antoine)
32 lines
915 B
Makefile
32 lines
915 B
Makefile
# Created by: Sebastian Schuetz <sschuetz@fhm.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tpm-tools
|
|
PORTVERSION= 1.3.5
|
|
PORTREVISION= 3
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF/trousers/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= Provides a basic set of TPM tools
|
|
|
|
LICENSE= CPL
|
|
LICENSE_NAME= Common Public License
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
LIB_DEPENDS= libtspi.so:${PORTSDIR}/security/trousers
|
|
BUILD_DEPENDS= pkcsconf:${PORTSDIR}/security/opencryptoki
|
|
RUN_DEPENDS= ${LOCALBASE}/sbin/tcsd:${PORTSDIR}/security/trousers \
|
|
${LOCALBASE}/lib/pkcs11/libopencryptoki.so:${PORTSDIR}/security/opencryptoki
|
|
|
|
USES= gettext gmake iconv libtool
|
|
USE_LDCONFIG= YES
|
|
GNU_CONFIGURE= YES
|
|
LIBS+= -L${LOCALBASE}/lib -lintl
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} '/^libtpm_unseal_la_LIBADD =/s/$$/ -lcrypto/' \
|
|
${WRKSRC}/lib/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|