git: 439dd9e31815 - main - math/lcalc: move man page

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Fri, 01 Mar 2024 16:59:26 UTC
The branch main has been updated by thierry:

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

commit 439dd9e3181588e25683efbe86cb941eb472f283
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2024-03-01 13:20:12 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2024-03-01 16:59:16 +0000

    math/lcalc: move man page
---
 math/lcalc/Makefile  | 6 ++++--
 math/lcalc/pkg-plist | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/math/lcalc/Makefile b/math/lcalc/Makefile
index 86f857d6a9ee..58babb542f78 100644
--- a/math/lcalc/Makefile
+++ b/math/lcalc/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	lcalc
 PORTVERSION=	2.0.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	math
 MASTER_SITES=	ftp://ftp.fu-berlin.de/unix/misc/sage/spkg/upstream/lcalc/
 
@@ -23,7 +23,9 @@ LIB_DEPENDS=	libgmp.so:math/gmp	\
 USES=		compiler:c++11-lang gmake libtool localbase tar:xz
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-pari
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+CONFIGURE_ARGS=	--with-pari	\
+		--mandir=${PREFIX}/share/man
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
 USE_LDCONFIG=	yes
diff --git a/math/lcalc/pkg-plist b/math/lcalc/pkg-plist
index 616727cb327f..81b15f0be237 100644
--- a/math/lcalc/pkg-plist
+++ b/math/lcalc/pkg-plist
@@ -22,7 +22,6 @@ lib/libLfunction.so
 lib/libLfunction.so.1
 lib/libLfunction.so.1.0.1
 libdata/pkgconfig/lcalc.pc
-man/man1/lcalc.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/INSTALL
@@ -36,3 +35,4 @@ man/man1/lcalc.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/data/data_maass
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/data/data_tau
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.cc
+share/man/man1/lcalc.1.gz