git: 0935f564bdca - main - devel/adacurses: Move manpages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 25 Mar 2024 19:20:50 UTC
The branch main has been updated by arrowd:

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

commit 0935f564bdcac7705cc237b134c88c292b65ddf8
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-25 19:17:31 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-25 19:19:16 +0000

    devel/adacurses: Move manpages to share/man
    
    The port fails to package, but this change still improves things.
    
    Approved by:    portmgr (blanket)
---
 devel/adacurses/Makefile  | 1 +
 devel/adacurses/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/adacurses/Makefile b/devel/adacurses/Makefile
index 92aa73f87adc..b88578c701f1 100644
--- a/devel/adacurses/Makefile
+++ b/devel/adacurses/Makefile
@@ -18,6 +18,7 @@ LICENSE_FILE=	${WRKSRC}/README
 USES=		ada autoreconf gmake ncurses pkgconfig tar:tgz
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--with-ada-include=${PREFIX}/include/adacurses \
 		--with-ada-objects=${PREFIX}/lib/adacurses \
 		--with-curses-dir=${NCURSESBASE} \
diff --git a/devel/adacurses/pkg-plist b/devel/adacurses/pkg-plist
index f9eaa38dd173..856af1ef70e5 100644
--- a/devel/adacurses/pkg-plist
+++ b/devel/adacurses/pkg-plist
@@ -110,4 +110,4 @@ lib/%%atic%%.ali
 lib/%%atic%%_constants.ali
 lib/adacurses/terminal_interface.ali
 lib/gnat/adacurses.gpr
-man/man1/adacurses-config.1.gz
+share/man/man1/adacurses-config.1.gz