git: 8c5e0395ad7f - main - editors/uzap: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 07 Mar 2024 11:51:39 UTC
The branch main has been updated by eduardo:

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

commit 8c5e0395ad7f49ae9015389d1b6c133aac9cedbd
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-07 11:17:23 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-07 11:51:22 +0000

    editors/uzap: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 editors/uzap/Makefile             | 3 ++-
 editors/uzap/files/patch-Makefile | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/editors/uzap/Makefile b/editors/uzap/Makefile
index dc0bbfa9cb61..5d0025cd7760 100644
--- a/editors/uzap/Makefile
+++ b/editors/uzap/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	uzap
 PORTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	editors
 MASTER_SITES=	LOCAL/joerg
 DISTNAME=	${PORTNAME}
@@ -19,7 +20,7 @@ USES=		ncurses
 
 NO_WRKSUBDIR=	yes
 
-PLIST_FILES=	bin/uzap man/man1/uzap.1.gz
+PLIST_FILES=	bin/uzap share/man/man1/uzap.1.gz
 
 .include <bsd.port.options.mk>
 
diff --git a/editors/uzap/files/patch-Makefile b/editors/uzap/files/patch-Makefile
index 260e4fc677d9..a3944b7d6768 100644
--- a/editors/uzap/files/patch-Makefile
+++ b/editors/uzap/files/patch-Makefile
@@ -6,7 +6,7 @@
 -MANDIR = /usr/man/manl
 -MSECT = l
 +BINDIR = ${PREFIX}/bin/
-+MANDIR = ${PREFIX}/man/man1
++MANDIR = ${PREFIX}/share/man/man1
 +MSECT = 1
 +
 +all: uzap