# Created by: Sebastian Schuetz # $FreeBSD: head/emulators/tpm-emulator/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= tpm-emulator PORTVERSION= 0.7.4 PORTREVISION= 2 CATEGORIES= emulators security MASTER_SITES= SF/${PORTNAME}.berlios DISTNAME= ${PORTNAME:S,-,_,}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Trusted Platform Module (TPM) emulator LICENSE= GPLv2 LIB_DEPENDS= libgmp.so:math/gmp CONFLICTS= trousers-tddl-[0-9]* USES= cmake:outsource USE_RC_SUBR= tpmd CONFIGURE_ENV= PREFIX="${PREFIX}" CMAKE_ARGS= -DTPM_INCLUDE_DIRS:STRING="${LOCALBASE}/include" \ -DTDDL_LIBRARY_DIRS:STRING="${LOCALBASE}/lib/tddl_emu" \ -DTPM_LIBRARY_DIRS:STRING="${LOCALBASE}/lib" USE_LDCONFIG= yes USERS= _tss GROUPS= _tss SUB_LIST= USERS="${USERS}" GROUPS="${GROUPS}" PLIST_SUB= USERS="${USERS}" GROUPS="${GROUPS}" post-install: @${MKDIR} ${STAGEDIR}/var/run/tpm @${MKDIR} ${STAGEDIR}${PREFIX}/var/db/tpm .include