2013-06-02 21:06:44 +02:00
|
|
|
# Created by: Roman Bogorodskiy <novel@FreeBSD.org>
|
2011-07-26 13:34:04 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= p11-kit
|
2013-03-10 19:01:17 +01:00
|
|
|
PORTVERSION= 0.16.3
|
2011-07-26 13:34:04 +02:00
|
|
|
CATEGORIES= security devel
|
|
|
|
MASTER_SITES= http://p11-glue.freedesktop.org/releases/
|
|
|
|
|
|
|
|
MAINTAINER= novel@FreeBSD.org
|
2012-08-02 11:02:43 +02:00
|
|
|
COMMENT= Library for loading and enumerating of PKCS\#11 modules
|
2011-07-26 13:34:04 +02:00
|
|
|
|
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
|
|
|
|
LIB_DEPENDS= tasn1:${PORTSDIR}/security/libtasn1
|
|
|
|
|
2011-07-26 13:34:04 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-03-10 19:01:17 +01:00
|
|
|
CONFIGURE_ARGS= --disable-nls --enable-debug=no \
|
|
|
|
--with-system-anchors=${LOCALBASE}/share/certs/ca-root-nss.crt
|
2011-09-07 06:07:06 +02:00
|
|
|
MAKE_ENV= exampledir=${EXAMPLESDIR}
|
2011-07-26 13:34:04 +02:00
|
|
|
|
2013-06-02 21:06:44 +02:00
|
|
|
USES= pkgconfig
|
2011-07-30 17:26:49 +02:00
|
|
|
USE_AUTOTOOLS= libtool
|
2011-07-26 13:34:04 +02:00
|
|
|
USE_GNOME= ltverhack gnomehack
|
|
|
|
USE_LDCONFIG= yes
|
2013-03-11 19:01:08 +01:00
|
|
|
USE_GMAKE= yes
|
2011-07-26 13:34:04 +02:00
|
|
|
|
2013-09-21 00:55:24 +02:00
|
|
|
NO_STAGE= yes
|
2011-09-07 06:07:06 +02:00
|
|
|
pre-configure:
|
|
|
|
@${REINPLACE_CMD} -e \
|
2011-09-16 04:27:45 +02:00
|
|
|
's|exampledir = $$(p11_system_config)|exampledir = ${EXAMPLESDIR}|' \
|
2011-09-07 06:07:06 +02:00
|
|
|
${WRKSRC}/${PORTNAME}/Makefile.in
|
|
|
|
|
2011-07-26 13:34:04 +02:00
|
|
|
.include <bsd.port.mk>
|