git: 4848cbc978d5 - main - sysutils/bmd-plugin-avahi: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Tue, 19 Mar 2024 20:12:58 UTC
The branch main has been updated by naddy:

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

commit 4848cbc978d52a9026da95eb6612087c91747bd3
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-19 15:34:55 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-19 20:12:42 +0000

    sysutils/bmd-plugin-avahi: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/bmd-plugin-avahi/Makefile             |  1 +
 sysutils/bmd-plugin-avahi/files/patch-Makefile | 11 +++++++++--
 sysutils/bmd-plugin-avahi/pkg-plist            |  2 +-
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/sysutils/bmd-plugin-avahi/Makefile b/sysutils/bmd-plugin-avahi/Makefile
index c2af97b04649..e1acae0a2992 100644
--- a/sysutils/bmd-plugin-avahi/Makefile
+++ b/sysutils/bmd-plugin-avahi/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	bmd-plugin-avahi
 DISTVERSION=	2.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	naito.yuichiro@gmail.com
diff --git a/sysutils/bmd-plugin-avahi/files/patch-Makefile b/sysutils/bmd-plugin-avahi/files/patch-Makefile
index eae16e94d2e3..18ecb801b0ea 100644
--- a/sysutils/bmd-plugin-avahi/files/patch-Makefile
+++ b/sysutils/bmd-plugin-avahi/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig	2023-08-15 08:44:56 UTC
+--- Makefile.orig	2023-09-01 00:37:15 UTC
 +++ Makefile
-@@ -1,5 +1,9 @@ MK_DEBUG_FILES=	no
+@@ -1,11 +1,15 @@ MK_DEBUG_FILES=	no
  LOCALBASE?=	/usr/local
  MK_DEBUG_FILES=	no
 +BINOWN!=	id -u
@@ -10,3 +10,10 @@
  SHLIB=		bmdplugin_avahi
  SHLIB_MAJOR=	1
  CFLAGS+=	-I${LOCALBASE}/include -DLOCALBASE=\"${LOCALBASE}\"
+ LIBDIR=		$(LOCALBASE)/libexec/bmd
+ SRCS= 		avahi.c
+ MAN=		bmd-plugin-avahi.8
+-MANDIR=		$(LOCALBASE)/man/man
++MANDIR=		$(LOCALBASE)/share/man/man
+ 
+ .include <bsd.lib.mk>
diff --git a/sysutils/bmd-plugin-avahi/pkg-plist b/sysutils/bmd-plugin-avahi/pkg-plist
index 598fddb2b2da..992636278b3a 100644
--- a/sysutils/bmd-plugin-avahi/pkg-plist
+++ b/sysutils/bmd-plugin-avahi/pkg-plist
@@ -1,3 +1,3 @@
 libexec/bmd/libbmdplugin_avahi.so
 libexec/bmd/libbmdplugin_avahi.so.1
-man/man8/bmd-plugin-avahi.8.gz
+share/man/man8/bmd-plugin-avahi.8.gz