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