git: 44402244f583 - main - lang/oo2c: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 16:12:48 UTC
The branch main has been updated by bofh:

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

commit 44402244f58396f1605987e786ac38329e81382f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 16:01:22 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 16:12:19 +0000

    lang/oo2c: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 lang/oo2c/Makefile  | 3 ++-
 lang/oo2c/pkg-plist | 8 ++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/lang/oo2c/Makefile b/lang/oo2c/Makefile
index 04c31557fc4f..9cc3f6097917 100644
--- a/lang/oo2c/Makefile
+++ b/lang/oo2c/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	oo2c
 PORTVERSION=	2.1.11
-PORTREVISION=	14
+PORTREVISION=	15
 CATEGORIES=	lang
 MASTER_SITES=	SF/ooc/ooc2/${PORTVERSION}
 DISTNAME=	${PORTNAME}_${BITS}-${PORTVERSION}
@@ -19,6 +19,7 @@ LIB_DEPENDS=	libgc.so:devel/boehm-gc
 DOCSDIR=	lib/${PORTNAME}
 USES=		gmake libtool:build localbase:ldflags tar:bzip2
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USE_LDCONFIG=	yes
 USE_CSTD=	gnu89
 USE_GCC=	yes
diff --git a/lang/oo2c/pkg-plist b/lang/oo2c/pkg-plist
index 3a5164ecc37c..84db52969d0e 100644
--- a/lang/oo2c/pkg-plist
+++ b/lang/oo2c/pkg-plist
@@ -3,10 +3,10 @@ bin/oob
 bin/oobacktrace
 bin/ooef
 bin/oowhereis
-man/man1/oo2c.1.gz
-man/man1/oob.1.gz
-man/man1/ooef.1.gz
-man/man1/oowhereis.1.gz
+share/man/man1/oo2c.1.gz
+share/man/man1/oob.1.gz
+share/man/man1/ooef.1.gz
+share/man/man1/oowhereis.1.gz
 lib/liboo2c.a
 lib/liboo2c.so
 lib/liboo2c.so.3