mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
b9daf85bc7
Obtained from: http://bsssd.sourceforge.net/
42 lines
999 B
Makefile
42 lines
999 B
Makefile
# New ports collection makefile for: openssl_tpm_engine
|
|
# Date created: 18 Sep 2007
|
|
# Whom: Sebastian Schuetz <sschuetz@fhm.edu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= openssl_tpm_engine
|
|
PORTVERSION= 0.4.1
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF/trousers/OpenSSL%20TPM%20Engine/${PORTVERSION}
|
|
|
|
MAINTAINER= nork@freebsd.org
|
|
COMMENT= OpenSSL TPM engine
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/sbin/tcsd:${PORTSDIR}/security/trousers
|
|
LIB_DEPENDS= tspi.2:${PORTSDIR}/security/trousers
|
|
|
|
USE_GMAKE= YES
|
|
GNU_CONFIGURE= YES
|
|
MAKE_JOBS_SAFE= YES
|
|
USE_AUTOTOOLS= autoconf:268 libtool:22
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
.include <bsd.port.pre.mk>
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/openssl.cnf.sample
|
|
|
|
post-install:
|
|
@[ -d ${EXAMPLESDIR} ] || ${MKDIR} ${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/openssl.cnf.sample ${EXAMPLESDIR}
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|