git: ec2c4037ae21 - main - lang/nbfc: Moved man to share/man

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

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

commit ec2c4037ae211744e335c557cce96ea54cef0255
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 15:58:05 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 16:12:18 +0000

    lang/nbfc: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 lang/nbfc/Makefile             | 3 ++-
 lang/nbfc/files/patch-Makefile | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/lang/nbfc/Makefile b/lang/nbfc/Makefile
index 0fb54a2958ee..4d7a9bfcc5cc 100644
--- a/lang/nbfc/Makefile
+++ b/lang/nbfc/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	nbfc
 PORTVERSION=	0.1
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	http://koeln.ccc.de/ablage/brainfuck/
 
@@ -10,7 +11,7 @@ WWW=		https://koeln.ccc.de/ablage/brainfuck/index.en.xml
 LICENSE=	BSD2CLAUSE
 
 PLIST_FILES=	bin/nbfc \
-		man/man1/nbfc.1.gz
+		share/man/man1/nbfc.1.gz
 
 MAKE_ENV+=	FLEX=${FLEX} \
 		YACC=${YACC} \
diff --git a/lang/nbfc/files/patch-Makefile b/lang/nbfc/files/patch-Makefile
index f8497e22e24d..3f00aac4b6cb 100644
--- a/lang/nbfc/files/patch-Makefile
+++ b/lang/nbfc/files/patch-Makefile
@@ -25,7 +25,7 @@
 -	install -c nbfc /usr/bin/nbfc 
 -	install -c nbfc.1 /usr/man/man1/nbfc.1
 +	install -s -c nbfc ${STAGEDIR}${PREFIX}/bin/nbfc 
-+	install -c nbfc.1 ${STAGEDIR}${PREFIX}/man/man1/nbfc.1
++	install -c nbfc.1 ${STAGEDIR}${PREFIX}/share/man/man1/nbfc.1
  
  clean:
  	rm -f *.o