git: 33048bb63bfb - main - textproc/agrep: use ${PREFIX}/share/man

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Thu, 11 Jan 2024 16:51:42 UTC
The branch main has been updated by dinoex:

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

commit 33048bb63bfbc3ab51db75eeef63870f207af067
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-11 16:51:34 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-11 16:51:34 +0000

    textproc/agrep: use ${PREFIX}/share/man
---
 textproc/agrep/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/textproc/agrep/Makefile b/textproc/agrep/Makefile
index 69eb2fa513ed..f0af4dd75b7e 100644
--- a/textproc/agrep/Makefile
+++ b/textproc/agrep/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	agrep
 PORTVERSION=	2.04
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	textproc
 MASTER_SITES=	GENTOO \
 		ftp://ftp.cs.arizona.edu/agrep/ \
@@ -24,7 +24,7 @@ CONFLICTS_INSTALL=	rubygem-amatch # bin/agrep
 
 ALL_TARGET=
 MAKE_ARGS=	CFLAGS="${CFLAGS}"
-PLIST_FILES=	bin/agrep man/man1/agrep.1.gz
+PLIST_FILES=	bin/agrep share/man/man1/agrep.1.gz
 PORTDOCS=	COPYRIGHT agrep.algorithms agrep.ps.1.Z agrep.ps.2.Z
 
 OPTIONS_DEFINE=	DOCS
@@ -34,7 +34,7 @@ post-extract:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/agrep ${STAGEDIR}${PREFIX}/bin/
-	${INSTALL_MAN} ${WRKSRC}/agrep.1 ${STAGEDIR}${PREFIX}/man/man1/
+	${INSTALL_MAN} ${WRKSRC}/agrep.1 ${STAGEDIR}${PREFIX}/share/man/man1/
 
 do-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}