1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/security/opencryptoki/Makefile
Tijl Coosemans 3c18c37a10 - Convert security/trousers to USES=libtool and bump dependent ports
- Use standard USE_AUTOTOOLS
- Add INSTALL_TARGET=install-strip
- Drop PTHREAD_LIBS
2014-07-17 15:19:47 +00:00

41 lines
1.1 KiB
Makefile

# 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
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:${PORTSDIR}/security/trousers
USES= gmake libtool tar:bzip2
USE_LDCONFIG= ${PREFIX}/lib/opencryptoki
USE_AUTOTOOLS= libtoolize aclocal autoconf automake
AUTOMAKE_ARGS= -a -c -f
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
PLIST_SUB= RESETPREFIX=${PREFIX}
SUB_FILES= pkg-message
SUB_LIST= USERS=${USERS} GROUPS=${GROUPS}
USERS= _pkcs11
GROUPS= _pkcs11
.include <bsd.port.mk>