git: 01206fc9f50a - main - net/kamailio: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 08:19:32 UTC
The branch main has been updated by bofh:

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

commit 01206fc9f50ad94e14e6cf2fb1e698e7961cfb90
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 08:17:46 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 08:19:03 +0000

    net/kamailio: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 net/kamailio/Makefile                      |  1 +
 net/kamailio/files/patch-src_Makefile.defs | 20 ++++++++++++++++++++
 net/kamailio/pkg-plist                     | 10 +++++-----
 3 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/net/kamailio/Makefile b/net/kamailio/Makefile
index 09e8b425a861..a87da25a2b41 100644
--- a/net/kamailio/Makefile
+++ b/net/kamailio/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	kamailio
 PORTVERSION=	5.7.3
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://www.kamailio.org/pub/kamailio/${PORTVERSION}/src/
 DISTNAME=	${PORTNAME}-${PORTVERSION}_src
diff --git a/net/kamailio/files/patch-src_Makefile.defs b/net/kamailio/files/patch-src_Makefile.defs
new file mode 100644
index 000000000000..b077fcac8e07
--- /dev/null
+++ b/net/kamailio/files/patch-src_Makefile.defs
@@ -0,0 +1,20 @@
+--- src/Makefile.defs.orig	2024-02-25 08:14:20 UTC
++++ src/Makefile.defs
+@@ -107,7 +107,7 @@ SUBLEVEL = 3
+ VERSION = 5
+ PATCHLEVEL = 7
+ SUBLEVEL = 3
+-EXTRAVERSION = 
++EXTRAVERSION =
+ 
+ # memory manager switcher
+ # 0 - f_malloc (fast malloc)
+@@ -496,7 +496,7 @@ ifeq ($(OS), freebsd)
+ 
+ ifeq ($(OS), freebsd)
+ 	doc_dir = share/doc/$(MAIN_NAME)/
+-	man_dir = man/
++	man_dir = share/man/
+ 	data_dir = share/$(MAIN_NAME)/
+ 	LOCALBASE ?= /usr/local
+ endif
diff --git a/net/kamailio/pkg-plist b/net/kamailio/pkg-plist
index 4bff82bc5bcd..165543c5c326 100644
--- a/net/kamailio/pkg-plist
+++ b/net/kamailio/pkg-plist
@@ -599,11 +599,11 @@ lib/kamailio/modules/xhttp_prom.so
 lib/kamailio/modules/xhttp_rpc.so
 lib/kamailio/modules/xlog.so
 lib/kamailio/modules/xprint.so
-man/man5/kamailio.cfg.5.gz
-man/man8/kamailio.8.gz
-man/man8/kamcmd.8.gz
-man/man8/kamctl.8.gz
-man/man8/kamdbctl.8.gz
+share/man/man5/kamailio.cfg.5.gz
+share/man/man8/kamailio.8.gz
+share/man/man8/kamcmd.8.gz
+share/man/man8/kamctl.8.gz
+share/man/man8/kamdbctl.8.gz
 sbin/kamailio
 sbin/kamcmd
 sbin/kamctl