freebsd-ports/security/opencryptoki/Makefile

40 lines
1 KiB
Makefile
Raw Normal View History

# Created by: Ralf Meister
# $FreeBSD$
PORTNAME= opencryptoki
PORTVERSION= 2.3.2
PORTREVISION= 8
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Open PKCS\#11 implementation library
2013-07-31 13:48:47 +02:00
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:security/trousers
2015-04-18 14:58:34 +02:00
USES= alias autoreconf gmake libtool tar:bzip2
USE_LDCONFIG= ${PREFIX}/lib/opencryptoki
2014-09-23 12:26:29 +02:00
INSTALL_TARGET= install-strip
2015-04-18 14:58:34 +02:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-swtok --enable-tpmtok \
--disable-crtok --disable-aeptok \
--disable-ccatok --disable-bcomtok \
--disable-pkcscca_migrate \
--localstatedir=/var \
--with-pkcs11user=${USERS} \
--with-pkcs11group=${GROUPS}
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_RC_SUBR= pkcsslotd
SUB_FILES= pkg-message
SUB_LIST= USERS=${USERS} GROUPS=${GROUPS}
USERS= _pkcs11
GROUPS= _pkcs11
.include <bsd.port.mk>