1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/emulators/tpm-emulator/Makefile
Larry Rosenman 8c5cf0c48c emulators/tpm-emulator: fail to run in arm64 due to improper getopt(3) use
Add patch to fix it.

PR:		219352
Submitted by:	Phillip R. Jaenke <prj@rootwyrm.com>
Approved by:	maintainer timeout.
2017-06-03 21:56:25 +00:00

35 lines
860 B
Makefile

# Created by: Sebastian Schuetz <sschuetz@fhm.edu>
# $FreeBSD$
PORTNAME= tpm-emulator
PORTVERSION= 0.7.4
PORTREVISION= 2
CATEGORIES= emulators security
MASTER_SITES= SF/${PORTNAME}.berlios
DISTNAME= ${PORTNAME:S,-,_,}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Trusted Platform Module (TPM) emulator
LICENSE= GPLv2
LIB_DEPENDS= libgmp.so:math/gmp
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 <bsd.port.mk>