ports/security/tfhe/Makefile
Max Brazhnikov 43d9a1336d */*: convert to cmake:indirect
Convert bunch of ports to USES=cmake:indirect
2024-04-11 12:16:53 +03:00

31 lines
733 B
Makefile

PORTNAME= tfhe
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.1-30
DISTVERSIONSUFFIX= -ga085efe
CATEGORIES= security
MAINTAINER= yuri@FreeBSD.org
COMMENT= Fast Fully Homomorphic Encryption (FHE) library over the Torus
WWW= https://github.com/tfhe/tfhe
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 # because of arch-specific assembly
TEST_DEPENDS= fftw3>0:math/fftw3 \
googletest>0:devel/googletest
USES= cmake:indirect compiler:c++11-lang gmake localbase:ldflags
USE_GITHUB= yes
USE_LDCONFIG= yes
BINARY_ALIAS= make=${GMAKE}
TEST_TARGET= test # -avx and -fma will fail where no such hardware optimization is available
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
.include <bsd.port.mk>