git: f504eff6384a - main - lang/gnu-cobol: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 20:01:50 UTC
The branch main has been updated by eduardo:

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

commit f504eff6384ab5f96eb29158de7bc10a76a7b15e
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-09 18:45:49 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-09 20:01:28 +0000

    lang/gnu-cobol: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 lang/gnu-cobol/Makefile  | 3 ++-
 lang/gnu-cobol/pkg-plist | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/lang/gnu-cobol/Makefile b/lang/gnu-cobol/Makefile
index 3cd6db52ef7e..6adde92b82d6 100644
--- a/lang/gnu-cobol/Makefile
+++ b/lang/gnu-cobol/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gnucobol
 PORTVERSION=	3.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang
 MASTER_SITES=	GNU/gnucobol
 
@@ -18,6 +18,7 @@ LIB_DEPENDS=	libgmp.so:math/gmp \
 USES=		bdb gmake libtool ncurses tar:xz
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ENV=	MATH_LIBS=-lm
 
 TEST_TARGET=	check
diff --git a/lang/gnu-cobol/pkg-plist b/lang/gnu-cobol/pkg-plist
index abc6a33b7a19..fe2455b43fdd 100644
--- a/lang/gnu-cobol/pkg-plist
+++ b/lang/gnu-cobol/pkg-plist
@@ -13,9 +13,6 @@ lib/libcob.a
 lib/libcob.so
 lib/libcob.so.4
 lib/libcob.so.4.2.0
-man/man1/cob-config.1.gz
-man/man1/cobc.1.gz
-man/man1/cobcrun.1.gz
 %%DATADIR%%/config/acu-strict.conf
 %%DATADIR%%/config/acu.conf
 %%DATADIR%%/config/acu.words
@@ -73,3 +70,6 @@ man/man1/cobcrun.1.gz
 %%NLS%%share/locale/sr/LC_MESSAGES/gnucobol.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/gnucobol.mo
 %%NLS%%share/locale/tr/LC_MESSAGES/gnucobol.mo
+share/man/man1/cob-config.1.gz
+share/man/man1/cobc.1.gz
+share/man/man1/cobcrun.1.gz