blob: d2953236cc7eb27c2bdff00362c49f54e4620aa2 (
plain) (
blame)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
PORTNAME= pkcs11-helper
PORTVERSION= 1.29.0
PORTREVISION= 3
CATEGORIES= security devel
MASTER_SITES= https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-${PORTVERSION}/
PATCH_SITES= https://github.com/OpenSC/pkcs11-helper/commit/
PATCHFILES= 98b16208d5c7d27e1f15835f3d4961349f425351.diff:-p1
MAINTAINER= ale@FreeBSD.org
COMMENT= Helper library for multiple PKCS\#11 providers
WWW= https://github.com/OpenSC/pkcs11-helper
LICENSE= BSD3CLAUSE GPLv2
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/COPYING.BSD
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPL
GNU_CONFIGURE= yes
USES= libtool:keepla pathfix pkgconfig tar:bzip2 ssl
USE_LDCONFIG= yes
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto"
CONFIGURE_ARGS= --disable-crypto-engine-gnutls \
--disable-crypto-engine-nss \
--disable-crypto-engine-polarssl \
--disable-crypto-engine-mbedtls \
--disable-crypto-engine-cryptoapi
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS DOXYGEN
DOXYGEN_CONFIGURE_ENABLE= doc
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_USES= gmake
DOXYGEN_IMPLIES= DOCS
PORTDOCS= *
post-patch:
@${REINPLACE_CMD} 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \
${WRKSRC}/configure
.include <bsd.port.mk>
|