git: 2534dd65a0f7 - main - lang/fth: Move man pages to share/man

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

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

commit 2534dd65a0f7022b8a15e06632e9e47b2b295ce1
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-09 18:32:05 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-09 20:01:28 +0000

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

diff --git a/lang/fth/Makefile b/lang/fth/Makefile
index b714b6b3fc4c..dbe7f16b38d5 100644
--- a/lang/fth/Makefile
+++ b/lang/fth/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fth
 DISTVERSION=	1.4.2
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	SF/fth/fth/${DISTVERSION}/
 
@@ -14,6 +15,7 @@ USES=		gmake tar:bz2 ssl  # ssl is used only for the bignum interface BN_*
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	test
diff --git a/lang/fth/pkg-plist b/lang/fth/pkg-plist
index 11e6b2acaf93..3e0d2a94383c 100644
--- a/lang/fth/pkg-plist
+++ b/lang/fth/pkg-plist
@@ -8,8 +8,6 @@ include/fth/fth.h
 include/fth/mp.h
 lib/fth/dbm.so
 lib/libfth.so
-man/man1/fth.1.gz
-man/man3/libfth.3.gz
 share/aclocal/fth.m4
 %%DATADIR%%/fth-lib/assert.fs
 %%DATADIR%%/fth-lib/compat.fs
@@ -43,3 +41,5 @@ share/aclocal/fth.m4
 %%DATADIR%%/site-fth/snd-xm.fs
 %%DATADIR%%/site-fth/spectr.fs
 %%DATADIR%%/site-fth/xm-enved.fs
+share/man/man1/fth.1.gz
+share/man/man3/libfth.3.gz