Alexey Dokuchaev ffa3015613 databases/iowow: update the port to version 1.4.18
- Squash the chains of consecutive spaces between compilation
  flags to make the build log more readable
- databases/ejdb: pull upstream patch to synchronize with the
  new IOWOW struct naming

Reported by:	portscout
2025-11-25 05:02:04 +00:00

34 lines
772 B
Makefile

PORTNAME= ejdb
PORTVERSION= 2.73
DISTVERSIONPREFIX= v
CATEGORIES= databases
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= 0bef7559e78041cdfb4320bbb18629b71f1fea41.patch:-p1
MAINTAINER= danfe@FreeBSD.org
COMMENT= Embeddable JSON database engine library
WWW= https://ejdb.org/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libiowow.so:databases/iowow \
libiwnet.so:net/iwnet
USES= cmake compiler:c11
USE_GITHUB= yes
GH_ACCOUNT= Softmotions
USE_LDCONFIG= yes
CMAKE_ARGS= -DCMAKE_LOCALBASE:PATH="${LOCALBASE}" \
-DBUILD_EXAMPLES:BOOL=OFF
OPTIONS_DEFINE= DOCS
post-patch:
@${GREP} -Rl --null '#include <ejdb2/iowow/' ${WRKSRC}/src | \
${XARGS} -0 ${REINPLACE_CMD} -e 's,ejdb2/iowow,iowow,'
.include <bsd.port.mk>