git: aa0cf463d844 - main - textproc/sgrep2: Moved man to share/man

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

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

commit aa0cf463d8440a004d9ea79a2e3a995228b2ba89
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 11:59:18 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 12:35:26 +0000

    textproc/sgrep2: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 textproc/sgrep2/Makefile  | 2 ++
 textproc/sgrep2/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/textproc/sgrep2/Makefile b/textproc/sgrep2/Makefile
index a2e8d33b20da..af991e428890 100644
--- a/textproc/sgrep2/Makefile
+++ b/textproc/sgrep2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sgrep2
 PORTVERSION=	1.94a
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/ \
 		LOCAL/jkoshy
@@ -10,6 +11,7 @@ COMMENT=	Grep for structured text like SGML and HTML
 WWW=		https://www.cs.helsinki.fi/u/jjaakkol/sgrep.html
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--datadir=${DATADIR}
 
 CONFLICTS=	sgrep-0.*
diff --git a/textproc/sgrep2/pkg-plist b/textproc/sgrep2/pkg-plist
index 0f0844a42d78..5b2e1cb80827 100644
--- a/textproc/sgrep2/pkg-plist
+++ b/textproc/sgrep2/pkg-plist
@@ -1,3 +1,3 @@
 bin/sgrep
-man/man1/sgrep.1.gz
+share/man/man1/sgrep.1.gz
 %%DATADIR%%/sample.sgreprc