git: 3d947aa703b3 - main - editors/hexer: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 12:51:45 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3d947aa703b384585409ba07e790303a3f9ec0d6

commit 3d947aa703b384585409ba07e790303a3f9ec0d6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 12:47:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 12:51:18 +0000

    editors/hexer: Sanitize MANPREFIX
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
---
 editors/hexer/Makefile  | 11 +++++++----
 editors/hexer/pkg-plist |  4 ++--
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/editors/hexer/Makefile b/editors/hexer/Makefile
index b0e275db57d2..5443ebcdb2cc 100644
--- a/editors/hexer/Makefile
+++ b/editors/hexer/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	hexer
 PORTVERSION=	1.0.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	editors
 MASTER_SITES=	http://devel.ringlet.net/files/editors/hexer/ \
 		LOCAL/ehaupt
@@ -14,12 +14,15 @@ LICENSE_NAME=	Sascha Demetrio Custom License
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
 
+MAKE_ARGS=	MANDIR=${PREFIX}/share/man/man1
+ALL_TARGET=	all
+
 OPTIONS_DEFINE=	MYC
-MYC_DESC=	Builtin calculator
-OPTIONS_SUB=	yes
 OPTIONS_DEFAULT=MYC
+OPTIONS_SUB=	yes
+
+MYC_DESC=	Builtin calculator
 
-ALL_TARGET=	all
 MYC_ALL_TARGET=	myc
 
 .include <bsd.port.options.mk>
diff --git a/editors/hexer/pkg-plist b/editors/hexer/pkg-plist
index dc38d46a5601..3d33e475cea3 100644
--- a/editors/hexer/pkg-plist
+++ b/editors/hexer/pkg-plist
@@ -1,4 +1,4 @@
 bin/hexer
-man/man1/hexer.1.gz
+share/man/man1/hexer.1.gz
 %%MYC%%bin/myc
-%%MYC%%man/man1/myc.1.gz
+%%MYC%%share/man/man1/myc.1.gz