9ab1af8778
ChangeLog: https://gitflic.ru/project/erthink/libmdbx/release/d0996c43-b4e6-4e98-ac4a-68f90adecf5a PR: 269575 Reported by: mahlon@martini.nu (maintainer)
34 lines
997 B
Makefile
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>
|