mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
ce02e6a947
o Add missing file. [2] Pointy hat to: myself [1][2] Reported by: QAT [2]
45 lines
987 B
Makefile
45 lines
987 B
Makefile
# New ports collection makefile for: tpm-emulator
|
|
# Date created: 18 Sep 2007
|
|
# Whom: Sebastian Schuetz <sschuetz@fhm.edu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tpm-emulator
|
|
PORTVERSION= 0.7.1
|
|
CATEGORIES= emulators security
|
|
MASTER_SITES= BERLIOS/${PORTNAME}
|
|
DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
|
|
|
|
MAINTAINER= nork@freebsd.org
|
|
COMMENT= Trusted Platform Module (TPM) emulator
|
|
|
|
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
|
|
|
|
USE_CMAKE= YES
|
|
USE_LDCONFIG= YES
|
|
MAKE_JOBS_SAFE= YES
|
|
|
|
CONFLICTS= trousers-tddl*
|
|
|
|
WANTLIB= c
|
|
CMAKE_VERBOSE= YES
|
|
CMAKE_SOURCE_PATH= ${WRKSRC}
|
|
NO_CONFIGURE= YES
|
|
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
|
|
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
|
|
CONFIGURE_WRKSRC= ${CMAKE_SOURCE_PATH}/build
|
|
|
|
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
|
|
-DCMAKE_EXE_LINKER_FLAGS="-L${LOCALBASE}/lib"
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/README
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME:S/-/_/}-${PORTVERSION}
|
|
|
|
post-patch:
|
|
@${MKDIR} ${WRKSRC}/build
|
|
|
|
.include <bsd.port.mk>
|