git: 81bb485829ca - main - japanese/ack: Moved man to share/man

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

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

commit 81bb485829ca23b75c1a55dee50f7541f0cc702e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 11:26:15 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 12:29:19 +0000

    japanese/ack: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 japanese/ack/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/japanese/ack/Makefile b/japanese/ack/Makefile
index 1aaff5aadfec..f5896f59658b 100644
--- a/japanese/ack/Makefile
+++ b/japanese/ack/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ack
 PORTVERSION=	1.39
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	japanese converters
 MASTER_SITES=	http://ftp.vector.co.jp/06/43/1369/
 DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}
@@ -15,10 +15,11 @@ CONFLICTS_INSTALL=	p5-ack # /bin/ack
 ALL_TARGET=	ack
 CFLAGS+=	-Wno-error=return-type
 
-PLIST_FILES=	bin/ack man/ja/man1/ack.1.gz
+PLIST_FILES=	bin/ack share/man/ja/man1/ack.1.gz
 
 post-patch:
-	@${REINPLACE_CMD} -E 's,(BINARY|MANUAL)),DESTDIR)$$(&,' \
+	@${REINPLACE_CMD} -E 's,(BINARY|MANUAL)),DESTDIR)$$(&, ; \
+		s|^MANUAL.*|MANUAL=${PREFIX}/share/man/ja/man1|' \
 		${WRKSRC}/Makefile
 
 .include <bsd.port.mk>