git: f131f38c43f6 - main - devel/cunit: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:18:15 UTC
The branch main has been updated by sunpoet:

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

commit f131f38c43f69a2ba81e719e6c08f446959100d8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:25:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:21 +0000

    devel/cunit: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)
---
 devel/cunit/Makefile  | 1 +
 devel/cunit/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/cunit/Makefile b/devel/cunit/Makefile
index b9f58167cf9d..ef9de48a608d 100644
--- a/devel/cunit/Makefile
+++ b/devel/cunit/Makefile
@@ -16,6 +16,7 @@ USES=		autoreconf gmake libtool ncurses pathfix tar:bzip2
 
 CONFIGURE_ARGS=	--enable-automated --enable-basic --enable-console --enable-curses --enable-debug --enable-memtrace --enable-test
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 INSTALL_TARGET=	install-strip
 LDFLAGS+=	-lncurses
 TEST_TARGET=	check
diff --git a/devel/cunit/pkg-plist b/devel/cunit/pkg-plist
index 9455c2703d17..9f991bc08f95 100644
--- a/devel/cunit/pkg-plist
+++ b/devel/cunit/pkg-plist
@@ -14,7 +14,6 @@ lib/libcunit.so
 lib/libcunit.so.1
 lib/libcunit.so.1.0.1
 libdata/pkgconfig/cunit.pc
-man/man3/CUnit.3.gz
 %%DATADIR%%/CUnit-List.dtd
 %%DATADIR%%/CUnit-List.xsl
 %%DATADIR%%/CUnit-Run.dtd
@@ -51,3 +50,4 @@ man/man3/CUnit.3.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Console/README
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Curses/CursesTest
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Curses/README
+share/man/man3/CUnit.3.gz