git: 4bcfc3e3f30b - main - graphics/klatexformula: Move man pages to share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Fri, 29 Mar 2024 08:21:31 UTC
The branch main has been updated by yasu:

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

commit 4bcfc3e3f30b37f87a328549ecfafbc6eaeb254b
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-29 08:08:03 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-29 08:08:03 +0000

    graphics/klatexformula: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 graphics/klatexformula/Makefile  | 5 ++---
 graphics/klatexformula/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/graphics/klatexformula/Makefile b/graphics/klatexformula/Makefile
index 105f10037b3d..cfb4a0e8185e 100644
--- a/graphics/klatexformula/Makefile
+++ b/graphics/klatexformula/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	klatexformula
 PORTVERSION=	4.0.0
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	graphics
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -21,8 +21,7 @@ USE_QT=		core dbus gui sql svg widgets x11extras xml \
 USE_TEX=	latex dvipsk
 USE_LDCONFIG=	yes
 
-CMAKE_ARGS=	-DKLF_INSTALL_POST_UPDATEMIMEDATABASE=off \
-		-DKLF_INSTALL_SHARE_MAN1_DIR=man/man1
+CMAKE_ARGS=	-DKLF_INSTALL_POST_UPDATEMIMEDATABASE=off
 
 post-patch:
 	${REINPLACE_CMD} '/CMAKE_SYSTEM_NAME STREQUAL/s,Linux,FreeBSD,' \
diff --git a/graphics/klatexformula/pkg-plist b/graphics/klatexformula/pkg-plist
index d75bbe485821..673eb01fa752 100644
--- a/graphics/klatexformula/pkg-plist
+++ b/graphics/klatexformula/pkg-plist
@@ -37,8 +37,6 @@ lib/libklfbackend.so.4
 lib/libklfbackend_auto.a
 lib/libklftools.so
 lib/libklftools.so.4
-man/man1/klatexformula.1.gz
-man/man1/klatexformula_cmdl.1.gz
 share/applications/klatexformula.desktop
 %%DATADIR%%/userscripts/customtemplate.klfuserscript/customtemplate.py
 %%DATADIR%%/userscripts/customtemplate.klfuserscript/customtemplate_input.ui
@@ -62,6 +60,8 @@ share/applications/klatexformula.desktop
 %%DATADIR%%/userscripts/svg-dvisvgm.klfuserscript/export-profiles.xml
 %%DATADIR%%/userscripts/svg-dvisvgm.klfuserscript/scriptinfo.xml
 %%DATADIR%%/userscripts/svg-dvisvgm.klfuserscript/svg-dvisvgm.py
+share/man/man1/klatexformula.1.gz
+share/man/man1/klatexformula_cmdl.1.gz
 share/mime/packages/klatexformula-mime.xml
 share/pixmaps/klatexformula-128.png
 share/pixmaps/klatexformula-16.png