git: a939b34bc0fb - main - math/amath: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 18:21:28 UTC
The branch main has been updated by bofh:

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

commit a939b34bc0fb0625874fa67ca1e2fe7188157d74
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 18:07:14 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 18:21:02 +0000

    math/amath: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 math/amath/Makefile  | 5 +++--
 math/amath/pkg-plist | 8 ++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/math/amath/Makefile b/math/amath/Makefile
index 0b447117b076..c739a47bf652 100644
--- a/math/amath/Makefile
+++ b/math/amath/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	amath
 PORTVERSION=	1.8.5
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	http://dist1.innolan.net/ \
 		http://dist2.innolan.net/ \
@@ -18,7 +19,7 @@ USES=		gmake
 USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX} --pkgconfig=libdata/pkgconfig \
-		--mandir=man LDFLAGS="-L${LOCALBASE}/lib"
+		--mandir=share/man LDFLAGS="-L${LOCALBASE}/lib"
 MAKE_ARGS=	CC=${CC} CXX=${CXX}
 
 OPTIONS_DEFINE=	TESTS
@@ -47,6 +48,6 @@ post-install-APPLIBM-on:
 
 do-install-APPLIBM-off:
 	${INSTALL_PROGRAM} ${WRKSRC}/amath ${STAGEDIR}${PREFIX}/bin/
-	${INSTALL_MAN} ${WRKSRC}/amath.1 ${STAGEDIR}${PREFIX}/man/man1/
+	${INSTALL_MAN} ${WRKSRC}/amath.1 ${STAGEDIR}${PREFIX}/share/man/man1/
 
 .include <bsd.port.mk>
diff --git a/math/amath/pkg-plist b/math/amath/pkg-plist
index 1ecc25191f11..3c52d7753ea1 100644
--- a/math/amath/pkg-plist
+++ b/math/amath/pkg-plist
@@ -29,7 +29,7 @@ bin/amath
 %%APPLIBM%%libdata/pkgconfig/amathc.pc
 %%APPLIBM%%libdata/pkgconfig/amathi.pc
 %%APPLIBM%%libdata/pkgconfig/amathr.pc
-man/man1/amath.1.gz
-%%APPLIBM%%man/man3/amathc.3.gz
-%%APPLIBM%%man/man3/amathi.3.gz
-%%APPLIBM%%man/man3/amathr.3.gz
+share/man/man1/amath.1.gz
+%%APPLIBM%%share/man/man3/amathc.3.gz
+%%APPLIBM%%share/man/man3/amathi.3.gz
+%%APPLIBM%%share/man/man3/amathr.3.gz