1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

databases/lmdb: Add a pkg-config file for use by other software that

expects them.

Submitted by:	Daniel O'Connor <darius dons net au>
This commit is contained in:
Xin LI 2020-09-23 00:32:42 +00:00
parent d5445c8e34
commit 51d887b2f7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549648
3 changed files with 17 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= lmdb
PORTVERSION= 0.9.24
PORTREVISION= 2
PORTREVISION= 3
DISTVERSIONPREFIX= ${PORTNAME:tu}_
PORTEPOCH= 1
CATEGORIES= databases
@ -26,8 +26,12 @@ USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME:tu}
SUB_FILES+= lmdb.pc
SUB_LIST+= PORTVERSION=${PORTVERSION}
post-install:
${LN} -sf liblmdb.so.0 ${STAGEDIR}${PREFIX}/lib/liblmdb.so
${INSTALL_DATA} ${WRKDIR}/lmdb.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig
do-test:
${MKDIR} ${WRKSRC}/testdb

View File

@ -0,0 +1,11 @@
prefix=%%PREFIX%%
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: lmdb
Description: Lightning Memory-Mapped Database
URL: https://symas.com/lmdb/
Version: %%PORTVERSION%%
Libs: -L${libdir} -llmdb
Cflags: -I${includedir}

View File

@ -6,6 +6,7 @@ include/lmdb.h
lib/liblmdb.a
lib/liblmdb.so
lib/liblmdb.so.0
libdata/pkgconfig/lmdb.pc
man/man1/mdb_copy.1.gz
man/man1/mdb_dump.1.gz
man/man1/mdb_load.1.gz