git: 06dead21d0c7 - main - devel/genromfs: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 11:25:46 UTC
The branch main has been updated by bofh:

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

commit 06dead21d0c7581e14df51cb7d6edd841b63d50a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 11:24:51 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 11:25:15 +0000

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

diff --git a/devel/genromfs/Makefile b/devel/genromfs/Makefile
index b785157d587b..3a5848bbdf9f 100644
--- a/devel/genromfs/Makefile
+++ b/devel/genromfs/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	genromfs
 PORTVERSION=	0.5.7
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	tomek@cedro.info
@@ -14,6 +15,6 @@ GH_ACCOUNT=	chexum
 MAKE_ARGS=	PREFIX=${STAGEDIR}${PREFIX}
 
 PLIST_FILES=	bin/genromfs \
-		man/man8/genromfs.8.gz
+		share/man/man8/genromfs.8.gz
 
 .include <bsd.port.mk>
diff --git a/devel/genromfs/files/patch-Makefile b/devel/genromfs/files/patch-Makefile
index 1ed8227f5cb7..1b9e509d6c3e 100644
--- a/devel/genromfs/files/patch-Makefile
+++ b/devel/genromfs/files/patch-Makefile
@@ -18,7 +18,7 @@
 -mandir = $(prefix)/man
 +PREFIX ?= /usr
 +bindir = /bin
-+mandir = /man
++mandir = /share/man
  
  genromfs: genromfs.o
  	$(CC) $(LDFLAGS) genromfs.o -o genromfs