blob: 2e14d8986b2cb466fffbea49898cf408f9d9fda2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Created by: Roman Bogorodskiy <novel@FreeBSD.org>
# $FreeBSD$
PORTNAME= p11-kit
PORTVERSION= 0.23.2
CATEGORIES= security devel
MASTER_SITES= http://p11-glue.freedesktop.org/releases/
MAINTAINER= novel@FreeBSD.org
COMMENT= Library for loading and enumerating of PKCS\#11 modules
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= gmake libtool pathfix pkgconfig
USE_LDCONFIG= yes
pre-configure:
@${REINPLACE_CMD} -e \
's|exampledir = $$(p11_system_config)|exampledir = ${EXAMPLESDIR}|' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>
|