git: 357f8a604e70 - main - devel/nasm: Impelled to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 23 Jan 2024 16:00:11 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=357f8a604e70e7eacbefd6f1ffb048cd9c74af02

commit 357f8a604e70e7eacbefd6f1ffb048cd9c74af02
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-23 15:37:19 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-23 15:59:55 +0000

    devel/nasm: Impelled to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/nasm/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/devel/nasm/Makefile b/devel/nasm/Makefile
index e5a0edc1ae8c..28b31c014245 100644
--- a/devel/nasm/Makefile
+++ b/devel/nasm/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	nasm
 PORTVERSION=	2.16.01
+PORTREVISION=	1
 PORTEPOCH=	2
 CATEGORIES=	devel lang
 MASTER_SITES=	https://www.nasm.us/pub/nasm/releasebuilds/${PORTVERSION}/ \
@@ -18,14 +19,15 @@ CPE_PRODUCT=	netwide_assembler
 USE_PERL5=	build
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ENV=	ac_cv_func_strspn=yes
 
 MAKE_ARGS+=	INSTALLROOT=${STAGEDIR}
 
 PLIST_FILES=	bin/nasm \
 		bin/ndisasm \
-		man/man1/nasm.1.gz \
-		man/man1/ndisasm.1.gz
+		share/man/man1/nasm.1.gz \
+		share/man/man1/ndisasm.1.gz
 PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS