freebsd-ports/security/p11-kit/Makefile

34 lines
995 B
Makefile
Raw Normal View History

# Created by: Roman Bogorodskiy <novel@FreeBSD.org>
# $FreeBSD$
PORTNAME= p11-kit
2013-11-03 11:49:05 +01:00
PORTVERSION= 0.20.1
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
2013-03-10 19:01:17 +01:00
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
2013-11-03 11:49:05 +01:00
LIB_DEPENDS= tasn1:${PORTSDIR}/security/libtasn1 \
ffi:${PORTSDIR}/devel/libffi
2013-03-10 19:01:17 +01:00
GNU_CONFIGURE= yes
2013-03-10 19:01:17 +01:00
CONFIGURE_ARGS= --disable-nls --enable-debug=no \
2013-11-03 11:49:05 +01:00
--with-trust-paths=${LOCALBASE}/share/certs/ca-root-nss.crt
MAKE_ENV= exampledir=${STAGEDIR}${EXAMPLESDIR}
USES= pkgconfig
2011-07-30 17:26:49 +02:00
USE_AUTOTOOLS= libtool
USE_GNOME= ltverhack gnomehack
USE_LDCONFIG= yes
2013-03-11 19:01:08 +01:00
USE_GMAKE= yes
pre-configure:
@${REINPLACE_CMD} -e \
2011-09-16 04:27:45 +02:00
's|exampledir = $$(p11_system_config)|exampledir = ${EXAMPLESDIR}|' \
${WRKSRC}/${PORTNAME}/Makefile.in
.include <bsd.port.mk>