git: b5d4a9ec3973 - main - devel/lmdbg: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Wed, 06 Mar 2024 10:49:06 UTC
The branch main has been updated by eduardo:

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

commit b5d4a9ec397399f305b635fa703bd8a6bee69d11
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-06 10:42:09 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-06 10:48:40 +0000

    devel/lmdbg: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/lmdbg/Makefile  |  2 ++
 devel/lmdbg/pkg-plist | 18 +++++++++---------
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/devel/lmdbg/Makefile b/devel/lmdbg/Makefile
index 7f2528ce3340..ba3bce4d7374 100644
--- a/devel/lmdbg/Makefile
+++ b/devel/lmdbg/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	lmdbg
 PORTVERSION=	1.3.0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -23,6 +24,7 @@ PORTDOCS=	LICENSE NEWS README TODO
 
 MKCMAKE_ENV+=	CPPFLAGS=-I${LOCALBASE}/include
 MKCMAKE_ENV+=	LDFLAGS=-L${LOCALBASE}/lib
+MKCMAKE_ENV+=	MANDIR=${PREFIX}/share/man
 
 INSTALL_TARGET=	install install-doc
 
diff --git a/devel/lmdbg/pkg-plist b/devel/lmdbg/pkg-plist
index 3d33d93dcad7..e7e66d812a36 100644
--- a/devel/lmdbg/pkg-plist
+++ b/devel/lmdbg/pkg-plist
@@ -15,12 +15,12 @@ lib/liblmdbg.so.0
 lib/liblmdbg.so.0.0
 libexec/lmdbg/lmdbg-m2s
 libexec/lmdbg/lmdbg-s2m
-man/man1/lmdbg-grep.1.gz
-man/man1/lmdbg-head.1.gz
-man/man1/lmdbg-leaks.1.gz
-man/man1/lmdbg-run.1.gz
-man/man1/lmdbg-sort.1.gz
-man/man1/lmdbg-stat.1.gz
-man/man1/lmdbg-sym.1.gz
-man/man1/lmdbg-sysleaks.1.gz
-man/man1/lmdbg.1.gz
+share/man/man1/lmdbg-grep.1.gz
+share/man/man1/lmdbg-head.1.gz
+share/man/man1/lmdbg-leaks.1.gz
+share/man/man1/lmdbg-run.1.gz
+share/man/man1/lmdbg-sort.1.gz
+share/man/man1/lmdbg-stat.1.gz
+share/man/man1/lmdbg-sym.1.gz
+share/man/man1/lmdbg-sysleaks.1.gz
+share/man/man1/lmdbg.1.gz