git: 4dfb04ef0872 - main - sysutils/topless: Moved man to share/man

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

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

commit 4dfb04ef08721296c05e504f6ef5c6d402ede64a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 07:27:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 07:27:23 +0000

    sysutils/topless: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/topless/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sysutils/topless/Makefile b/sysutils/topless/Makefile
index 502ba5ed7122..29f1d1f7b8b7 100644
--- a/sysutils/topless/Makefile
+++ b/sysutils/topless/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	topless
 PORTVERSION=	1.52
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	https://people.freebsd.org/~daichi/src/
 
@@ -13,6 +14,8 @@ USES=		perl5
 USE_PERL5=	build
 NO_ARCH=	yes
 
-PLIST_FILES=	bin/topless man/man1/topless.1.gz
+MAKE_ARGS=	MANDIR=${PREFIX}/share/man
+
+PLIST_FILES=	bin/topless share/man/man1/topless.1.gz
 
 .include <bsd.port.mk>