Changeset View
Changeset View
Standalone View
Standalone View
databases/arangodb33/Makefile
# Created by: Vlad Galu <galu@packetdam.com> | |||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= arangodb | PORTNAME= arangodb | ||||
DISTVERSIONPREFIX= v | DISTVERSIONPREFIX= v | ||||
DISTVERSION= 3.2.9 | DISTVERSION= 3.3.2 | ||||
CATEGORIES= databases net | CATEGORIES= databases net | ||||
PKGNAMESUFFIX= 32 | PKGNAMESUFFIX= 33 | ||||
MAINTAINER= galu@packetdam.com | MAINTAINER= galu@packetdam.com | ||||
COMMENT= ArangoDB is a distributed NoSQL database with multiple data models | COMMENT= ArangoDB is a distributed NoSQL database with multiple data models | ||||
LICENSE= APACHE20 | LICENSE= APACHE20 | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | |||||
ONLY_FOR_ARCHS= amd64 | ONLY_FOR_ARCHS= amd64 | ||||
ONLY_FOR_ARCHS_REASON= "Only builds on amd64" | ONLY_FOR_ARCHS_REASON= "Only builds on amd64" | ||||
BROKEN_FreeBSD_10= libc++ is too old | BROKEN_FreeBSD_10= libc++ is too old | ||||
USES= gmake ssl cmake:outsource,noninja python:2.7 compiler | |||||
CONFLICTS_INSTALL= arangodb32 | |||||
CONFLICTS_BUILD= v8 | |||||
USES= cmake:outsource,noninja compiler gmake python:2.7 ssl # ninja: error: loading 'build.ninja': No such file or directory | |||||
tcberner: did you try "cmake:outsource" without "gmake"? | |||||
Done Inline ActionsJust tried without gmake. It still breaks. yuri: Just tried without `gmake`. It still breaks.
| |||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
CMAKE_ARGS= -DUSE_JEMALLOC:BOOL=off \ | CMAKE_ARGS= -DUSE_JEMALLOC:BOOL=off \ | ||||
Done Inline ActionsYou could switch this to CMAKE_ON and CMAKE_OFF. tcberner: You could switch this to `CMAKE_ON` and `CMAKE_OFF`.
| |||||
-DUSE_BACKTRACE:BOOL=on \ | -DUSE_BACKTRACE:BOOL=on \ | ||||
-DBASE_LD_FLAGS:STRING="-L${BUILD_WRKSRC}/3rdParty/V8/v5.7.492.77/x64.release/obj.target/src -L${BUILD_WRKSRC}/3rdParty/V8/v5.7.492.77/x64.release/obj.target/third_party/icu -L${LOCALBASE}/lib -L/usr/lib" | -DBASE_LD_FLAGS:STRING="-L${BUILD_WRKSRC}/3rdParty/V8/v5.7.492.77/x64.release/obj.target/src -L${BUILD_WRKSRC}/3rdParty/V8/v5.7.492.77/x64.release/obj.target/third_party/icu -L${LOCALBASE}/lib -L/usr/lib" | ||||
Done Inline Actions^
tcberner: ^
* this looks like it is using a bundled icu / v8 -- you should generally try to avoid… | |||||
Done Inline ActionsI tried to unbundle them, this didn't work. This is a massive project. yuri: I tried to unbundle them, this didn't work. This is a massive project.
The maintainer, who is a… | |||||
Done Inline ActionsIf it is too hard, then no. tcberner: If it is too hard, then no. | |||||
USERS= arangodb | USERS= arangodb | ||||
GROUPS= arangodb | GROUPS= arangodb | ||||
USE_RC_SUBR= arangod | USE_RC_SUBR= arangod | ||||
post-install: | post-install: | ||||
.for section in 1 8 | .for section in 1 8 | ||||
${MV} ${STAGEDIR}${PREFIX}/share/man/man${section}/* ${STAGEDIR}${PREFIX}/man/man${section}/ | @${MV} ${STAGEDIR}${PREFIX}/share/man/man${section}/* ${STAGEDIR}${PREFIX}/man/man${section}/ | ||||
${RMDIR} ${STAGEDIR}${PREFIX}/share/man/man${section} | @${RMDIR} ${STAGEDIR}${PREFIX}/share/man/man${section} | ||||
.endfor | .endfor | ||||
${RMDIR} ${STAGEDIR}${PREFIX}/share/man | @${REINPLACE_CMD} -e 's|/usr/local/var/lib/arangodb3|/var/db/arangodb|g' ${STAGEDIR}${PREFIX}/etc/arangodb/*.conf | ||||
${REINPLACE_CMD} -e 's|/usr/local/var/lib/arangodb3|/var/db/arangodb|g' ${STAGEDIR}${PREFIX}/etc/arangodb/*.conf | @${REINPLACE_CMD} -e 's|/usr/local/var/log/arangodb3|/var/log/arangodb|g' ${STAGEDIR}${PREFIX}/etc/arangodb/arangod.conf | ||||
${REINPLACE_CMD} -e 's|/usr/local/var/log/arangodb3|/var/log/arangodb|g' ${STAGEDIR}${PREFIX}/etc/arangodb/arangod.conf | @${FIND} ${STAGEDIR}${PREFIX}/etc/arangodb/ -type f -name *.conf -exec ${MV} {} {}.sample \; | ||||
${FIND} ${STAGEDIR}${PREFIX}/etc/arangodb/ -type f -name *.conf -exec ${MV} {} {}.sample \; | @cd ${STAGEDIR}${PREFIX} && ${RMDIR} share/man var/lib/arangodb var/lib/arangodb-apps var/lib var/log/arangodb var/log var | ||||
${RMDIR} ${STAGEDIR}${PREFIX}/var/lib/arangodb | |||||
${RMDIR} ${STAGEDIR}${PREFIX}/var/lib/arangodb-apps | |||||
${RMDIR} ${STAGEDIR}${PREFIX}/var/lib | |||||
${RMDIR} ${STAGEDIR}${PREFIX}/var/log/arangodb | |||||
${RMDIR} ${STAGEDIR}${PREFIX}/var/log | |||||
${RMDIR} ${STAGEDIR}${PREFIX}/var | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
did you try "cmake:outsource" without "gmake"?