git: 0841c1b044c7 - main - www/links: Install man pages under share/man

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 18:41:29 UTC
The branch main has been updated by jrm:

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

commit 0841c1b044c73a6689b095c4100fbf92161aa892
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2024-02-26 18:26:20 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-02-26 18:41:14 +0000

    www/links: Install man pages under share/man
    
    Sponsored by:   The FreeBSD Foundation
---
 www/links/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/www/links/Makefile b/www/links/Makefile
index 1c1b9bcd1a1e..a0bdc8a936a4 100644
--- a/www/links/Makefile
+++ b/www/links/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	links
 PORTVERSION=	2.29
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	www
 MASTER_SITES=	http://links.twibright.com/download/
@@ -19,12 +19,13 @@ LIB_DEPENDS=	libzstd.so:archivers/zstd
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-ssl --without-pmshell --without-atheos \
 		--without-gpm --without-fb --without-windows
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 USES=		cpe localbase:ldflags ssl tar:bz2
 
 CPE_VENDOR=	twibright
 
-PLIST_FILES=	bin/links man/man1/links.1.gz
+PLIST_FILES=	bin/links share/man/man1/links.1.gz
 
 OPTIONS_DEFINE=	BROTLI CIPHERSTRING DIRECTFB IPV6 SVG SVGALIB THREADS TRANS \
 		UTF8 X11