bb58924446
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
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>
|