git: 6b2b42ac40b1 - main - devel/liblockfile: Move manpages to ${PREFIX}/share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Mon, 12 Feb 2024 02:04:24 UTC
The branch main has been updated by yasu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6b2b42ac40b13c847644ddf4d6e989b5f4109e54

commit 6b2b42ac40b13c847644ddf4d6e989b5f4109e54
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-02-12 01:41:24 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-02-12 02:00:59 +0000

    devel/liblockfile: Move manpages to ${PREFIX}/share/man
---
 devel/liblockfile/Makefile  | 3 +++
 devel/liblockfile/pkg-plist | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/devel/liblockfile/Makefile b/devel/liblockfile/Makefile
index bd00daa4bf89..733f6ab6d1e2 100644
--- a/devel/liblockfile/Makefile
+++ b/devel/liblockfile/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	liblockfile
 PORTVERSION=	1.17
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	yasu@FreeBSD.org
@@ -20,6 +21,8 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-shared \
 		--with-mailgroup
 
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+
 PORTDOCS=	Changelog README
 
 OPTIONS_DEFINE=	DOCS
diff --git a/devel/liblockfile/pkg-plist b/devel/liblockfile/pkg-plist
index c36f6a392b0b..1b2b084d7763 100644
--- a/devel/liblockfile/pkg-plist
+++ b/devel/liblockfile/pkg-plist
@@ -5,6 +5,6 @@ lib/liblockfile.a
 lib/liblockfile.so
 lib/liblockfile.so.1
 lib/liblockfile.so.1.0
-man/man1/dotlockfile.1.gz
-man/man3/lockfile_create.3.gz
-man/man3/maillock.3.gz
+share/man/man1/dotlockfile.1.gz
+share/man/man3/lockfile_create.3.gz
+share/man/man3/maillock.3.gz