Hi,

can this go in now or should I wait until after ports lock?

Christopher


Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/lmdb/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    22 Jun 2019 22:44:06 -0000      1.7
+++ Makefile    7 Oct 2019 16:03:41 -0000
@@ -3,7 +3,7 @@
 COMMENT =      Symas Lightning Memory-Mapped Database
 
 VERSION =      0.9.23
-REVISION =     0
+REVISION =     1
 
 GH_ACCOUNT =   LMDB
 GH_PROJECT =   lmdb
@@ -31,5 +31,10 @@ MAKE_FLAGS =         CC="${CC}" XCFLAGS="${CFLA
                        SHARED_VERSION_MINOR=${LIBlmdb_VERSION:E}
 
 WRKDIST =              ${WRKDIR}/lmdb-${GH_TAGNAME}/libraries/liblmdb
+
+SUBST_VARS +=  VERSION
+
+post-install:
+       ${SUBST_CMD} -c -m 0444 ${FILESDIR}/lmdb.pc 
${PREFIX}/lib/pkgconfig/liblmdb.pc
 
 .include <bsd.port.mk>
Index: files/lmdb.pc
===================================================================
RCS file: files/lmdb.pc
diff -N files/lmdb.pc
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ files/lmdb.pc       7 Oct 2019 16:03:41 -0000
@@ -0,0 +1,11 @@
+prefix=${LOCALBASE}
+exec_prefix=${prefix}/bin
+libdir=${prefix}/lib
+includedir=${prefix}/include
+
+Name: liblmdb
+Description: Lightning Memory-Mapped Database
+URL: https://symas.com/products/lightning-memory-mapped-database/
+Version: ${VERSION}
+Libs: -L${libdir} -llmdb
+Cflags: -I${includedir}
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/databases/lmdb/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   6 Jun 2018 10:34:28 -0000       1.1.1.1
+++ pkg/PLIST   7 Oct 2019 16:03:41 -0000
@@ -6,6 +6,7 @@
 include/lmdb.h
 lib/liblmdb.a
 @lib lib/liblmdb.so.${LIBlmdb_VERSION}
+lib/pkgconfig/liblmdb.pc
 @man man/man1/mdb_copy.1
 @man man/man1/mdb_dump.1
 @man man/man1/mdb_load.1


-- 
http://gmerlin.de
OpenPGP: http://gmerlin.de/christopher.pub
CB07 DA40 B0B6 571D 35E2  0DEF 87E2 92A7 13E5 DEE1

Attachment: signature.asc
Description: PGP signature

Reply via email to