git: 0d50a4e8c7b9 - main - devel/xxhash: Impelled to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 23 Jan 2024 16:00:18 UTC
The branch main has been updated by bofh:

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

commit 0d50a4e8c7b9eda65c3d2071b90b1871df54c196
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-23 15:43:52 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-23 15:59:57 +0000

    devel/xxhash: Impelled to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/xxhash/Makefile  | 3 +++
 devel/xxhash/pkg-plist | 8 ++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/devel/xxhash/Makefile b/devel/xxhash/Makefile
index f391266d4051..da544228be1e 100644
--- a/devel/xxhash/Makefile
+++ b/devel/xxhash/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	xxhash
 PORTVERSION=	0.8.2
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 
@@ -22,6 +23,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	Cyan4973
 GH_PROJECT=	xxHash
 
+MAKE_ARGS+=	MANDIR=${PREFIX}/share/man/man1
+
 PORTSCOUT=	limit:^v[0-9\.]*
 
 post-install:
diff --git a/devel/xxhash/pkg-plist b/devel/xxhash/pkg-plist
index 0d76b21b9c25..a878c38f4b83 100644
--- a/devel/xxhash/pkg-plist
+++ b/devel/xxhash/pkg-plist
@@ -9,7 +9,7 @@ lib/libxxhash.so
 lib/libxxhash.so.0
 lib/libxxhash.so.%%PORTVERSION%%
 libdata/pkgconfig/libxxhash.pc
-man/man1/xxh128sum.1.gz
-man/man1/xxh32sum.1.gz
-man/man1/xxh64sum.1.gz
-man/man1/xxhsum.1.gz
+share/man/man1/xxh128sum.1.gz
+share/man/man1/xxh32sum.1.gz
+share/man/man1/xxh64sum.1.gz
+share/man/man1/xxhsum.1.gz