From owner-svn-ports-all@freebsd.org Wed Sep 23 00:32:43 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6BD4B3E697B; Wed, 23 Sep 2020 00:32:43 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BwzfM2GtHz3yvd; Wed, 23 Sep 2020 00:32:43 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 315D427C77; Wed, 23 Sep 2020 00:32:43 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08N0Whhp035178; Wed, 23 Sep 2020 00:32:43 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08N0Wg0b035176; Wed, 23 Sep 2020 00:32:42 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <202009230032.08N0Wg0b035176@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Wed, 23 Sep 2020 00:32:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549648 - in head/databases/lmdb: . files X-SVN-Group: ports-head X-SVN-Commit-Author: delphij X-SVN-Commit-Paths: in head/databases/lmdb: . files X-SVN-Commit-Revision: 549648 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2020 00:32:43 -0000 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 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