git: 20af2f57e64d - main - databases/tinycdb: Update to 0.81

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:18:04 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=20af2f57e64d8b2c2044016e009ee98110185bee

commit 20af2f57e64d8b2c2044016e009ee98110185bee
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:25:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:18 +0000

    databases/tinycdb: Update to 0.81
    
    - Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)
    
    Changes:
     - ship simple libcdb.pc (install it to pkgconfdir=$(libdir)/pkgconfig)
     - to avoid further questions, change license from "Public domain" to MIT
       license, add copyright and license text to all source files.
     - change default compiler optimization level from -O to -O2, use gnu tar
       --transform option to create dist archive, other small changes to Makefile
---
 databases/tinycdb/Makefile  | 8 ++++++--
 databases/tinycdb/distinfo  | 6 +++---
 databases/tinycdb/pkg-plist | 7 ++++---
 3 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/databases/tinycdb/Makefile b/databases/tinycdb/Makefile
index 3ede8cccc7b3..1d45c7606d04 100644
--- a/databases/tinycdb/Makefile
+++ b/databases/tinycdb/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	tinycdb
-PORTVERSION=	0.80
+PORTVERSION=	0.81
 CATEGORIES=	databases
 MASTER_SITES=	http://www.corpit.ru/mjt/tinycdb/
 
@@ -13,7 +13,11 @@ USES=		gmake
 
 ALL_TARGET=	static sharedlib
 INSTALL_TARGET=	install install-sharedlib
-MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" prefix="${PREFIX}"
+MAKE_ARGS=	CC="${CC}" \
+		CFLAGS="${CFLAGS}" \
+		mandir=${PREFIX}/share/man \
+		pkgconfdir=${PREFIX}/libdata/pkgconfig \
+		prefix=${PREFIX}
 USE_LDCONFIG=	yes
 
 CONFLICTS_INSTALL=	libcdb # lib/libcdb.a
diff --git a/databases/tinycdb/distinfo b/databases/tinycdb/distinfo
index 4026e2e3d8fd..4b1544ca80ab 100644
--- a/databases/tinycdb/distinfo
+++ b/databases/tinycdb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1695143213
-SHA256 (tinycdb-0.80.tar.gz) = c321b905e902c2ca99a3ff8a8dddfd8823247fe1edec8a4bb85f83869c639fb8
-SIZE (tinycdb-0.80.tar.gz) = 30506
+TIMESTAMP = 1708448886
+SHA256 (tinycdb-0.81.tar.gz) = 469de2d445bf54880f652f4b6dc95c7cdf6f5502c35524a45b2122d70d47ebc2
+SIZE (tinycdb-0.81.tar.gz) = 31901
diff --git a/databases/tinycdb/pkg-plist b/databases/tinycdb/pkg-plist
index 1f72bb8a1369..ce8608509bef 100644
--- a/databases/tinycdb/pkg-plist
+++ b/databases/tinycdb/pkg-plist
@@ -3,6 +3,7 @@ include/cdb.h
 lib/libcdb.a
 lib/libcdb.so
 lib/libcdb.so.1
-man/man1/cdb.1.gz
-man/man3/cdb.3.gz
-man/man5/cdb.5.gz
+libdata/pkgconfig/libcdb.pc
+share/man/man1/cdb.1.gz
+share/man/man3/cdb.3.gz
+share/man/man5/cdb.5.gz