git: b876753fbff8 - main - math/qhull: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 27 Jan 2024 16:27:39 UTC
The branch main has been updated by bofh:

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

commit b876753fbff8beecad770c4f8f835e7e6abcd3c3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-27 16:18:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-27 16:27:07 +0000

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

diff --git a/math/qhull/Makefile b/math/qhull/Makefile
index 0e2e2c23718d..b0d7af7d7cce 100644
--- a/math/qhull/Makefile
+++ b/math/qhull/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	qhull
 DISTVERSION=	8.0.2
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	math
 MASTER_SITES=	http://www.qhull.org/download/
diff --git a/math/qhull/files/patch-CMakeLists.txt b/math/qhull/files/patch-CMakeLists.txt
index e1e5abb35816..b245216a38a0 100644
--- a/math/qhull/files/patch-CMakeLists.txt
+++ b/math/qhull/files/patch-CMakeLists.txt
@@ -1,16 +1,7 @@
 Install docs into share/doc/ rather than include/
 
---- CMakeLists.txt.orig	2021-09-27 03:45:38 UTC
+--- CMakeLists.txt.orig	2020-09-04 01:23:31 UTC
 +++ CMakeLists.txt
-@@ -128,7 +128,7 @@ else()
- endif()
- if(MAN_INSTALL_DIR)
- else()
--    set(MAN_INSTALL_DIR share/man/man1)
-+    set(MAN_INSTALL_DIR man/man1)
- endif()
- if(DOC_INSTALL_DIR)
- else()
 @@ -737,7 +737,7 @@ foreach(pkgconfig IN ITEMS "${qhull_SHAREDR};Qhull ree
      if(LIBRARY_NAME STREQUAL "libqhull")
          set(LIBRARY_NAME "qhull")
diff --git a/math/qhull/pkg-plist b/math/qhull/pkg-plist
index 61cdd17977a6..7422521f0d2b 100644
--- a/math/qhull/pkg-plist
+++ b/math/qhull/pkg-plist
@@ -67,5 +67,5 @@ libdata/pkgconfig/qhull_r.pc
 libdata/pkgconfig/qhullcpp.pc
 libdata/pkgconfig/qhullstatic.pc
 libdata/pkgconfig/qhullstatic_r.pc
-man/man1/qhull.1.gz
-man/man1/rbox.1.gz
+share/man/man1/qhull.1.gz
+share/man/man1/rbox.1.gz