mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
e5f0484bd7
Reported by: portscout
33 lines
766 B
Makefile
33 lines
766 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= helib
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.3.0
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Implementation of homomorphic encryption
|
|
|
|
LICENSE= APACHE20
|
|
|
|
BROKEN_i386= no matching function for call to 'assertEq', see https://github.com/homenc/HElib/issues/342
|
|
|
|
LIB_DEPENDS= libgmp.so:math/gmp \
|
|
libntl.so:math/ntl
|
|
|
|
USES= cmake compiler:c++14-lang
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= homenc
|
|
GH_PROJECT= HElib
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ON= BUILD_SHARED
|
|
|
|
do-test:
|
|
@cd ${BUILD_WRKSRC} && \
|
|
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DENABLE_TEST:BOOL=ON ${CMAKE_SOURCE_PATH} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
|
|
|
|
.include <bsd.port.mk>
|