git: 5aed87b8861c - main - net/opensips31: Moved man to share/man

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

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

commit 5aed87b8861c1b885b4d07f3f986c6dc5709c627
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 09:51:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 10:05:22 +0000

    net/opensips31: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 net/opensips31/Makefile                  |  2 +-
 net/opensips31/files/patch-Makefile.defs | 11 ++++++++++-
 net/opensips31/pkg-plist                 |  4 ++--
 3 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/net/opensips31/Makefile b/net/opensips31/Makefile
index 527cd81bc1f8..3e3a35b37010 100644
--- a/net/opensips31/Makefile
+++ b/net/opensips31/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	opensips31
 DISTVERSION=	3.1.11
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net
 MASTER_SITES=	https://opensips.org/pub/opensips/${DISTVERSION}/
 DISTNAME=	opensips-${DISTVERSION}
diff --git a/net/opensips31/files/patch-Makefile.defs b/net/opensips31/files/patch-Makefile.defs
index 01b34d019179..e2b3896bfa99 100644
--- a/net/opensips31/files/patch-Makefile.defs
+++ b/net/opensips31/files/patch-Makefile.defs
@@ -1,4 +1,4 @@
---- Makefile.defs.orig	2022-06-22 11:35:15 UTC
+--- Makefile.defs.orig	2022-08-17 10:29:14 UTC
 +++ Makefile.defs
 @@ -57,15 +57,16 @@ export makefile_defs
  makefile_defs=1
@@ -20,3 +20,12 @@
  ifneq (,$(VERSION_BUILD))
  RELEASE=$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_SUBMINOR)-$(VERSION_BUILD)
  else
+@@ -361,7 +362,7 @@ ifeq ($(OS), freebsd)
+ else
+ ifeq ($(OS), freebsd)
+ 	doc_dir = share/doc/$(MAIN_NAME)/
+-	man_dir = man/
++	man_dir = share/man/
+ 	data_dir = share/$(MAIN_NAME)/
+ 	LOCALBASE ?= $(SYSBASE)/local
+ 	md5sum_cmd = md5
diff --git a/net/opensips31/pkg-plist b/net/opensips31/pkg-plist
index c65a28633b53..ba1b2d3ac614 100644
--- a/net/opensips31/pkg-plist
+++ b/net/opensips31/pkg-plist
@@ -180,8 +180,8 @@ lib/opensips31/perl/OpenSIPS/VDB/ReqCond.pm
 lib/opensips31/perl/OpenSIPS/VDB/Result.pm
 lib/opensips31/perl/OpenSIPS/VDB/VTab.pm
 lib/opensips31/perl/OpenSIPS/VDB/Value.pm
-man/man5/opensips31.cfg.5.gz
-man/man8/opensips31.8.gz
+share/man/man5/opensips31.cfg.5.gz
+share/man/man8/opensips31.8.gz
 sbin/opensips31
 sbin/osipsconfig31
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS