freebsd-ports/security/p11-kit/Makefile
Roman Bogorodskiy f9ae06232f - Update to 0.20.2
- Convert to new-style LIB_DEPENDS
- Drop USE_AUTOTOOLS, USE_GMAKE and USE_GMAKE in favor of USES
2014-03-02 16:24:26 +00:00

31 lines
998 B
Makefile

# Created by: Roman Bogorodskiy <novel@FreeBSD.org>
# $FreeBSD$
PORTNAME= p11-kit
PORTVERSION= 0.20.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:${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 \
libffi.so:${PORTSDIR}/devel/libffi
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls --enable-debug=no \
--with-trust-paths=${LOCALBASE}/share/certs/ca-root-nss.crt
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
MAKE_ENV= exampledir=${STAGEDIR}${EXAMPLESDIR}
USES= gmake pkgconfig pathfix libtool
USE_LDCONFIG= yes
pre-configure:
@${REINPLACE_CMD} -e \
's|exampledir = $$(p11_system_config)|exampledir = ${EXAMPLESDIR}|' \
${WRKSRC}/${PORTNAME}/Makefile.in
.include <bsd.port.mk>