1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/security/p11-kit/Makefile
2020-04-14 11:10:21 +00:00

37 lines
1.0 KiB
Makefile

# Created by: Roman Bogorodskiy <novel@FreeBSD.org>
# $FreeBSD$
PORTNAME= p11-kit
PORTVERSION= 0.23.20
CATEGORIES= security devel
MASTER_SITES= https://github.com/p11-glue/p11-kit/releases/download/${PORTVERSION}/
MAINTAINER= novel@FreeBSD.org
COMMENT= Library for loading and enumerating of PKCS\#11 modules
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
BUILD_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
LIB_DEPENDS= libtasn1.so:security/libtasn1 \
libffi.so:devel/libffi
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls --enable-debug=no \
--with-trust-paths=${LOCALBASE}/share/certs/ca-root-nss.crt
MAKE_ENV= exampledir=${STAGEDIR}${EXAMPLESDIR}
INSTALL_TARGET= install-strip
USES= tar:xz gmake libtool pathfix pkgconfig
USE_LDCONFIG= yes
TEST_TARGET= check
pre-configure:
@${REINPLACE_CMD} -e \
's|exampledir = $$(p11_system_config)|exampledir = ${EXAMPLESDIR}|' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>