git: e04fe6e31d53 - main - math/calc: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Tue, 12 Mar 2024 12:04:45 UTC
The branch main has been updated by eduardo:

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

commit e04fe6e31d538d2fd1be6148ec95a19afd32fe36
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-12 08:10:28 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-12 12:04:28 +0000

    math/calc: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 math/calc/Makefile               | 1 +
 math/calc/files/Makefile.freebsd | 2 +-
 math/calc/pkg-plist              | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/math/calc/Makefile b/math/calc/Makefile
index 60584f0e0e9b..5ee610487341 100644
--- a/math/calc/Makefile
+++ b/math/calc/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	calc
 PORTVERSION=	2.15.0.6
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	math
 
 MAINTAINER=	adamw@FreeBSD.org
diff --git a/math/calc/files/Makefile.freebsd b/math/calc/files/Makefile.freebsd
index 4e2b53f88dc1..db2c06d43838 100644
--- a/math/calc/files/Makefile.freebsd
+++ b/math/calc/files/Makefile.freebsd
@@ -9,7 +9,7 @@ CFLAGS:=	%%CFLAGS%% ${ICFLAGS} ${CCOPT}
 INCDIR:=	${LOCALBASE}/include
 LCC:=		%%CC%%
 LIBDIR:=	${PREFIX}/lib
-MANDIR:=	${PREFIX}/man/man1
+MANDIR:=	${PREFIX}/share/man/man1
 SCRIPTDIR:=	${PREFIX}/libexec/cscript
 T:=		${DESTDIR}
 USE_READLINE:=	-DUSE_READLINE -I${LOCALBASE}/include
diff --git a/math/calc/pkg-plist b/math/calc/pkg-plist
index 4ebd262977ac..5d858521bb4c 100644
--- a/math/calc/pkg-plist
+++ b/math/calc/pkg-plist
@@ -49,7 +49,6 @@ lib/libcustcalc.so.%%VERSION%%
 %%FULL%%libexec/cscript/powerterm
 %%FULL%%libexec/cscript/simple
 %%FULL%%libexec/cscript/square
-man/man1/calc.1.gz
 %%FULL%%%%DATADIR%%/README
 %%FULL%%%%DATADIR%%/alg_config.cal
 %%FULL%%%%DATADIR%%/beer.cal
@@ -541,4 +540,5 @@ man/man1/calc.1.gz
 %%FULL%%%%DATADIR%%/write2file.cal
 %%FULL%%%%DATADIR%%/xx_print.cal
 %%FULL%%%%DATADIR%%/zeta2.cal
+share/man/man1/calc.1.gz
 @dir include/calc/custom