git: bb4ae0f93015 - main - comms/hcidump: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Sat, 16 Mar 2024 15:08:14 UTC
The branch main has been updated by naddy:

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

commit bb4ae0f930153c48b5e83dbf906dfb4f975054a0
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-16 14:35:47 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-16 14:35:47 +0000

    comms/hcidump: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 comms/hcidump/Makefile                     | 3 ++-
 comms/hcidump/files/patch-hcidump-Makefile | 8 ++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/comms/hcidump/Makefile b/comms/hcidump/Makefile
index ce5c70647312..21aa927553b5 100644
--- a/comms/hcidump/Makefile
+++ b/comms/hcidump/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	hcidump
 PORTVERSION=	1.5.1
+PORTREVISION=	1
 CATEGORIES=	comms sysutils
 MASTER_SITES=	http://bsd-geek.de/FreeBSD/distfiles/
 
@@ -16,6 +17,6 @@ INSTALL_WRKSRC=	${WRKSRC}/${PORTNAME}
 
 CFLAGS+=	-DL2CAP_SOCKET_CHECKED=yes -fPIE
 
-PLIST_FILES=	bin/hcidump man/man1/hcidump.1.gz
+PLIST_FILES=	bin/hcidump share/man/man1/hcidump.1.gz
 
 .include <bsd.port.mk>
diff --git a/comms/hcidump/files/patch-hcidump-Makefile b/comms/hcidump/files/patch-hcidump-Makefile
index cc47e508a4b5..64a9e48225a3 100644
--- a/comms/hcidump/files/patch-hcidump-Makefile
+++ b/comms/hcidump/files/patch-hcidump-Makefile
@@ -1,13 +1,13 @@
---- hcidump/Makefile.orig	Fri Mar 12 23:16:58 2004
-+++ hcidump/Makefile	Fri Dec 10 21:06:23 2004
-@@ -2,13 +2,12 @@
+--- hcidump/Makefile.orig	2004-03-12 22:16:58 UTC
++++ hcidump/Makefile
+@@ -2,13 +2,12 @@ PROG=		hcidump
  # $FreeBSD$
  
  PROG=		hcidump
 -BINDIR=		/usr/local/bin
 -MANDIR=		/usr/local/man/man
 +BINDIR=		${PREFIX}/bin
-+MANDIR=		${PREFIX}/man/man
++MANDIR=		${PREFIX}/share/man/man
  MAN1=		hcidump.1
  SRCS=		hcidump.c
  WARNS?=		2