git: af34333f88b4 - main - textproc/ctpp2: Moved man to share/man

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

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

commit af34333f88b4102fa9ee06ca08bb8695f42854a7
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 16:01:55 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 17:18:52 +0000

    textproc/ctpp2: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 textproc/ctpp2/Makefile                   |  2 +-
 textproc/ctpp2/files/patch-CMakeLists.txt | 18 ++++++++++++------
 textproc/ctpp2/pkg-plist                  | 10 +++++-----
 3 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/textproc/ctpp2/Makefile b/textproc/ctpp2/Makefile
index 19a53e0f4040..7ac2417152fd 100644
--- a/textproc/ctpp2/Makefile
+++ b/textproc/ctpp2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ctpp2
 PORTVERSION=	2.8.3
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	textproc devel
 MASTER_SITES=	http://ctpp.havoc.ru/download/
 
diff --git a/textproc/ctpp2/files/patch-CMakeLists.txt b/textproc/ctpp2/files/patch-CMakeLists.txt
index 378a5bbf614b..0aa603eb59ce 100644
--- a/textproc/ctpp2/files/patch-CMakeLists.txt
+++ b/textproc/ctpp2/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig	2012-11-10 20:45:57.000000000 +0000
-+++ CMakeLists.txt	2013-10-17 11:18:51.783970185 +0000
-@@ -21,6 +21,7 @@
+--- CMakeLists.txt.orig	2012-11-10 20:45:57 UTC
++++ CMakeLists.txt
+@@ -21,6 +21,7 @@ OPTION(ICONV_TRANSLITERATE "Enable transliteration in 
  
  OPTION(ICONV_DISCARD_ILSEQ "Discard illegal sequence and continue (iconv) [default: ON]"    ON)
  OPTION(ICONV_TRANSLITERATE "Enable transliteration in the conversion (iconv) [default: ON]" ON)
@@ -8,7 +8,7 @@
  
  # Build optimized code for following CPU (default i386)
  #SET(CPU_TUNE               "i686")
-@@ -660,6 +661,8 @@
+@@ -660,6 +661,8 @@ ENDIF (DIFF_EXECUTABLE)
      SET_TESTS_PROPERTIES(Calls_D PROPERTIES DEPENDS Calls_R)
  ENDIF (DIFF_EXECUTABLE)
  
@@ -17,7 +17,7 @@
  FIND_PROGRAM(RST2HTML_EXECUTABLE "rst2html" /usr/local/bin /usr/bin)
  IF (RST2HTML_EXECUTABLE)
      ADD_CUSTOM_COMMAND(
-@@ -669,6 +672,7 @@
+@@ -669,6 +672,7 @@ ENDIF (RST2HTML_EXECUTABLE)
          )
      ADD_CUSTOM_TARGET(doc ALL DEPENDS template_language.html)
  ENDIF (RST2HTML_EXECUTABLE)
@@ -25,7 +25,13 @@
  
  # Install Headers
  INSTALL(FILES include/CDT.hpp
-@@ -814,13 +818,15 @@
+@@ -809,18 +813,20 @@ INSTALL(FILES
+               man/ctpp2i.1
+               man/ctpp2json.1
+               man/ctpp2vm.1
+-        DESTINATION man/man1
++        DESTINATION share/man/man1
+         PERMISSIONS OWNER_READ OWNER_WRITE
                      GROUP_READ
                      WORLD_READ)
  
diff --git a/textproc/ctpp2/pkg-plist b/textproc/ctpp2/pkg-plist
index 098791af4405..8b0f369a2323 100644
--- a/textproc/ctpp2/pkg-plist
+++ b/textproc/ctpp2/pkg-plist
@@ -69,8 +69,8 @@ lib/libctpp2-st.a
 lib/libctpp2.so
 lib/libctpp2.so.2
 lib/libctpp2.so.%%PORTVERSION%%
-man/man1/ctpp2c.1.gz
-man/man1/ctpp2vm.1.gz
-man/man1/ctpp2i.1.gz
-man/man1/ctpp2json.1.gz
-man/man1/ctpp2-config.1.gz
+share/man/man1/ctpp2c.1.gz
+share/man/man1/ctpp2vm.1.gz
+share/man/man1/ctpp2i.1.gz
+share/man/man1/ctpp2json.1.gz
+share/man/man1/ctpp2-config.1.gz