freebsd-ports/databases/mdbx/Makefile
2023-02-18 13:29:22 +01:00

34 lines
997 B
Makefile

PORTNAME= mdbx
PORTVERSION= 0.11.14
CATEGORIES= databases
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
MASTER_SITES= https://libmdbx.dqdkfa.ru/release/
DISTNAME= libmdbx-amalgamated-${DISTVERSION}
MAINTAINER= mahlon@martini.nu
COMMENT= Lightning Memory-Mapped Database (Extended)
WWW= https://github.com/erthink/libmdbx
LICENSE= OPENLDAP
LICENSE_NAME= OpenLDAP Public License
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= gmake
USE_LDCONFIG= yes
MAKEFILE= GNUmakefile
MAKE_ARGS= mdbx tools
CFLAGS+= -Wall -Werror -Wextra -Wpedantic -ffunction-sections \
-fPIC -fvisibility=hidden -std=gnu11 -pthread -Wno-error=attributes
NO_WRKSUBDIR= yes
PLIST_SUB= VERSION=${PORTVERSION}
post-install:
${RLN} libmdbx.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so
${RLN} libmdbx.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so.0
.include <bsd.port.mk>