diff --git a/databases/mdbx/Makefile b/databases/mdbx/Makefile index 0ae66b3b4ea9..5589986e871e 100644 --- a/databases/mdbx/Makefile +++ b/databases/mdbx/Makefile @@ -1,29 +1,29 @@ PORTNAME= mdbx DISTVERSION= 0.12.9 CATEGORIES= databases 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= cmake tar:xz USE_LDCONFIG= yes NO_WRKSUBDIR= yes -PLIST_SUB= VERSION=${PORTVERSION} +PLIST_SUB= VERSION=${DISTVERSION} post-install: - ${CP} ${BUILD_WRKSRC}/libmdbx-static.a ${STAGEDIR}${PREFIX}/lib/libmdbx.a - ${MV} ${STAGEDIR}${PREFIX}/lib/libmdbx.so ${STAGEDIR}${PREFIX}/lib/libmdbx.so.${PORTVERSION} - ${RLN} libmdbx.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so - ${RLN} libmdbx.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so.0 + ${INSTALL_DATA} ${BUILD_WRKSRC}/libmdbx-static.a ${STAGEDIR}${PREFIX}/lib/libmdbx.a + ${MV} ${STAGEDIR}${PREFIX}/lib/libmdbx.so ${STAGEDIR}${PREFIX}/lib/libmdbx.so.${DISTVERSION} + ${RLN} libmdbx.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so + ${RLN} libmdbx.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so.0 .include