Lines 1-6
Link Here
|
1 |
PORTNAME= foundationdb-devel |
1 |
PORTNAME= foundationdb-devel |
2 |
DISTVERSION= 7.0.0 |
2 |
DISTVERSION= 7.1.23 |
3 |
PORTREVISION= 2 |
|
|
4 |
CATEGORIES= databases |
3 |
CATEGORIES= databases |
5 |
|
4 |
|
6 |
# PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/pull/ |
5 |
# PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/pull/ |
Lines 15-27
LICENSE_FILE= ${WRKSRC}/LICENSE
Link Here
|
15 |
ONLY_FOR_ARCHS= aarch64 amd64 |
14 |
ONLY_FOR_ARCHS= aarch64 amd64 |
16 |
ONLY_FOR_ARCHS_REASON= not yet ported to anything else |
15 |
ONLY_FOR_ARCHS_REASON= not yet ported to anything else |
17 |
|
16 |
|
18 |
BUILD_DEPENDS= ${LOCALBASE}/include/doctest/doctest.h:devel/doctest \ |
17 |
BUILD_DEPENDS= ${LOCALBASE}/include/toml.hpp:devel/toml11 \ |
19 |
${LOCALBASE}/include/toml.hpp:devel/toml11 \ |
|
|
20 |
bash:shells/bash \ |
18 |
bash:shells/bash \ |
21 |
git:devel/git |
19 |
git:devel/git |
22 |
|
20 |
|
23 |
LIB_DEPENDS= libboost_system.so:devel/boost-libs \ |
21 |
LIB_DEPENDS= libboost_system.so:devel/boost-libs \ |
24 |
libeio.so:devel/libeio |
22 |
libeio.so:devel/libeio \ |
|
|
23 |
libmsgpackc.so:devel/msgpack-c |
25 |
|
24 |
|
26 |
USES= cmake compiler:c++17-lang mono:build python:build shebangfix \ |
25 |
USES= cmake compiler:c++17-lang mono:build python:build shebangfix \ |
27 |
ssl |
26 |
ssl |
Lines 31-38
GH_PROJECT= foundationdb
Link Here
|
31 |
USE_LDCONFIG= yes |
30 |
USE_LDCONFIG= yes |
32 |
USE_RC_SUBR= foundationdb |
31 |
USE_RC_SUBR= foundationdb |
33 |
|
32 |
|
34 |
CONFLICTS_INSTALL= foundationdb |
|
|
35 |
|
36 |
SHEBANG_FILES= bindings/c/generate_asm.py |
33 |
SHEBANG_FILES= bindings/c/generate_asm.py |
37 |
|
34 |
|
38 |
CMAKE_ARGS= -DOPENSSL_ROOT_DIR=${OPENSSLLIB} |
35 |
CMAKE_ARGS= -DOPENSSL_ROOT_DIR=${OPENSSLLIB} |
Lines 40-55
CMAKE_OFF= DISABLE_TLS USE_DTRACE USE_JEMALLOC WITH_CONTRIB WITH_FLOWBENCH
Link Here
|
40 |
|
37 |
|
41 |
MAKE_ENV= MONO_REGISTRY_PATH=/tmp/registry |
38 |
MAKE_ENV= MONO_REGISTRY_PATH=/tmp/registry |
42 |
|
39 |
|
|
|
40 |
CONFLICTS_INSTALL= foundationdb |
41 |
|
42 |
FOUNDATIONDB_USER?= foundationdb |
43 |
FOUNDATIONDB_GROUP?= foundationdb |
44 |
FOUNDATIONDB_ETCDIR?= ${PREFIX}/etc/foundationdb |
45 |
FOUNDATIONDB_DBDIR?= /var/db/foundationdb |
46 |
FOUNDATIONDB_LOGDIR?= /var/log/foundationdb |
47 |
|
48 |
SUB_FDB= FOUNDATIONDB_DBDIR=${FOUNDATIONDB_DBDIR} \ |
49 |
FOUNDATIONDB_ETCDIR=${FOUNDATIONDB_ETCDIR} \ |
50 |
FOUNDATIONDB_GROUP=${FOUNDATIONDB_GROUP} \ |
51 |
FOUNDATIONDB_LOGDIR=${FOUNDATIONDB_LOGDIR} \ |
52 |
FOUNDATIONDB_USER=${FOUNDATIONDB_USER} |
53 |
|
54 |
SUB_FILES= foundationdb.conf |
55 |
SUB_LIST= ${SUB_FDB} |
56 |
|
43 |
USERS= foundationdb |
57 |
USERS= foundationdb |
44 |
GROUPS= foundationdb |
58 |
GROUPS= foundationdb |
45 |
DBDIR?= /var/db/foundationdb |
|
|
46 |
LOGDIR?= /var/log/foundationdb |
47 |
|
59 |
|
48 |
SUB_FDB= DB_USER=${USERS} DB_GROUP=${GROUPS} DB_DIR=${DBDIR} \ |
60 |
PLIST_SUB= ${SUB_FDB} |
49 |
LOG_DIR=${LOGDIR} |
|
|
50 |
SUB_FILES+= foundationdb.conf |
51 |
SUB_LIST+= ${SUB_FDB} |
52 |
PLIST_SUB+= ${SUB_FDB} |
53 |
|
61 |
|
54 |
post-patch: |
62 |
post-patch: |
55 |
${REINPLACE_CMD} 's/OPENSSL_USE_STATIC_LIBS TRUE/OPENSSL_USE_STATIC_LIBS FALSE/' \ |
63 |
${REINPLACE_CMD} 's/OPENSSL_USE_STATIC_LIBS TRUE/OPENSSL_USE_STATIC_LIBS FALSE/' \ |
Lines 81-90
do-install:
Link Here
|
81 |
${INSTALL_DATA} ${WRKDIR}/.build/bindings/c/foundationdb/fdb_c_options.g.h \ |
89 |
${INSTALL_DATA} ${WRKDIR}/.build/bindings/c/foundationdb/fdb_c_options.g.h \ |
82 |
${STAGEDIR}/${PREFIX}/include/foundationdb/ |
90 |
${STAGEDIR}/${PREFIX}/include/foundationdb/ |
83 |
# runtime related |
91 |
# runtime related |
84 |
${MKDIR} ${STAGEDIR}${DBDIR} \ |
92 |
${MKDIR} ${STAGEDIR}${FOUNDATIONDB_ETCDIR} |
85 |
${STAGEDIR}${LOGDIR} \ |
93 |
${MKDIR} ${STAGEDIR}${FOUNDATIONDB_DBDIR} |
86 |
${STAGEDIR}${PREFIX}/etc/foundationdb |
94 |
${MKDIR} ${STAGEDIR}${FOUNDATIONDB_LOGDIR} |
87 |
${INSTALL_DATA} ${WRKDIR}/foundationdb.conf \ |
95 |
${INSTALL_DATA} ${WRKDIR}/foundationdb.conf \ |
88 |
${STAGEDIR}${PREFIX}/etc/foundationdb/foundationdb.conf.sample |
96 |
${STAGEDIR}${FOUNDATIONDB_ETCDIR}/foundationdb.conf.sample |
89 |
|
97 |
|
90 |
.include <bsd.port.mk> |
98 |
.include <bsd.port.mk> |