git: b05c73bd2125 - main - www/srg: Moved manpages to share/man

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 11:04:46 UTC
The branch main has been updated by garga:

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

commit b05c73bd2125bc4dc416c9300728c12e90c71e8d
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-02-23 11:04:20 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2024-02-23 11:04:20 +0000

    www/srg: Moved manpages to share/man
    
    Approved by:    portmgr (blanket)
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 www/srg/Makefile  | 2 ++
 www/srg/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/srg/Makefile b/www/srg/Makefile
index 2db8a77acdb3..d5760176b8f7 100644
--- a/www/srg/Makefile
+++ b/www/srg/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	srg
 PORTVERSION=	1.3.6
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
 		http://mirror.crc.net.nz/pub/srg/
@@ -15,6 +16,7 @@ USES=		tar:bzip2
 USE_CXXSTD=	c++14
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 OPTIONS_DEFINE=	EXAMPLES
 
diff --git a/www/srg/pkg-plist b/www/srg/pkg-plist
index 38e0ae8a44ec..9f2cc8ba50a1 100644
--- a/www/srg/pkg-plist
+++ b/www/srg/pkg-plist
@@ -9,4 +9,4 @@ bin/srg
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/srg.daily
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/srg.monthly
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/srg.weekly
-man/man1/srg.1.gz
+share/man/man1/srg.1.gz