git: 0ee50efad36a - main - graphics/openjpeg15: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 11:08:40 UTC
The branch main has been updated by bofh:

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

commit 0ee50efad36a4e1cc1f59f7f65c5d9bcea088fd7
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-21 10:07:50 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-21 11:08:21 +0000

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

diff --git a/graphics/openjpeg15/Makefile b/graphics/openjpeg15/Makefile
index d39b14389e15..87757d480914 100644
--- a/graphics/openjpeg15/Makefile
+++ b/graphics/openjpeg15/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	openjpeg
 PORTVERSION=	1.5.2
 DISTVERSIONPREFIX=	version.
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics
 PKGNAMESUFFIX=	15
 
diff --git a/graphics/openjpeg15/files/patch-CMakeLists.txt b/graphics/openjpeg15/files/patch-CMakeLists.txt
index 4c7246a15f2b..a0e0dba42fe2 100644
--- a/graphics/openjpeg15/files/patch-CMakeLists.txt
+++ b/graphics/openjpeg15/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
 --- CMakeLists.txt.orig	2014-03-28 08:20:25 UTC
 +++ CMakeLists.txt
-@@ -54,7 +54,7 @@ if(NOT OPENJPEG_SOVERSION)
+@@ -54,7 +54,7 @@ SET(OPENJPEG_LIBRARY_PROPERTIES
  endif(NOT OPENJPEG_SOVERSION)
  SET(OPENJPEG_LIBRARY_PROPERTIES
    VERSION   "${OPENJPEG_VERSION_MAJOR}.${OPENJPEG_VERSION_MINOR}.${OPENJPEG_VERSION_BUILD}"
@@ -9,12 +9,7 @@
  )
  
  # --------------------------------------------------------------------------
-@@ -129,11 +129,11 @@ IF(NOT OPENJPEG_INSTALL_INCLUDE_DIR)
- ENDIF(NOT OPENJPEG_INSTALL_INCLUDE_DIR)
- 
- IF(NOT OPENJPEG_INSTALL_MAN_DIR)
--  SET(OPENJPEG_INSTALL_MAN_DIR "share/man/")
-+  SET(OPENJPEG_INSTALL_MAN_DIR "man/")
+@@ -133,7 +133,7 @@ IF(NOT OPENJPEG_INSTALL_DOC_DIR)
  ENDIF(NOT OPENJPEG_INSTALL_MAN_DIR)
  
  IF(NOT OPENJPEG_INSTALL_DOC_DIR)
@@ -36,7 +31,7 @@
  ENDIF(UNIX)
  
  #-----------------------------------------------------------------------------
-@@ -288,6 +288,7 @@ ENDIF(BUILD_TESTING)
+@@ -288,6 +288,7 @@ INSTALL(EXPORT OpenJPEGTargets DESTINATION ${OPENJPEG_
  #-----------------------------------------------------------------------------
  # install all targets referenced as OPENJPEGTargets
  INSTALL(EXPORT OpenJPEGTargets DESTINATION ${OPENJPEG_INSTALL_PACKAGE_DIR})
diff --git a/graphics/openjpeg15/pkg-plist b/graphics/openjpeg15/pkg-plist
index aa513fabf73a..9316ca85de27 100644
--- a/graphics/openjpeg15/pkg-plist
+++ b/graphics/openjpeg15/pkg-plist
@@ -8,9 +8,9 @@ lib/openjpeg-%%VER%%/OpenJPEGTargets.cmake
 lib/libopenjpeg.so
 lib/libopenjpeg.so.1.5.2
 lib/libopenjpeg.so.2
-man/man1/image_to_j2k.1.gz
-man/man1/j2k_dump.1.gz
-man/man1/j2k_to_image.1.gz
-man/man3/libopenjpeg.3.gz
+share/man/man1/image_to_j2k.1.gz
+share/man/man1/j2k_dump.1.gz
+share/man/man1/j2k_to_image.1.gz
+share/man/man3/libopenjpeg.3.gz
 libdata/pkgconfig/libopenjpeg.pc
 libdata/pkgconfig/libopenjpeg1.pc