52 lines
1.1 KiB
Makefile
Executable File
52 lines
1.1 KiB
Makefile
Executable File
# $OpenBSD: Makefile,v 1.12 2012/08/19 11:10:43 ajacoutot Exp $
|
|
|
|
COMMENT= library for loading and enumurating of PKCS\#11 modules
|
|
|
|
DISTNAME= p11-kit-0.13
|
|
|
|
CATEGORIES= security
|
|
|
|
SHARED_LIBS += p11-kit 0.0 # 0.0
|
|
|
|
HOMEPAGE= http://p11-glue.freedesktop.org/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# BSD-like
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += c pthread
|
|
|
|
MASTER_SITES= ${HOMEPAGE}releases/
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--disable-gtk-doc \
|
|
--with-module-path=${PREFIX}/lib/pkcs11
|
|
|
|
# no translation yet
|
|
CONFIGURE_ARGS += --disable-nls
|
|
|
|
FAKE_FLAGS= exampledir=${PREFIX}/share/examples/p11-kit/pkcs11
|
|
|
|
### https://bugs.freedesktop.org/show_bug.cgi?id=53706 ###
|
|
AUTOCONF_VERSION= 2.68
|
|
AUTOMAKE_VERSION= 1.11
|
|
BUILD_DEPENDS += devel/autoconf/${AUTOCONF_VERSION} \
|
|
devel/automake/${AUTOMAKE_VERSION} \
|
|
devel/libtool
|
|
|
|
pre-configure:
|
|
@cd ${WRKSRC} && \
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
|
autoreconf -i
|
|
######
|
|
|
|
.include <bsd.port.mk>
|