git: d0539afe061b - main - devel/make++: Eliminate MANPREFIX usage

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Mon, 15 Jan 2024 17:47:11 UTC
The branch main has been updated by garga:

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

commit d0539afe061bab8dc7bcf6f497c06e4c9a38404e
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-01-15 17:46:01 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2024-01-15 17:46:01 +0000

    devel/make++: Eliminate MANPREFIX usage
    
    While here, move manpages to ${PREFIX}/share/man
    
    Approved by:    portmgr (blanket infrastructure changes)
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 devel/make++/Makefile  |  3 ++-
 devel/make++/pkg-plist | 62 +++++++++++++++++++++++++-------------------------
 2 files changed, 33 insertions(+), 32 deletions(-)

diff --git a/devel/make++/Makefile b/devel/make++/Makefile
index 9310ffde250d..7d24bc6f8cb1 100644
--- a/devel/make++/Makefile
+++ b/devel/make++/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	make++
 PORTVERSION=	2.0
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	SF/${PORTNAME:S/+/p/g}/${PORTVERSION}
 DISTNAME=	${PORTNAME:S/+/p/g}-${PORTVERSION}
@@ -14,7 +15,7 @@ LICENSE_COMB=	dual
 USES=		perl5 tar:txz
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX} \
-		--mandir=${MANPREFIX}/man \
+		--mandir=${PREFIX}/share/man \
 		--htmldir=${DOCSDIR}/html
 NO_ARCH=	yes
 
diff --git a/devel/make++/pkg-plist b/devel/make++/pkg-plist
index f6e46d26ee61..9e0af9bd5b4e 100644
--- a/devel/make++/pkg-plist
+++ b/devel/make++/pkg-plist
@@ -14,37 +14,37 @@ bin/mppg
 bin/mppi
 bin/mppl
 bin/mppr
-man/man1/makepp.1.gz
-man/man1/makepp_build_algorithm.1.gz
-man/man1/makepp_build_cache.1.gz
-man/man1/makepp_build_check.1.gz
-man/man1/makepp_builtin.1.gz
-man/man1/makepp_builtins.1.gz
-man/man1/makepp_command.1.gz
-man/man1/makepp_compatibility.1.gz
-man/man1/makepp_cookbook.1.gz
-man/man1/makepp_extending.1.gz
-man/man1/makepp_faq.1.gz
-man/man1/makepp_functions.1.gz
-man/man1/makepp_incompatibilities.1.gz
-man/man1/makepp_release_notes.1.gz
-man/man1/makepp_repositories.1.gz
-man/man1/makepp_rules.1.gz
-man/man1/makepp_sandboxes.1.gz
-man/man1/makepp_scanning.1.gz
-man/man1/makepp_signatures.1.gz
-man/man1/makepp_speedup.1.gz
-man/man1/makepp_statements.1.gz
-man/man1/makepp_tutorial.1.gz
-man/man1/makepp_tutorial_compilation.1.gz
-man/man1/makepp_variables.1.gz
-man/man1/makeppbuiltin.1.gz
-man/man1/makeppclean.1.gz
-man/man1/makeppgraph.1.gz
-man/man1/makeppinfo.1.gz
-man/man1/makepplog.1.gz
-man/man1/makeppreplay.1.gz
-man/man1/perl_performance.1.gz
+share/man/man1/makepp.1.gz
+share/man/man1/makepp_build_algorithm.1.gz
+share/man/man1/makepp_build_cache.1.gz
+share/man/man1/makepp_build_check.1.gz
+share/man/man1/makepp_builtin.1.gz
+share/man/man1/makepp_builtins.1.gz
+share/man/man1/makepp_command.1.gz
+share/man/man1/makepp_compatibility.1.gz
+share/man/man1/makepp_cookbook.1.gz
+share/man/man1/makepp_extending.1.gz
+share/man/man1/makepp_faq.1.gz
+share/man/man1/makepp_functions.1.gz
+share/man/man1/makepp_incompatibilities.1.gz
+share/man/man1/makepp_release_notes.1.gz
+share/man/man1/makepp_repositories.1.gz
+share/man/man1/makepp_rules.1.gz
+share/man/man1/makepp_sandboxes.1.gz
+share/man/man1/makepp_scanning.1.gz
+share/man/man1/makepp_signatures.1.gz
+share/man/man1/makepp_speedup.1.gz
+share/man/man1/makepp_statements.1.gz
+share/man/man1/makepp_tutorial.1.gz
+share/man/man1/makepp_tutorial_compilation.1.gz
+share/man/man1/makepp_variables.1.gz
+share/man/man1/makeppbuiltin.1.gz
+share/man/man1/makeppclean.1.gz
+share/man/man1/makeppgraph.1.gz
+share/man/man1/makeppinfo.1.gz
+share/man/man1/makepplog.1.gz
+share/man/man1/makeppreplay.1.gz
+share/man/man1/perl_performance.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/html/bg.png
 %%PORTDOCS%%%%DOCSDIR%%/html/google.png
 %%PORTDOCS%%%%DOCSDIR%%/html/index.html