1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/security/seal/Makefile
2023-01-10 18:54:36 +08:00

29 lines
776 B
Makefile

PORTNAME= seal
DISTVERSION= 4.1.1
CATEGORIES= security
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= Microsoft Simple Encrypted Arithmetic Library
WWW= https://www.microsoft.com/en-us/research/project/microsoft-seal/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake:testing compiler:c++17-lang
USE_GITHUB= yes
GH_ACCOUNT= Microsoft
GH_PROJECT= SEAL
USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_OFF= SEAL_USE_MSGSL SEAL_USE_ZLIB SEAL_USE_ZSTD # project clones repositories instead of using exrernal packages, see https://github.com/microsoft/SEAL/issues/329
CMAKE_TESTING_ON= SEAL_BUILD_TESTS
CMAKE_TESTING_TARGET= gtest
PLIST_SUB+= VERSION=${DISTVERSION} VER=${DISTVERSION:R}
post-test: # run tests
@cd ${BUILD_WRKSRC} && bin/sealtest
.include <bsd.port.mk>