Lines 1-5
Link Here
|
1 |
PORTNAME= seal |
1 |
PORTNAME= seal |
2 |
DISTVERSION= 3.6.5 |
2 |
DISTVERSION= 3.7.1 |
3 |
CATEGORIES= security |
3 |
CATEGORIES= security |
4 |
|
4 |
|
5 |
MAINTAINER= lwhsu@FreeBSD.org |
5 |
MAINTAINER= lwhsu@FreeBSD.org |
Lines 8-14
COMMENT= Microsoft Simple Encrypted Arithmetic Library
Link Here
|
8 |
LICENSE= MIT |
8 |
LICENSE= MIT |
9 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
9 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
10 |
|
10 |
|
11 |
USES= cmake compiler:c++17-lang |
11 |
USES= cmake:testing compiler:c++17-lang |
12 |
USE_GITHUB= yes |
12 |
USE_GITHUB= yes |
13 |
GH_ACCOUNT= Microsoft |
13 |
GH_ACCOUNT= Microsoft |
14 |
GH_PROJECT= SEAL |
14 |
GH_PROJECT= SEAL |
Lines 16-22
USE_LDCONFIG= yes
Link Here
|
16 |
|
16 |
|
17 |
CMAKE_ON= BUILD_SHARED_LIBS |
17 |
CMAKE_ON= BUILD_SHARED_LIBS |
18 |
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 |
18 |
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 |
|
|
19 |
CMAKE_TESTING_ON= SEAL_BUILD_TESTS |
20 |
CMAKE_TESTING_TARGET= gtest |
19 |
|
21 |
|
20 |
PLIST_SUB+= VERSION=${DISTVERSION} VER=${DISTVERSION:R} |
22 |
PLIST_SUB+= VERSION=${DISTVERSION} VER=${DISTVERSION:R} |
21 |
|
23 |
|
|
|
24 |
post-test: # run tests |
25 |
@cd ${BUILD_WRKSRC} && bin/sealtest |
26 |
|
22 |
.include <bsd.port.mk> |
27 |
.include <bsd.port.mk> |