git: d121e1233abf - main - devel/elfutils: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 27 Jan 2024 12:40:28 UTC
The branch main has been updated by bofh:

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

commit d121e1233abf66d6bf1094345bce613dac42d216
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-27 12:39:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-27 12:39:44 +0000

    devel/elfutils: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/elfutils/Makefile  |  2 ++
 devel/elfutils/pkg-plist | 36 ++++++++++++++++++------------------
 2 files changed, 20 insertions(+), 18 deletions(-)

diff --git a/devel/elfutils/Makefile b/devel/elfutils/Makefile
index 16a76e20256a..9af8a11e8ad3 100644
--- a/devel/elfutils/Makefile
+++ b/devel/elfutils/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	elfutils
 DISTVERSION=	0.187
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://sourceware.org/elfutils/ftp/${PORTVERSION}/
 
@@ -40,6 +41,7 @@ NLS_CONFIGURE_ENABLE=	nls
 USES=		autoreconf cpe gmake libtool pkgconfig tar:bzip2
 CPE_VENDOR=	${PORTNAME}_project
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USE_LDCONFIG=	yes
 
 CFLAGS+=	-Wno-error -Wno-format-nonliteral
diff --git a/devel/elfutils/pkg-plist b/devel/elfutils/pkg-plist
index dc90b20d20a6..588a2925700d 100644
--- a/devel/elfutils/pkg-plist
+++ b/devel/elfutils/pkg-plist
@@ -46,24 +46,24 @@ lib/libelf.so.1
 libdata/pkgconfig/libdebuginfod.pc
 libdata/pkgconfig/libdw.pc
 libdata/pkgconfig/libelf.pc
-%%MANPAGES%%man/man1/debuginfod-find.1.gz
-%%MANPAGES%%man/man1/eu-elfclassify.1.gz
-%%MANPAGES%%man/man1/eu-readelf.1.gz
-%%MANPAGES%%man/man3/debuginfod_add_http_header.3.gz
-%%MANPAGES%%man/man3/debuginfod_begin.3.gz
-%%MANPAGES%%man/man3/debuginfod_end.3.gz
-%%MANPAGES%%man/man3/debuginfod_find_debuginfo.3.gz
-%%MANPAGES%%man/man3/debuginfod_find_executable.3.gz
-%%MANPAGES%%man/man3/debuginfod_find_source.3.gz
-%%MANPAGES%%man/man3/debuginfod_get_url.3.gz
-%%MANPAGES%%man/man3/debuginfod_get_user_data.3.gz
-%%MANPAGES%%man/man3/debuginfod_set_progressfn.3.gz
-%%MANPAGES%%man/man3/debuginfod_set_user_data.3.gz
-%%MANPAGES%%man/man3/elf_begin.3.gz
-%%MANPAGES%%man/man3/elf_clone.3.gz
-%%MANPAGES%%man/man3/elf_getdata.3.gz
-%%MANPAGES%%man/man3/elf_update.3.gz
-%%MANPAGES%%man/man7/debuginfod-client-config.7.gz
+%%MANPAGES%%share/man/man1/debuginfod-find.1.gz
+%%MANPAGES%%share/man/man1/eu-elfclassify.1.gz
+%%MANPAGES%%share/man/man1/eu-readelf.1.gz
+%%MANPAGES%%share/man/man3/debuginfod_add_http_header.3.gz
+%%MANPAGES%%share/man/man3/debuginfod_begin.3.gz
+%%MANPAGES%%share/man/man3/debuginfod_end.3.gz
+%%MANPAGES%%share/man/man3/debuginfod_find_debuginfo.3.gz
+%%MANPAGES%%share/man/man3/debuginfod_find_executable.3.gz
+%%MANPAGES%%share/man/man3/debuginfod_find_source.3.gz
+%%MANPAGES%%share/man/man3/debuginfod_get_url.3.gz
+%%MANPAGES%%share/man/man3/debuginfod_get_user_data.3.gz
+%%MANPAGES%%share/man/man3/debuginfod_set_progressfn.3.gz
+%%MANPAGES%%share/man/man3/debuginfod_set_user_data.3.gz
+%%MANPAGES%%share/man/man3/elf_begin.3.gz
+%%MANPAGES%%share/man/man3/elf_clone.3.gz
+%%MANPAGES%%share/man/man3/elf_getdata.3.gz
+%%MANPAGES%%share/man/man3/elf_update.3.gz
+%%MANPAGES%%share/man/man7/debuginfod-client-config.7.gz
 %%NLS%%share/locale/de/LC_MESSAGES/elfutils.mo
 %%NLS%%share/locale/en@boldquot/LC_MESSAGES/elfutils.mo
 %%NLS%%share/locale/en@quot/LC_MESSAGES/elfutils.mo