git: 74b291a52eb4 - main - devel/opendht: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Wed, 06 Mar 2024 13:03:44 UTC
The branch main has been updated by eduardo:

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

commit 74b291a52eb4451e46fb9cc03db70c1bb6053ba9
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-06 11:47:05 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-06 13:03:22 +0000

    devel/opendht: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/opendht/Makefile                       | 1 +
 devel/opendht/files/patch-doc_CMakeLists.txt | 9 ---------
 devel/opendht/pkg-plist                      | 2 +-
 3 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/devel/opendht/Makefile b/devel/opendht/Makefile
index 3c9208d13712..afac5c757496 100644
--- a/devel/opendht/Makefile
+++ b/devel/opendht/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	opendht
 DISTVERSIONPREFIX=	v
 DISTVERSION=	3.1.7
+PORTREVISION=	1
 CATEGORIES=	devel net
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/devel/opendht/files/patch-doc_CMakeLists.txt b/devel/opendht/files/patch-doc_CMakeLists.txt
deleted file mode 100644
index 09df42088d0e..000000000000
--- a/devel/opendht/files/patch-doc_CMakeLists.txt
+++ /dev/null
@@ -1,9 +0,0 @@
---- doc/CMakeLists.txt.orig	2018-03-15 06:08:59 UTC
-+++ doc/CMakeLists.txt
-@@ -1,5 +1,5 @@
- if (OPENDHT_TOOLS)
--	INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dhtnode.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1)
-+	INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dhtnode.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1)
- endif ()
- 
- if (OPENDHT_DOCUMENTATION)
diff --git a/devel/opendht/pkg-plist b/devel/opendht/pkg-plist
index 05b0490f68e1..1d8bfd655f9a 100644
--- a/devel/opendht/pkg-plist
+++ b/devel/opendht/pkg-plist
@@ -41,4 +41,4 @@ lib/libopendht.so
 lib/libopendht.so.3
 lib/libopendht.so.3.1.7
 libdata/pkgconfig/opendht.pc
-man/man1/dhtnode.1.gz
+share/man/man1/dhtnode.1.gz