Date: Wed, 23 Sep 2020 00:32:42 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549648 - in head/databases/lmdb: . files Message-ID: <202009230032.08N0Wg0b035176@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Wed Sep 23 00:32:42 2020 New Revision: 549648 URL: https://svnweb.freebsd.org/changeset/ports/549648 Log: databases/lmdb: Add a pkg-config file for use by other software that expects them. Submitted by: Daniel O'Connor <darius dons net au> Added: head/databases/lmdb/files/lmdb.pc.in (contents, props changed) Modified: head/databases/lmdb/Makefile head/databases/lmdb/pkg-plist Modified: head/databases/lmdb/Makefile ============================================================================== --- head/databases/lmdb/Makefile Wed Sep 23 00:18:11 2020 (r549647) +++ head/databases/lmdb/Makefile Wed Sep 23 00:32:42 2020 (r549648) @@ -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 Added: head/databases/lmdb/files/lmdb.pc.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/lmdb/files/lmdb.pc.in Wed Sep 23 00:32:42 2020 (r549648) @@ -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} Modified: head/databases/lmdb/pkg-plist ============================================================================== --- head/databases/lmdb/pkg-plist Wed Sep 23 00:18:11 2020 (r549647) +++ head/databases/lmdb/pkg-plist Wed Sep 23 00:32:42 2020 (r549648) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009230032.08N0Wg0b035176>