git: 2ac46c92ab05 - main - math/units: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 20:39:19 UTC
The branch main has been updated by bofh:

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

commit 2ac46c92ab055d54a91c66baa1da0a64a0a4697c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 20:30:57 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 20:38:50 +0000

    math/units: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 math/units/Makefile  | 3 ++-
 math/units/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/math/units/Makefile b/math/units/Makefile
index 138f5dad6805..607a0087103c 100644
--- a/math/units/Makefile
+++ b/math/units/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	units
 PORTVERSION=	2.16
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	math
 MASTER_SITES=	GNU
 
@@ -12,6 +12,7 @@ LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--program-prefix=g
 
 INFO=		units
diff --git a/math/units/pkg-plist b/math/units/pkg-plist
index 75b9a9e995a9..8d46903079a9 100644
--- a/math/units/pkg-plist
+++ b/math/units/pkg-plist
@@ -2,4 +2,4 @@ bin/gunits
 %%DATADIR%%/currency.units
 %%DATADIR%%/definitions.units
 %%DATADIR%%/locale_map.txt
-man/man1/gunits.1.gz
+share/man/man1/gunits.1.gz