git: 38be25a47dae - main - textproc/the_silver_searcher: Move man page

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Wed, 06 Mar 2024 00:37:35 UTC
The branch main has been updated by cy:

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

commit 38be25a47dae94022ad6e6e3057cee5b2d2fdafb
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-03-06 00:35:29 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-03-06 00:37:30 +0000

    textproc/the_silver_searcher: Move man page
    
    Approved by:    portmgr (blanket)
---
 textproc/the_silver_searcher/Makefile  | 2 ++
 textproc/the_silver_searcher/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/textproc/the_silver_searcher/Makefile b/textproc/the_silver_searcher/Makefile
index 9c798ffde8ac..d546706b1f39 100644
--- a/textproc/the_silver_searcher/Makefile
+++ b/textproc/the_silver_searcher/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	the_silver_searcher
 PORTVERSION=	2.2.0
+PORTREVISION=	1
 CATEGORIES=	textproc
 
 MAINTAINER=	olgeni@FreeBSD.org
@@ -17,6 +18,7 @@ GH_ACCOUNT=	ggreer
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	LZMA_LIBS=-llzma
 CONFIGURE_ARGS+=LZMA_CFLAGS=-I/usr/include
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 LDFLAGS+=	-L/usr/lib -llzma
 USES=		autoreconf pkgconfig
 TEST_TARGET=	test
diff --git a/textproc/the_silver_searcher/pkg-plist b/textproc/the_silver_searcher/pkg-plist
index 8ecbc7dd2c37..b4e64340894e 100644
--- a/textproc/the_silver_searcher/pkg-plist
+++ b/textproc/the_silver_searcher/pkg-plist
@@ -1,4 +1,4 @@
 bin/ag
 etc/bash_completion.d/ag.bashcomp.sh
-man/man1/ag.1.gz
+share/man/man1/ag.1.gz
 share/zsh/site-functions/_the_silver_searcher